naughton@domino.danielwoodhead.com
2000-Feb-01 14:51 UTC
Working Passwd Chat for Unix Password Sync on Redhat 6.1
I have been trying to get the password sync working for Redhat 6.1 (samba 2.05a rpm). I got the PDC working this morning, so I'm happy. The FAQ section on the samba site was very helpful. The password sync was the only sticking point. The default passwd chat script didn't work well passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passw d:*all*authentication*tokens*updated*successfully* I tried this one - but again no luck passwd chat = *(current)*UNIX*password:* %n\n *New*UNIX*password:* %n\n *Retype*new*UNIX*password:* %n\n *passwd:*all*authentication*tokens*updated*suc cessfully* I've seen some discussions about this not working on 2.2, is this the case? The O'Reilly book had version that was supposed to work, but it didn't. Unfortunately, I don't have that one handy. I did end up with shadow passwords after this. How that happened - I don't know. Do you need shadow passwords for passwd sync to work? If anyone has a working passwd chat setting for 6.1, please let me know. Thanks Dan Naughton
Dan, When you say you got the PDC working on Samba 2.0.5a, do you mean that you're authenticating NT clients and handling their logon scripts and profiles? Thanks Steve Litt At 01:54 AM 02/02/2000 +1100, naughton@domino.danielwoodhead.com wrote:> > >I have been trying to get the password sync working for Redhat 6.1 (samba2.05a>rpm). I got >the PDC working this morning, so I'm happy. The FAQ section on the sambasite>was very >helpful. The password sync was the only sticking point. > >The default passwd chat script didn't work well > > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n*passw>d:*all*authentication*tokens*updated*successfully* > >I tried this one - but again no luck > > passwd chat = *(current)*UNIX*password:* %n\n *New*UNIX*password:* %n\n > *Retype*new*UNIX*password:* %n\n*passwd:*all*authentication*tokens*updated*suc>cessfully* > >I've seen some discussions about this not working on 2.2, is this thecase? The>O'Reilly book had >version that was supposed to work, but it didn't. Unfortunately, I don'thave>that one handy. > >I did end up with shadow passwords after this. How that happened - I don't >know. >Do you need shadow passwords for passwd sync to work? > >If anyone has a working passwd chat setting for 6.1, please let me know. > >Thanks > > >Dan Naughton > > > > > >
Giulio Orsero
2000-Feb-01 15:30 UTC
Working Passwd Chat for Unix Password Sync on Redhat 6.1
On Wed, 2 Feb 2000 01:54:24 +1100, hai scritto:>I have been trying to get the password sync working for Redhat 6.1 (samba 2.05a >rpm). I got >the PDC working this morning, so I'm happy. The FAQ section on the samba siteUse passwd chat debug = yes log level = 100 and see the samba log. However, I think your problem is the samba version. samba < 2.0.6 had problems in the passwd syncing that have been solved in 2.0.6. -- giulioo@pobox.com
Ricardo Stella
2000-Feb-01 16:19 UTC
Working Passwd Chat for Unix Password Sync on Redhat 6.1
When using password sync, you usually have 'encryption' turned on. If so, smbpasswd does not know the plaintext old password. Therefore, it can only run as root, and with the assumption that it does not know the 'old password'. Also, turn on debug mode at the level of 100, and then turn on password chat. Hope this helps... naughton@domino.danielwoodhead.com wrote:> > I have been trying to get the password sync working for Redhat 6.1 (samba 2.05a > rpm). I got > the PDC working this morning, so I'm happy. The FAQ section on the samba site > was very > helpful. The password sync was the only sticking point. > > The default passwd chat script didn't work well > > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passw > d:*all*authentication*tokens*updated*successfully* > > I tried this one - but again no luck > > passwd chat = *(current)*UNIX*password:* %n\n *New*UNIX*password:* %n\n > *Retype*new*UNIX*password:* %n\n *passwd:*all*authentication*tokens*updated*suc > cessfully* > > I've seen some discussions about this not working on 2.2, is this the case? The > O'Reilly book had > version that was supposed to work, but it didn't. Unfortunately, I don't have > that one handy. > > I did end up with shadow passwords after this. How that happened - I don't > know. > Do you need shadow passwords for passwd sync to work? > > If anyone has a working passwd chat setting for 6.1, please let me know. > > Thanks > > Dan Naughton-------------- next part -------------- A non-text attachment was scrubbed... Name: stella.vcf Type: text/x-vcard Size: 325 bytes Desc: Card for Ricardo Stella Url : http://lists.samba.org/archive/samba/attachments/20000201/5e3357fa/stella.vcf
Vilson Balestero
2000-Feb-18 19:21 UTC
Working Passwd Chat for Unix Password Sync on Redhat 6.1
You can try it in your smb.conf -> unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *new*password* %n\n *new*password* %n\n *successfully* with this password chat I can chnage my password from rWins and the password have sync. BALES -- ******************************************************************************** vmonster@smar.com.br Vilson Balestero, Smar Equip. Industriais Ltda (BR) __ _ / / (_)__ __ ____ __ * Powerful * Flexible * Compatible * Reliable * / /__/ / _ \/ // /\ \/ / * Well Supported * Thousands of New Users Every Day * /____/_/_//_/\_,_/ /_/\_\ * The Cost Effective Choice - Linux Means Business! * ********************************************************************************