http://www.howtoforge.com/openldap-samba-domain-controller-ubuntu7.10

Prijde mi, ze ta idmap databaze je dobra na strasne specificka velka nasazeni (vice domen s ruznymi uzivateli), takze to vlastnen neni az tak moc potreba

aptitude install samba-doc
zcat /usr/share/doc/samba-doc/examples/LDAP/samba.schema.gz >>/etc/ldap/schema/samba.schema

Do /etc/ldap/slapd.conf dopsat radek

include         /etc/ldap/schema/inetorgperson.schema