mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
a4c3ee6767
With the upgrade to SMB3.1.1 from cifs for smbclient, setmode no longer works when removing attributes, if the resultant attribute is 0 it is skipped (unlike for the old cifs setpathinfo). When clearing the final attribute, pass in ATTRIBUTE_NORMAL instead of zero. This also removes a redundant cli_setatr call when clearing attributes (cli_setatr was being called twice). BUG: https://bugzilla.samba.org/show_bug.cgi?id=12899 Signed-off-by: Steve French <sfrench@samba.org> Reviewed-by: Anne Marie Merritt <annemarie.merritt@primarydata.com> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 14 02:43:47 CEST 2017 on sn-devel-144 |
||
---|---|---|
.. | ||
client_proto.h | ||
client.c | ||
clitar_proto.h | ||
clitar.c | ||
dnsbrowse.c | ||
README.smbspool | ||
smbspool_krb5_wrapper.c | ||
smbspool.c | ||
tree.c |
smbspool ========= smbspool is a very small print spooling program that sends a print file to an SMB printer. The command-line arguments are position-dependent for compatibility with the CUPS. For printing support with Kerberos, CUPS 1.5+ needs a wrapper for the backend which sets the correct location of the Kerberos credential cache. smbspool_krb5_wrapper ====================== This tool can be used to print using Kerberos credentials. To get this working smbspool_krb5_wrapper needs to be the smb backend of CUPS. It needs to be owned by root and the permissions for the binary need to be 0700. Once smbspool_krb5_wrapper switched to the user trying to print it executes smbspool.