By
Dr. Hidaia Mahmood Alassouli
This paper is a step-by-step “how to” guide for configuring of Openldap server, Kerberos server and shows the procedure for authentication of Linux Machine to Active Directory. The paper provides an installation guide for,
Keywords: OpenLDAP, Kerberos, Active Directory, Authentication, Linux.
Full documentation of OpenLDAP exists in www.openldap.org. The general procedure for configuration of OpenLDAP server and client that I tried to follow on RedHat 9,
1. I installed the openldap RPMS, openldap-2.0.7-14.i386.rpm, openldap-servers-2.0.7- 14.i386.rpm and openldap-clients-2.0.7-14.i386.rpm from the CD for RedHat 9.
2. Configuration of OpenLDAP is done through the /etc/openldap/slapd.conf file. In this work I used the following simple configuration file:
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/rfc822-MailMember.schema include /etc/openldap/schema/autofs.schema
include /etc/openldap/schema/kerberosobject.schema
######################################################################
#
# ldbm database definitions
######################################################################
#
database ldbm
suffix "o=MyCompany,c=AU"
rootdn "uid=root,ou=People,o=MyCompany,c=AU" rootpw secret
directory /var/lib/ldap
# Indices to maintain
index objectClass,uid,uidNumber,gidNumber eq index cn,mail,surname,givenname eq,subinitial
#
# ACLs
#
access to dn=".*,ou=People,o=MyCompany,c=AU" attr=userPassword
by self write