Koozali.org: home of the SME Server

LDAP config

Max

LDAP config
« on: April 25, 2001, 10:09:20 PM »
I am interested in making users give a name and a password in order to use the LDAP server.

I have looked through a couple of LDAP and slapd how-to's and I cant figure out how to "turn on" this password protection.

Anyone done this?

Max

Re: LDAP config
« Reply #1 on: April 26, 2001, 12:39:34 AM »
it seems that in /etc/openldap/slapd.conf is where I would do this.

Of course I would alter that through the template in /etc/e-smith/templates/etc/openldap/slapd.conf/template-begin

the problem now is that when I put access control example into that file, the server just rejects everyone.  the example lines are:

access to *
    by dn=".+" read
    by * none

now I am not sure if the problem is that it is not looking to the /etc/passwd for the names and passwords that allow people to query the LDAP server

OR

if something is wrong with that line such as the "by * none" being the last rule, it just rejects everything.