s3-printing: Use become_user_by_session() function.
authorAndreas Schneider <asn@samba.org>
Fri, 1 Apr 2011 09:55:27 +0000 (11:55 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 11 Apr 2011 22:03:43 +0000 (15:03 -0700)
commit9ac8a582e51ff6949bebeec49f9f6c2627d48fc7
treec5b5699b7792b2fe5d9085964de7ae7c92b71c89
parent71885207ea6453f75d383a0265c73195df048dbf
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)
source3/printing/nt_printing.c