diff options
author | Tim Potter <tpot@samba.org> | 2000-07-06 07:10:32 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-07-06 07:10:32 +0000 |
commit | e84607eedf3be454f8f709c70cafc5ded4ea951d (patch) | |
tree | e1d3055db8de5a275bd60821a770a4d9d79a8d9f /source/printing | |
parent | 8d42661d424d80e1048d08b5cad3281643231d62 (diff) | |
download | samba-e84607eedf3be454f8f709c70cafc5ded4ea951d.tar.gz samba-e84607eedf3be454f8f709c70cafc5ded4ea951d.tar.xz samba-e84607eedf3be454f8f709c70cafc5ded4ea951d.zip |
Don't check NT permissions when printing from lanman.
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/nt_printing.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c index 3a6ab9256bd..e666c1d6a72 100644 --- a/source/printing/nt_printing.c +++ b/source/printing/nt_printing.c @@ -1678,6 +1678,14 @@ BOOL print_access_check(struct current_user *user, int snum, BOOL result; char *pname; int i; + + /* If the user is NULL then we are being called by the lanman + printing system. Let the lower level printing permissions + handle this. */ + + if (user == NULL) { + return True; + } /* Get printer name */ |