Changes between Version 23 and Version 24 of Internal/LoginService


Ignore:
Timestamp:
Jun 29, 2011, 3:48:04 PM (13 years ago)
Author:
jsingh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/LoginService

    v23 v24  
    2828apt-get install slapd, ldap-utils, phpldapadmin,
    2929}}}
    30 {{{
    31 slappasswd
    32 }}}
    33 the hash value goes in the slapd.conf file for your password.
    34 Configure the ldap service by editing /etc/ldap/slapd.conf
     30Modify the /etc/default/slapd file and edit the  SLAPD_CONF value to
     31{{{
     32SLAPD_CONF="/etc/ldap/slapd.conf"
     33}}}
     34This is our slapd.conf file, please change it according to your organization
     35{{{
     36allow bind_v2
     37include /etc/ldap/schema/core.schema
     38include /etc/ldap/schema/cosine.schema
     39include /etc/ldap/schema/nis.schema
     40include /etc/ldap/schema/inetorgperson.schema
     41include /etc/ldap/schema/ldapns.schema
     42loglevel 256
     43modulepath      /usr/lib/ldap
     44moduleload      back_bdb
     45
     46backend bdb
     47database bdb
     48index objectclass,entryCSN,entryUUID eq
     49suffix "dc=orbit,dc=lab,dc=org"
     50rootdn "dc=orbit,dc=lab,dc=org"
     51directory "/var/lib/ldap"
     52access to dn.base="" by * read
     53access to * by dn.regex="cn=admin,dc=orbit,dc=lab,dc=org" write by * read
     54
     55}}}
    3556Start the service:
    3657{{{