password sync

Christian Barth barth at cck.uni-kl.de
Tue Jan 8 00:10:06 GMT 2002


> Hi, Thanks,
> 
> I had tried all combo's of the chat script, including copying and
> pasting the results of the actual program, and filling in the necessary
> variables. None of it worked. (The version below is the copied version,
> with slight modification.)
> 
> I added "password chat debug = yes" and log level = 100 and without
> changing anything else, it worked. (I still can't understand why,
> because I then changed then removed the chat debug, and reset the log
> level, and it still worked.

We had this situation too, even worse because it some times worked 
with out "password chat debug = yes" and some time not. I guessed 
that it is a time out problem and increased the timeout values in 
source/smbd/chgpasswd.c (line 213 and 224 for samba 2.0.7) form 2000 
to 12000 and 200 to 1200 and recompailed. We do not have any 
problemes since. Normaly our machine is fast engnough, so I don't 
understand, wy we had to increase the timeouts. AND: I do not no if 
this has any security impacts!!

Christian


> 
> If you have any ideas, I would like to know how that fixed it.
> 
> Regards
> Lloyd Anderson
> NetworksOnline - "Information is the Solution"
> A Division of CDR-Technologies
>  
> T: +27 11 886 7644
> F: +27 11 886 7643
> C: +27 82 896 5196
>  
> lloyda at networksonline.co.za
> www.networksonline.co.za
> 
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]
> On Behalf Of Jan Vidar Klevengen
> Sent: Tuesday, January 08, 2002 7:47 AM
> To: Samba; Lloyd Anderson
> Subject: RE: password sync
> 
> Have you checked that the passwd chat contains the correct syntax for
> YOUR
> linux release?
> Try using this if you have Redhat 7.x :
> 
> passwd program = /usr/bin/passwd %u
> passwd chat = *password* %n\n *password* %n\n *updated*
> 
> That should work.
> 
> Kind Regards
>   Jan Vidar Klevengen
>   janvkl at start.no
> 
> **Using PGP7x Freeware**
> 
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Lloyd Anderson
> Sent: 7. januar 2002 20:00
> To: samba at lists.samba.org
> Subject: password sync
> 
> 
> I am not able to sync passwords (smbpasswd and /etc/passwd). RH7 + SMB
> 2.2.x
> 
> passwd chat = *Changing*password*for*user*%u*\n*New*UNIX*password:* %n\n
> *Retype*new*UNIX*password:* %n\n *passwd:*all*authenticat
> ion*tokens*updated*successfully*\n
> 
> Any ideas?
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list