[Samba] Re: migrate existing Unix password to sambapassword

Michal Kurowski mkur at poczta.gazeta.pl
Thu Jul 21 23:00:50 GMT 2005


Taolizhong [a12zengl at yahoo.com] wrote:
> 
> Considering we have more than 500 users, I still
> wonder if there is a way I can populate their Samba
> entries automatically and quickly -- even the value of
> SambaPasword is set to be temporary and is different
> from the correpsonding userPassword. smbpasswd command
> seems only can be used at interactive mode.

Usual answer is: force all the users to change their password.
Both unix and windows version will be changed.

You can make it fairly painless: using pam_ldap to warn users on 
the deadline first and then actually change the password upon login.

Cheers,

-- 
Michal Kurowski
<mkur at poczta.gazeta.pl>>




More information about the samba mailing list