diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-12 11:17:35 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-12 11:17:35 +0000 |
commit | 749d90dfc79b3431f8fa44b7fe970dbdee783a31 (patch) | |
tree | da2e177783f86a28a434c475c15d61ad245fd1d6 /source3/rpcclient | |
parent | faf30e69ae0a54a770ef230c0ebae802c0a86be4 (diff) | |
download | samba-749d90dfc79b3431f8fa44b7fe970dbdee783a31.tar.gz samba-749d90dfc79b3431f8fa44b7fe970dbdee783a31.tar.bz2 samba-749d90dfc79b3431f8fa44b7fe970dbdee783a31.zip |
Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb
back working again.
Andrew Bartlett
(This used to be commit 512e65a6a6ac5ee97edf1868007db20bb144857f)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 0788673801..0ec94c9979 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -112,7 +112,7 @@ static NTSTATUS cmd_spoolss_open_printer_ex(struct cli_state *cli, /* Open the printer handle */ werror = cli_spoolss_open_printer_ex(cli, mem_ctx, printername, - "", MAXIMUM_ALLOWED_ACCESS, + "", PRINTER_ALL_ACCESS, servername, user, &hnd); if (W_ERROR_IS_OK(werror)) { |