[Samba] Change password 1st logon

Andrew Bartlett abartlet at samba.org
Wed Mar 26 22:02:41 GMT 2003


On Thu, 2003-03-27 at 04:35, helio at intersight.com.br wrote:
> Hello everyone, i would like to know if there is a way to change the samba
> user´s password is the first logon???

See my posts in the archives, but I do this with Samba HEAD and pdb_ldap
- setting 'pwdMustChange' to 0 for that user.

Also possible for NT4 and above with PAM and 'obey pam restrictions =
yes', but not quite as clean.  (Naturally, this requires 'unix passwd
sync = yes'.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030327/15af76b4/attachment.bin


More information about the samba mailing list