# You should either include this file into your # /etc/openldap/slapd.conf, or add the contents (after editing), inside # the db definition your samba server will use. # Index the rid for samba: index rid eq # Basic samba acl: access to attrs=lmPassword,ntPassword by dn="cn=root,dc=mydomain,dc=com" write by dn="uid=root,ou=People,dc=mydomain,dc=com" write by * none