FreedomTunnel/DeploymentNotes

From My Wiki
Revision as of 05:48, 15 May 2012 by imported>Charlesnw (Created page with "==Server setup:== 1) http://www.rjsystems.nl/en/2100-d6-openldap-provider.php 2) (I had to run dpkg-reconfigure slapd) to get the ACLs tweaked. 3) Attempt to add schemas: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Server setup:

1) http://www.rjsystems.nl/en/2100-d6-openldap-provider.php


2) (I had to run dpkg-reconfigure slapd) to get the ACLs tweaked.

3) Attempt to add schemas:

 581  ldapadd -x -D cn=admin,cn=config,dc=corp,dc=thefnf,dc=net -W -f openldap/goserver.ldif 

gives me the dreaded invalid credentials error. So then I find

http://www.openldap.org/lists/openldap-technical/201201/msg00045.html http://www.openldap.org/lists/openldap-technical/201201/msg00053.html

Relevant bits:

PASS=$(slappasswd) echo -e "database config\nrootpw $PASS" > /tmp/slapd-initial.conf slaptest -f /tmp/slapd-initial.conf -F /etc/*ldap/slapd.d chown -R ldap:ldap /etc/*ldap/slapd.d slapd -u ldap -g ldap ldapwhoami -x -D cn=config -W