summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-06-19 09:48:38 +0200
committerAndreas Schneider <asn@samba.org>2012-06-19 10:38:13 +0200
commitfaf24ed6ced23dbeb560beaa5b44eea7f2520d6f (patch)
treedfc0a4cd4b624116200c1866cce2e0c19e433243 /source3/rpc_server
parent7e80b89d48a3c9c048be4d75bae11f12a6d37f2c (diff)
downloadsamba-faf24ed6ced23dbeb560beaa5b44eea7f2520d6f.tar.gz
samba-faf24ed6ced23dbeb560beaa5b44eea7f2520d6f.tar.bz2
samba-faf24ed6ced23dbeb560beaa5b44eea7f2520d6f.zip
s3-spoolss: delete_drivers should be called as the connecting user.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 2b0387dd49..d8ad1acd1e 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -2202,7 +2202,7 @@ static WERROR spoolss_dpd_version(TALLOC_CTX *mem_ctx,
* because the driver doesn not exist any more
*/
if (delete_files) {
- delete_driver_files(get_session_info_system(), info);
+ delete_driver_files(p->session_info, info);
}
done: