[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Ldap connection problems
Hi,
After I added the entries on the database when I am trying to do ldapsearch I had this message:
ldap_sasl_interactive_bind_s: No such object
Another error message is that: Can't connect LDAP server
It is strange how I can add entries in my database but I can't see some information.
My slapd.conf is:
##################################################
include /usr/share/openldap/schema/core.schema
include /usr/share/openldap/schema/corba.schema
include /usr/share/openldap/schema/inetorgperson.schema
include /usr/share/openldap/schema/java.schema
include /usr/share/openldap/schema/krb5-kdc.schema
include /usr/share/openldap/schema/kerberosobject.schema
include /usr/share/openldap/schema/misc.schema
include /usr/share/openldap/schema/nadf.schema
include /usr/share/openldap/schema/nis.schema
include /usr/share/openldap/schema/openldap.schema
include /etc/openldap/slapd.access.conf
pidfile /var/run/slapd.pig
argsfile /var/run/slapd.args
modulepath /usr/lib/openldap
# ldbm database
database ldbm
suffix "dc=mycompname,dc=com"
rootdn "cn=manager,dc=mycompname,dc=com"
rootpw secret
index objectclass,uid,uidNumber,gidNumber eq
index cn,mail,surname,givenname eq,substantial
loglevel -1
defaultaccess read
# Basic ACL
access to attr=userPassword
by self write
by read
#################################################
ldap.conf is:
################################################
host 127.0.0.1
# The distinguished name of the search base
base dc=mycompname,dc=com
# The distinguished name to bind to the server with
binddn dc=mycompname,dc=com
# The credentials to bind with
bindpw secret
# The distinguished name to bind to the server with
if the effective user ID is root
rootbinddn cn=manager,dc=mycompname,dc=com
port 389
pam_filter objectclass=account
pam_login_attribute uid
pam_password crypt
ssl yes
sslpath /usr/lib/ssl/certs
############################################
users.ldif is
###########################################
dn: dc=mycompname,dc=com
dc: mycompname
o: mycompname
objectclass: organization
objectclass: dcObject
dn: cn=manager,dc=mycompname,dc=com
cn: manager
sn: manager
objectclass: person
userpassword: secret
dn: cn:helen,dc=mycompname,dc=com
cn: helen
sn: A
objectclass: person
userpassword: secret
##########################################
For authentication I installed pam_ldap and nss_ldap modules.
Here I am a little bit confused.
I have a Linux Mandrake (i586).
If is possible I will wait some help,
thank you
Lili