OpenLDAP installation and configuration: Difference between revisions
Jump to navigation
Jump to search
m (using an external editor) |
m (using an external editor) |
||
Line 9: | Line 9: | ||
/opt/sfw | /opt/sfw | ||
/opt/sfw/sbin - binaries | /opt/sfw/sbin - links to binaries | ||
/opt/sfw/libexec - binaries | |||
/opt/sfw/etc/openldap - configuration files | /opt/sfw/etc/openldap - configuration files | ||
/opt/sfw/var/openldap-data - default data | /opt/sfw/var/openldap-data - default data | ||
/opt/sfw/var/run - PID of the server | |||
;Binaires in /opt/sfw/sbin: | |||
slapadd -> ../libexec/slapd | |||
slapcat -> ../libexec/slapd | |||
slapdn -> ../libexec/slapd | |||
slapindex -> ../libexec/slapd | |||
slappasswd -> ../libexec/slapd | |||
slaptest -> ../libexec/slapd | |||
slapcat -> ../libexec/slapd | |||
slapdn -> ../libexec/slapd | |||
slapindex -> ../libexec/slapd | |||
slappasswd -> ../libexec/slapd | |||
slaptest -> ../libexec/slapd | |||
=== Importing an LDIF file === | |||
/opt/sfw/sbin/slapadd | |||
=== The startup script === | |||
To start/stop automatically the server you can write a script like this, put it in /etc/init.d and then make links from /etc/rc3.d, /etc/rc0.d etc. | |||
<pre> | |||
</pre> | |||
[[Category:Installation tips]] | [[Category:Installation tips]] |
Revision as of 13:51, 9 January 2008
Introduction
OpenLDAP is the most popular free LDAP server.
Configuration notes for solaris 10
There is an OpenLDAP version included in a typical installation. You can find it here:
/opt/sfw /opt/sfw/sbin - links to binaries /opt/sfw/libexec - binaries /opt/sfw/etc/openldap - configuration files /opt/sfw/var/openldap-data - default data /opt/sfw/var/run - PID of the server
- Binaires in /opt/sfw/sbin
slapadd -> ../libexec/slapd slapcat -> ../libexec/slapd slapdn -> ../libexec/slapd slapindex -> ../libexec/slapd slappasswd -> ../libexec/slapd slaptest -> ../libexec/slapd slapcat -> ../libexec/slapd slapdn -> ../libexec/slapd slapindex -> ../libexec/slapd slappasswd -> ../libexec/slapd slaptest -> ../libexec/slapd
Importing an LDIF file
/opt/sfw/sbin/slapadd
The startup script
To start/stop automatically the server you can write a script like this, put it in /etc/init.d and then make links from /etc/rc3.d, /etc/rc0.d etc.