I wrote a note about the use the ldif files as provided in the docs, because an structural object *must* be present with the new samba schema and the strong schema checking in the new openldap (2.1.3).
http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html#AUXILIARY The command "bin/smbpasswd -a <user>" is useless with the openldap 2.1.3 unless an account exists because the samba_2_2 code don't supply an structural object: ldap_search_one_user: searching for:[(&(uid=ccourse)(objectclass=sambaAccount))] ldap_search_one_user: searching for:[uid=ccourse] Adding new user Setting entry for user: ccourse failed to modify user with uid = ccourse with: Object class violation no structural object classes provided Failed to add entry for user ccourse. Failed to modify password entry for user ccourse Ignacio -- ____________________________________________________ Ignacio Coupeau, Ph.D. e-mail: [EMAIL PROTECTED] CTI, Director fax: 948 425619 University of Navarra voice: 948 425600 Pamplona, SPAIN http://www.unav.es/cti/