[Samba] Re: print command=... not longer working after update

2004-09-24 Thread Georg Lutz
I'd love to document this. What section of the Samba-HOWTO-Collection should 
it go into? Are you offering some patches or proposed text? I gladly receive 
updates offered.

I think it should at least be documented in the smb.conf - manpage:
---
It also affects the  default  values for  the  print command, lpq 
command, lppause command , lpresume command, and lprm command if 
specified in the [global]  section.
---

could be changed to:
---
It also sets the default values for the following parameters: print 
command, lpq command, lppause command , lpresume command, and lprm 
command. For any changes to these parameters to take effect, they have 
do be specified after printing = 
---

Whats the intention of if specified in the [global] section. ? AFAIK 
parameters are also changed when specified in a share section.

--
 Georg
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: print command=... not longer working after update

2004-09-23 Thread Georg Lutz
Argghh, found the solution:
printing = bsd has to be specified _before_ print command, otherwise 
the print command is resetted to the default value!

_This_ should be documented!
--
 Georg
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] print command=... not longer working after update

2004-09-20 Thread Georg Lutz
Hi,

after an update from 3.0.4 to 3.0.7 Samba does not longer honor the
print command parameter. I use the parameter to implement a
pdf-printer.

Before the update, printing to the pdfprinter worked, after I see the
following in the logs:

---
[2004/09/20 23:00:15, 8] printing/nt_printing.c:unpack_devicemode(2368)
  with a private section of 708 bytes
lpr: unable to print file: server-error-service-unavailable
[2004/09/20 23:00:15, 3] printing/print_generic.c:print_run_command(84)
   Running the command `lpr -r -P'pdfprinter' smbprn.0011.ljYgDh' gave 1
---


The pdfprinter-section has not changed(apart from printing=...):
---
[pdfprinter]
comment = Ausdrucken in PDF-Dateien
path = /var/spool/samba
printable = yes
print command = /usr/local/bin/pdfprinter.sh %s %u
printing = bsd
printer admin = root
guest ok = yes
---

Instead of executing the print command samba uses the default internal
value for printing = bsd. Why?


Please CC for answers, I'm not subscribed.


-- 
Georg
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] password chat program timeout

2003-11-23 Thread Georg Lutz
Hi,

after some investigation, I found out why my users always get an error
back when they try to change their passwords on win2k.

unix password sync option is enabled and passwords are synchronised via
passwd chat. All acounts are stored in ldap.

With the value of 2000 ms in smbd/chgpasswd.c(function expect) I always
got timeout messages in the logs. The reason for the timeout seems to be
the relative long ldap-lookup. However with a value of 5000 ms it works,
users can change their (unix-)passwords over samba.

Is there a chance to have a default value of 5000 ms or even longer in
the next release?

I also wonder if somebody else observed this kind of timeout issue.

-- 
Georg
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba