Charlie Brady <[EMAIL PROTECTED]> said:
> > So the correct way to implement this change would be to create /etc/e-
> > smith/templates-custom/etc/smb.conf/10globals with these lines edited
(;
> > removed to activate), expand the template and restart samba.
>
> It would be preferably to add a new
> file, say /etc/e-smith/templates-custom/etc/smb.conf/12PasswordChat.
Ok, then to put all the pieces discussed together, one may create:
/etc/e-smith/templates-custom/etc/smb.conf/12PasswordChat
with the following:
# Added to sync Windows/Samba/Unix passwords
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
The passwd chat = line being all one line. (It looks to simply insert
this into the middle of the default smb.conf line 95 entry)
*Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
then expand the template, restart samba.
How's this look to everyone? Anyone able to test and confirm this works?
--
Darrell May
DMC NETSOURCED.COM
http://netsourced.com
--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org