[Samba] Migrating to LDAP

Tim Bates tin at new-life.org.au
Thu Sep 20 02:29:05 GMT 2007


Can anyone point me to a guide on migrating Linux and Samba accounts to 
LDAP? I can only find part guides, and I can't figure out how to get the 
account data combined (without a lot of manual effort).

I can get the Linux accounts over no problems. I then tried to do 
"pdbedit -i tdbsam -e ldapsame -s /path/to/modified/smb.conf", but it 
only manages to stuff things up by skipping the real accounts and 
creating the system accounts (which I don't want).
I then tried clearing the LDAP data and doing the pdbedit thing first. 
But it still skips real users and just creates the systems accounts. It 
does say it created the real users, but they don't appear.

I don't really want to have to reset all the passwords and rejoin all 
the PCs to the domain... So I need a method of doing this.

Tim B



More information about the samba mailing list