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
> 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.We have seen this too. It would be ideal if this were a configuration directive.
On Sun, Nov 23, 2003 at 07:51:19PM +0100, Georg Lutz wrote:> 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've parameterised this (in seconds) for the next release. Thanks for the feature request. New parameter will be "passwd chat timeout" (default 2 seconds). Jeremy.