diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-11-19 12:11:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:22 -0500 |
commit | d0bb5f9505b1bd90913d159f91c7aa9c5654bf73 (patch) | |
tree | d4d06fd8b398a54c303c14858e7a4feeedce358a /Manifest | |
parent | b917dd4bfa9082e3447ee8e38e52c402d602793e (diff) | |
download | samba-d0bb5f9505b1bd90913d159f91c7aa9c5654bf73.tar.gz samba-d0bb5f9505b1bd90913d159f91c7aa9c5654bf73.tar.bz2 samba-d0bb5f9505b1bd90913d159f91c7aa9c5654bf73.zip |
r3873: The semantics of the parameter 'printcap name' are a bit tricky. I had seen
the effect that I could not list printers with smbclient -L. I have cups
libraries but no running cups server, so remove_stale_printers() removed all
my printer definitions from the share list. So I said 'printing = bsd' but it
still would not work.
This happened because init_globals() would initialize Globals.szPrintcapname
to "cups", and the explicit 'printing = bsd' did not reset it. 'printing=bsd'
can't reset it, as this might overwrite an explicit setting. Thus I separated
the lp_printcapname into a function of its own, looking at
Globals.szPrintcapname and subsequently at sDefault.iPrinting.
Please revisit, there are just too many cases to cover.
Thanks,
Volker
(This used to be commit 3cdde7071b6bf83ad05046745ad2a5fa353995bf)
Diffstat (limited to 'Manifest')
0 files changed, 0 insertions, 0 deletions