diff options
author | Andreas Schneider <asn@samba.org> | 2012-06-22 15:38:25 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-07-03 21:56:49 +0200 |
commit | 98ab0740946f8ffff72e96465270efaea01e9459 (patch) | |
tree | 2a03ae212c89f75bac2154c0ce7c734a2ab64de8 /source3/printing | |
parent | c87acebd7e8d0a28064699564088fb558c34c4f2 (diff) | |
download | samba-98ab0740946f8ffff72e96465270efaea01e9459.tar.gz samba-98ab0740946f8ffff72e96465270efaea01e9459.tar.bz2 samba-98ab0740946f8ffff72e96465270efaea01e9459.zip |
s3-printing: Remove deprecated lp_printer_admin().
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 9e7ca40834..b821d28326 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1783,17 +1783,6 @@ bool print_access_check(const struct auth_session_info *session_info, DEBUG(4, ("access check was %s\n", NT_STATUS_IS_OK(status) ? "SUCCESS" : "FAILURE")); - /* see if we need to try the printer admin list */ - - if (!NT_STATUS_IS_OK(status) && - (token_contains_name_in_list(uidtoname(session_info->unix_token->uid), - session_info->info->domain_name, - NULL, session_info->security_token, - lp_printer_admin(snum)))) { - talloc_destroy(mem_ctx); - return True; - } - talloc_destroy(mem_ctx); if (!NT_STATUS_IS_OK(status)) { |