You are not logged in.
Pages: 1
I just installed Arch for the first time on my raspberry pi. I followed the install guide for openLDAP on the wiki but noticed that a few extra steps were necessary.
After:
# cp /etc/openldap/DB_CONFIG.example /var/lib/openldap/openldap-data/DB_CONFIG
# chown ldap:ldap /var/lib/openldap/openldap-data/DB_CONFIG
I had to run:
chown ldap:ldap /etc/openldap
mdkir /run/openldap
chown ldap:ldap /run/openldap
I wanted to see if anyone else was running would verify that these steps are necessary. If not maybe someone will find this helpful.
~~~~wyntre5150
Offline
The chown on /etc/openldap I had to do as well. I am still struggling to get TLS to work according the instructions. I do not manage to get a self signed cerificate served by slapd.
Offline
@maarten21: I know your pain. To that end, I have a script that will get you from nothing to TLS configured and working in 5 minutes. I'm not sure where to post it, though.
Offline
Why not share the script here?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Edit: Replaced the static code here with a link to the public Github repository: https://github.com/FOSSperts/archlinux- … aperver.sh
wget https://github.com/FOSSperts/archlinux-openldap/blob/master/createldapserver.sh
# run as root
chmod 700 createldapserver.sh # change permissions to executable for the owner
./createldapserver.sh # run the script
Last edited by wirelessben (2014-05-25 15:34:42)
Offline
Thanks. Script works.
Figured out: what misses on the wiki page is the 'rm -rf $configdir'
Offline
Thanks for testing! Added a link to the script on the [https://wiki.archlinux.org/index.php/OpenLDAP OpenLDAP page]. It's a public repository on Github now, so users will get future bugfixes.
Last edited by wirelessben (2014-05-25 15:11:37)
Offline
Pages: 1