« Return to Thread: Authentication Failure In pam_ldap ?
Jyotishmaan wrote:Alex,
My slapd.conf file is shown as below:
[root@authdns openldap]# egrep -v '^(^$|#)' /etc/ldap.conf
base dc=nits,dc=ac,dc=in
timelimit 120
bind_timelimit 120
idle_timelimit 3600
nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon
uri ldap://127.0.0.1/
ssl no
pam_password md5
[root@authdns openldap]# egrep -v '^(^$|#)' /etc/openldap/slapd.conf
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/nit.schema
access to * by * read
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
database bdb
suffix "dc=nits,dc=ac,dc=in"
rootdn "cn=Manager,dc=nits,dc=ac,dc=in"
rootpw {SSHA}Y3RagOP7u3FsNbHCnPVLwsxUepwIgezo
directory /var/lib/ldap
index objectClass eq,pres index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
access to attrs=userPassword
by * auth
by self write
access to *
by * read
lastmod on
access to * by users read
[root@authdns openldap]#
Please let me know if i have to include any modules like as shown below:-
# Load dynamic backend modules:
# modulepath /usr/lib/openldap
# moduleload back_bdb.la
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
Thanks,
Jyotishmaan
« Return to Thread: Authentication Failure In pam_ldap ?
| Free Forum Powered by Nabble | Forum Help |