Hi everyone
I'm trying to move whole SAMBA domain from one machine (old) to the second (new one). Old machine has tdbsam backend and new would accomodate LDAP SAMBA accounts. New sever is SLES 11. LDAP was installed with standard settings, SAMBA was installed and configured. LDAP by default is creating, among others, two ou: people (for users) and group (for groups). I copied Linux users from old machine to new, and on new server users are also held in LDAP.
In SAMBA there are three settings connected with LDAP: ldap group suffix, ldap user suffix and ldap machine suffix. I set it to:
ldap group suffix = ou=SambaGroup
ldap user suffix = ou=SambaUsers
ldap machine suffix = ou=SambaComputers
In SAMBA moving user accounts between backends are by using pdbedit utility. So I used it. And what happend: user accounts were imported not into ou=SambaUsers as I expected. In ou=people standard Linux accounts (imported earlier) were upgraded into Samba accounts ! And of course machine accounts also were imported there. So ou=SambaUsers and ou=SambaComputers are empty. And new accounts added on new machine are created as smb.conf said: in ou=SambaUsers and ou=SambaComputers... So it's becoming a little bit messy..
Is this a normal behaviour ? I simply wanted to have Posix accounts in ou
eople and SAMBA accounts in ou=SambaUsers. Is it possible ? Or I made something (mean importing things from old machine) in wrong sequence ??
Michal