diff options
author | Luca Olivetti <luca@wetron.es> | 2010-05-04 15:07:57 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-05-04 15:07:57 -0700 |
commit | a9e008ee36c8fd9ca79b3bdfdc78111939c3e539 (patch) | |
tree | 670add685b23f622d6a88817168598662c7ec43c /examples/nss | |
parent | 17ce20ba960747b863e9c476ee7e46e051697fb2 (diff) | |
download | samba-a9e008ee36c8fd9ca79b3bdfdc78111939c3e539.tar.gz samba-a9e008ee36c8fd9ca79b3bdfdc78111939c3e539.tar.bz2 samba-a9e008ee36c8fd9ca79b3bdfdc78111939c3e539.zip |
Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on SLES10.
Fix cups encryption setting
I had the same problem and it's due to the fact that samba doesn't respect the
"cups encryption" setting since lp_cups_encrypt changes the value: if you set
"cups encryption=no", the first call will change it to HTTP_ENCRYPT_NEVER,
since that is 1 (i.e. true), the next call will change it to
HTTP_ENCRYPT_ALWAYS and after that it'll remain set as HTTP_ENCRYPT_ALWAYS.
This patch fixes this problem.
Don't mix up the HTTP_ENCRYPT_XXX constants up with the
enumeration constants (True, False, Auto) used in the
loadparm code.
Diffstat (limited to 'examples/nss')
0 files changed, 0 insertions, 0 deletions