OpenLDAP installation and configuration: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
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 14:51, 9 January 2008

Draft

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.