[Samba] account migartion from NIS and Smbpasswd to LDAP

Steve Zeng szeng at mainframe.ca
Mon Mar 14 18:55:50 GMT 2005


Paul,

Thanks for the great tips. There are both machine accounts and user 
accounts in the "smbpasswd" file. So pdbedit will automatically put 
machine accounts into ou=Computers and user accounts into ou=users, am I 
right?

Steve


> 
>> I've tried "smbldap-migrate-unix-accounts" to migrate NIS account into 
>> LDAP. It is a great tool. There is no problem if he/she authenticate 
>> from Linux machine with his old NIS account. But I found that I need 
>> to run smbldap-passwd to give a new passwd so that he/she can 
>> authenticate from windows machine. Does anyone has a better solution 
>> about it?
> 
> 
> So by your subject line it appears that you have a smbpasswd file 
> someplace.  You can use the pdbedit command with import and export flags 
> to move the relevant fields over to ldap.
> 
> 

-- 
Regards,

Steve Zeng
Systems Administrator
Mainframe Entertainment Inc
T: (604) 628-1000 ext 5293


More information about the samba mailing list