s3-printing: Use become_user_by_session() function.
commit4e65ab091447bcdbf6253ee40629df53311cd8db
authorAndreas Schneider <asn@samba.org>
Fri, 1 Apr 2011 09:55:27 +0000 (1 11:55 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 12 Apr 2011 13:12:27 +0000 (12 15:12 +0200)
treef4dcd651b5ab36efd03893c8d14b6bf48c3be40d
parentd328db5e82f0aa5468c3780515fed9d99e8202f5
s3-printing: Use become_user_by_session() function.

We create a fake connection here and don't have an vuid. So work with
the session_info directly here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Apr 11 22:56:12 CEST 2011 on sn-devel-104
(cherry picked from commit e3c3b4daa425fede17203b474fa35493afbda2a9)
(cherry picked from commit 9ac8a582e51ff6949bebeec49f9f6c2627d48fc7)
source3/printing/nt_printing.c