1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3-spoolss: delete_drivers should be called as the connecting user.

Signed-off-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Andreas Schneider 2012-06-19 09:48:38 +02:00
parent 7e80b89d48
commit faf24ed6ce

View File

@ -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: