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 20:56:12 +0000 (22:56 +0200)
commite3c3b4daa425fede17203b474fa35493afbda2a9
treee6e7a6b2889220f906778ce6c80c36df9e9c9242
parentb137156acbf7c39c86f306100cccc65b441a3209
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
source3/printing/nt_printing.c