Problem with openLDAP/SASL
Hello,
This is my first post on the list so be indulgent ;-)
my problem is i'm not able to configure my openLDAP server to use SASL.
When i use any ldap command without the -x flag, i got the following error
ldapadd -W -D 'cn=Manager,dc=<mydomain>,dc=be' -f
infrastructure/LDIFfiles/tree-structure.ldif
Enter LDAP Password:ldap_sasl_interactive_bind_s: No such object
What should i do to avoid this error. Where can i find clear docs about this?
Thanks for advance
Here is my 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/redhat/rfc822-MailMember.schema
# Load dynamic backend modules:
modulepath /usr/sbin/openldap moduleload back_ldap.la moduleload back_ldbm.la moduleload back_passwd.la moduleload back_shell.la
access to *
by dn="cn=Manager,dc=<my-domain>,dc=be" write by self write
by users read
#######################################################################
# ldbm database definitions #######################################################################
include /etc/openldap/schema/openldap.schema
database ldbm suffix "dc=<my-domain>,dc=be" rootdn "cn=Manager,dc=<my-domain>,dc=be" rootpw secret directory /var/lib/ldap
# Indices to maintain
index objectClass,uid,uidNumber,gidNumber,memberUid eq index cn,mail,surname,givenname eq,subinitial
schemacheck on
defaultaccess none
readonly off
Benoit
Signature · 3 lines
Benoit JOSEPH Perso: [email protected] [email protected]