User Tools

Site Tools


informatica:linux:ldap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
informatica:linux:ldap [2010/11/24 18:22] 95.20.4.69informatica:linux:ldap [2010/11/26 16:51] 95.20.4.69
Line 2: Line 2:
  
 open-ldap slapd ldap open-ldap slapd ldap
 +
 +http://www.zytrax.com/books/ldap/
  
 ===== Instalación ===== ===== Instalación =====
  
   sudo aptitude install slapd ldap-utils   sudo aptitude install slapd ldap-utils
 +
  
  
Line 23: Line 26:
 # NB: RH Linux schemas in /etc/openldap # NB: RH Linux schemas in /etc/openldap
 # #
-include     /etc/ldap/schema/core.schema +include         /etc/ldap/schema/core.schema 
-include     /etc/ldap/schema/cosine.schema +include         /etc/ldap/schema/cosine.schema 
-include     /etc/ldap/schema/inetorgperson.schema +include         /etc/ldap/schema/inetorgperson.schema
  
 # NO SECURITY - no access clause # NO SECURITY - no access clause
Line 40: Line 42:
 # enable a lot of logging - we might need it # enable a lot of logging - we might need it
 # but generates huge logs # but generates huge logs
-loglevel    -1+loglevel        255
  
 # MODULELOAD definitions # MODULELOAD definitions
Line 52: Line 54:
 ####################################################################### #######################################################################
 # bdb database definitions # bdb database definitions
-+#
 # replace example and com below with a suitable domain # replace example and com below with a suitable domain
-+#
 # If you don't have a domain you can leave it since example.com # If you don't have a domain you can leave it since example.com
 # is reserved for experimentation or change them to my and inc # is reserved for experimentation or change them to my and inc
Line 66: Line 68:
 rootdn "cn=jimbob, dc=example, dc=com" rootdn "cn=jimbob, dc=example, dc=com"
 rootpw dirtysecret rootpw dirtysecret
-# The database directory MUST exist prior to running slapd AND + 
 +# The database directory MUST exist prior to running slapd AND
 # change path as necessary # change path as necessary
-directory   /srv/ldapdb+directory       /srv/ldapdb
  
 # Indices to maintain for this directory # Indices to maintain for this directory
 # unique id so equality match only # unique id so equality match only
-index   uid eq+index   uid     eq 
 # allows general searching on commonname, givenname and email # allows general searching on commonname, givenname and email
 index   cn,gn,mail eq,sub index   cn,gn,mail eq,sub
 +
 # allows multiple variants on surname searching # allows multiple variants on surname searching
 index sn eq,sub index sn eq,sub
 +
 # sub above includes subintial,subany,subfinal # sub above includes subintial,subany,subfinal
 # optimise department searches # optimise department searches
 index ou eq index ou eq
 +
 # if searches will include objectClass uncomment following # if searches will include objectClass uncomment following
 # index objectClass eq # index objectClass eq
 # shows use of default index parameter # shows use of default index parameter
 index default eq,sub index default eq,sub
 +
 # indices missing - uses default eq,sub # indices missing - uses default eq,sub
 index telephonenumber index telephonenumber
Line 91: Line 99:
 cachesize 10000 cachesize 10000
 checkpoint 128 15 checkpoint 128 15
- 
 </code>  </code> 
  
informatica/linux/ldap.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1