2014-02-11 16:46 GMT+01:00 Warron S French <[email protected]>:

> Low Sensitivity/Aerospace Internal Use Only
>
> The latest in the saga to install OpenLDAP.
>
> I did not remove any packages this time.
>
> I did wipe out all the of alock and db.00* files.
>
> I thought it was odd that I noticed [today] that those files were all
> owned by root  under the /usr/local/openldap/var/openldap-data.  So, I
> decided for the first time ever while installing and configuring OpenLDAP
> to switchuser (su - ldap) to ldap.
>
> I also went back and wiped out the
> /usr/local/openldap/etc/openldap/slapd.d directory.
>
> Then I performed another slaptest with the -v  -u  -f  & -F options.  The
> command completed successfully (like it did for root).
>
> Then after that completed successfully, executed the command a second
> time, but dropped the -u switch.  So I ran the following command:
> slaptest -v -f  <path-to>/slap.conf   -F  <path-to./slapd.d
>                  --SUCCESS, again!
>
> Then I executed the command to startup slapd:
> I exited as ldap; typed exit at the shell prompt.
> Then typed:          service slapd start
>
> Amazing, I got it running again for the first time in 2 weeks.
>
> Now I need to go back and add my records again.
>
> Oh, I can't because the slapd.conf that defined the cn=Manager for my
> domain, and the cn=admin for cn=config didn't get recreated in the database
> after running the slaptest command.
>
>

The manager account is not an entry in your database. You should have a
RootDN and a RootPW in your configuration, you can use them to bind on the
directory.



>
> I give up, no decent documentation.  A lot of people with tons of
> questions, but none that I am seeing, but no real support.  How does Open
> Source Software get adopted exactly?
>
>

The OpenLDAP official documentation is here:
http://www.openldap.org/doc/admin24/

Me and other give you some time to help but we can't do all the work, or
not for free. A lot of companies can help you to run your project if you
need.


Clément.
_______________________________________________
ltb-users mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to