[Samba] cannot access LDAP when not root

Ganael LAPLANCHE ganael.laplanche at edfgdf.fr
Thu Aug 7 10:38:42 GMT 2003


Hi all,

While playing with group mapping, I'm regularly getting this error :

[2003/08/07 08:10:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1619)
  ldapsam_search_one_group: searching for:
[(&(objectClass=sambaGroupMapping)(gidNumber=1001))]
[2003/08/07 08:10:39, 0] lib/smbldap.c:smbldap_open(799)
  smbldap_open: cannot access LDAP when not root..
[2003/08/07 08:10:39, 1] lib/smbldap.c:smbldap_retry_open(888)
  Connection to LDAP Server failed for the 1 try!
[2003/08/07 08:10:39, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1634)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
(Insufficient access)ldapsam_search_one_group: searching for:
[(&(objectClass=sambaGroupMappin
g)(gidNumber=1002))]

I know I can access the LDAP server because every user in my domain can
authenticate. Moreover, Group mapping works... What's the matter ? Who must
be root...  Smbd/Nmbd belong to root...

Thank you very much,

Ganaël.





More information about the samba mailing list