I am new to LDAP, trying to use LDAP as Samba backend. I downloaded
openldap2.0.21.tar.gz
. Then as usual ./compile, make, make make install etc. as in INSTALL. I
have created following slapd.conf. Now whenever I issue command
ldapsearch -u "cn=Manager, o=smb, dc=unav, dc=es"
it says
ldap_sasl_interactive_bind_s: No such object
TIA
_________________________________________________________________
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/samba.schema
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
password-hash {CRYPT}
###################################################################
# ldbm database definitions
####################################################################
database ldbm
suffix "o=smb,dc=unav,dc=es"
#suffix "o=My Organization Name,c=US"
rootdn "cn=Manager,o=smb,dc=unav,dc=es"
#rootdn "cn=Manager,o=My Organization Name,c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
#
index primaryGroupID eq
index rid eq
index uid eq
index uidNumber eq
index gidNumber eq
index cn pres,sub,eq
index objectClass eq
index default sub
## posixGroup entries in the directory as well
# index memberUid eq
#
access to dn=".*dc=unav,dc=es"
by self write
by * read
_______________________________________________
Shekhar
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help