Verification of passwd chat script

Brett Worth brett at select.com.au
Tue Apr 28 22:44:00 GMT 1998


> Date: Mon, 27 Apr 1998 18:12:21
> From: <cnj2 at usa.net>
> To: samba at samba.anu.edu.au
> Subject: Verification of passwd chat script
> Message-ID: <19980427181221.20868.qmail at www02.netaddress.usa.net>
> 
> passwd chat = Changing*password*for**%u*\r %u*s*New*password* %n\n Re*enter*%u*s*new*password* %n\n

Seems like you might be missing a token here.  The first is an expect so the
second must be a send.  

There is no need to tell chat to match the whole string. e.g.

passwd chat = d: %n\r d: %n\r

would be a minimal string.

Brett

 ,------------ |    ------ ,-----------
 `----. ------ |    ------ |       |     COMPUTER TECHNOLOGY
 -----' ------ `---------- `------ |
 Brett Worth - Ph: +61 6 241 5633  Fx: 241 3733 - Canberra Australia   



More information about the samba mailing list