[Samba] samba ldap

o2 dig80 at o2.pl
Thu Mar 18 16:12:55 GMT 2004


What is the right model of storing data in ldap database for Samba?

I want to migrate data from tdbsam flat
file and also from /etc/passwd /etc/shadow /etc/group to ldap.

migration of /etc/ flat files is made via padl's scripts,
and tdbsam can be migrated using pdbedit tool.
(both works nice to different trees of ldap).

the purpose of this migration is to store all the data
in one place to make access to the data the easiest.

is that possible, or meybe is that suggested method
to store both sambaSamAccount and posixAccount in one
object classes and use them for pam, nss, and samba?

how to migrate all the data then? after migrating
/etc/passwd pdbedit gives errors (when importing to the same tree)
ldapsam_modify_entry: Failed to add user dn= uid=xxx,ou=people,o=pzl-wola,c=pl with: Already exists

so how it's the easiest way to merge both flat files to one ldap tree?

thanks for help,
Tomasz Jankowski




More information about the samba mailing list