[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ldap re-creating database



mdevin said:
> Arrrrgh, I am going crazy here.  Going very basic now and still can't seem
> to be able to use ldapadd like the documentation suggests.  Here is what I
> have just tried.
>
> 1. Stopped slapd:
>    /etc/init.d/slapd stop
> 2. Removed all files in /var/lib/ldap/
>    rm /var/lib/ldap/*
> 3. Created a /etc/ldap/slapd.conf file containing:

where is your ACL that permits access?

for me it is:
# The admin dn has full write access
access to *
        by dn="cn=admin,o=aphroland,c=us" write
	by dn="cn=nss,o=aphroland,c=us" read
	by * read
        by * auth


> I give up.  Can someone post some specific schema examples that will work.
>  The examples on the openldap site don't seem to work:
> http://www.openldap.org/doc/admin/quickstart.html

http://howto.linuxpowered.net/ldap/ldap.html#population

that is the population portion of my HOWTO, I have used those
examples on many systems, with complete success. be sure all
the schemas are loaded(I reccomend browsing some of the other
sections of that document as well, its pretty long - 25 pages)

nate





Reply to: