[Samba] Samba and ldap groups

Maarten Buiter maarten.buiter at fredhopper.com
Tue Apr 8 15:06:56 GMT 2003


Hi Kristyan,

This might have something to do with your Access Control Lists for your
LDAP directory. Most likely you have installed your LDAP directory so
that only root can query it.

If you are using OpenLDAP, you can edit (or create) your ACLs in the
slapd.conf file. The OpenLDAP Administrator Guide Provides a few
simple examples.

If this is not the case, please provide some more information!

Success,

Maarten Buiter



Kristyan Osborne wrote:

>Hi,
>
>I have just put Samba3alpha23 on my Suse 8.1 box and and implement the new goup structure in LDAP.
>
>All works fine expect when you log in a a user other than root on the windows box. The error is :
>
>[2003/04/08 13:30:19, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2198)
>  ldapsam_search_one_group: Problem during the LDAP search: LDAP error:  (Insufficient access)ldapsam_open: cannot access LDAP when not root..
>[2003/04/08 13:30:19, 0] passdb/pdb_ldap.c:ldapsam_retry_open(509)
>  Connection to LDAP Server failed for the 1 try!
>[2003/04/08 13:30:19, 0] passdb/pdb_ldap.c:ldapsam_setsamgrent(2567)
>  LDAP search failed: Insufficient access
>[2003/04/08 13:30:19, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2629)
>  Unable to open passdb
>
>How should I set samba up so that normal users can access the LDAP directory and not have to be root???
>
>Cheers
>
>---------
>Kristyan Osborne - IT Technician
>Longhill High School
>01273 391672
>  
>





More information about the samba mailing list