Hy,

I just install OpenLDAP 2.0 and Samba 3.0. (both from RPM).
I used tools from idealx (found in src from Samba 3.0) to populate the ldap
tree. My ldap is empty when i start, i just added index and samba.schema in
slapd.conf.
I used net rpc getsid to generate my domain SID and put in the
smbldap_conf.pm with others options (dc, ou, dn etc.)
I didn't get any error with this tool, it create 21 entries.
I can view the users (Administrator, nobody) and Groups (Admins etc.) with
the module "LDAP Users and Groups" from Webmin.

But when i triy to add user with smbpasswd ou pdbedit i get these errors in
debug mode (this user is an unix user).
--SNIP--
ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (No
such object)ldapsam_search_one_group: Query was: ou=Groups,
(&(objectClass=sambaGroupMapping)(gidNumber=100))
--SNIP--
ldapsam_add_sam_account: failed to modify/add user with uid = nicko (dn =
uid=nicko,ou=Users)
Failed to add entry for user nicko.
Failed to modify password entry for user nicko

Please help, i'm sure i'm not far from light now ...

Thanks

Nicolas Schrevel

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to