Difference between revisions of "LDAP"

From Stadm
Jump to navigationJump to search
Line 12: Line 12:
 
  include /etc/openldap/schema/samba.schema
 
  include /etc/openldap/schema/samba.schema
 
*must copy over schema and configure properly in cn=config
 
*must copy over schema and configure properly in cn=config
 +
vim /etc/openldap/slapd.d/cn=config/olcDatabase\=\{2\}bdb.ldif
 +
*change olcSuffix, olcRootDN, olcRootPW
 +
*add samba schema ldif to appropitae location
 +
cd /etc/openldap/slapd.d/cn=config/cn=schema
 +
*samba.schema ldif should be named cn={##}samba.ldif      //## is line number in ldap.conf

Revision as of 11:23, 17 October 2013

OpenLDAP

Server

cd /etc/opendlap
  • configuration ldap.conf
URI     ldap://servername.domainl.name.edu/
BASE    dc=domain,dc=name,dc=edu
TLS_CACERTDIR   /etc/openldap/certs
TLS_REQCERT     allow
  • CA certs generated and stored in certs folder
vim slapd.conf
  • make sure samba schema is included
include /etc/openldap/schema/samba.schema
  • must copy over schema and configure properly in cn=config
vim /etc/openldap/slapd.d/cn=config/olcDatabase\=\{2\}bdb.ldif
  • change olcSuffix, olcRootDN, olcRootPW
  • add samba schema ldif to appropitae location
cd /etc/openldap/slapd.d/cn=config/cn=schema
  • samba.schema ldif should be named cn={##}samba.ldif //## is line number in ldap.conf