[Date Prev][Date Next] [Chronological] [Thread] [Top]

LDAP ACL configuration Problem ???



Hi,
I am running openldap-2.4.26 on one machine (fedora 10) and pam_ldap-186 (fedora 10) on another machine.(anonymous binding)

whenever a user authentication request is recieved by ldap server, it is giving the following error.

ldap_read: want=8 error=Resource temporarily unavailable


ldap.conf configuration is as follows.
base dc=samsung,dc=com
host 10.254.204.181


slapd.conf configuration is as follows.

include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
#include                /usr/local/etc/openldap/schema/nis.schema

pidfile         /usr/local/var/run/slapd.pid
argsfile        /usr/local/var/run/slapd.args

access to attrs=userpassword
 by self       write
 by anonymous  auth
 by *          none
 
access to *
       by self       write
#       by group.exact="cn=hrpeople,ou=groups,dc=example,dc=com"
#                     write
       by users      read
       by *          none

#######################################################################
# BDB database definitions
#######################################################################
 
database        bdb
suffix          "dc=samsung,dc=com"
rootdn          "cn=Manager,dc=samsung,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          123qwe
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /usr/local/var/openldap-data
# Indices to maintain
#unique id so equality match only
index   uid     eq
index   userPassword    eq
#allows general searching on commonname,givenname and mail
index   cn,gn,sn,ou,o,mail eq,sub
index   objectClass     eq


and my LDIF file has user entry as follows.

dn: cn=vijay s,ou=people,dc=samsung,dc=com
objectClass: inetOrgPerson
cn:vijay sheelavantar
cn: vijay s
uid: vijay
userPassword: 123qwe
sn: sheelavantar

Kindly let me know where I am making mistake...

Warm Regards,
VIJAY S.


Treat yourself at a restaurant, spa, resort and much more with Rediff Deal ho jaye!