Hello,
i’m trying to set up a ldap server but iḿ getting always the same error when i try to run some commands like slappassword or ldapsearch, or ohters. The error is always the same:
ldap_sasl_interactive_bind_s: No such attribute (16).
When i try login via ssh in the server, the passwd which i configured ( via openssl ), doesn’t works.
In messages i get the following error:
pam_ldap: error trying to bind as user < uid=xxx, ou=xxx, dc=xxx).
sldap.conf:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/rfc2307bis.schema
include /etc/openldap/schema/yast.schema
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
Load dynamic backend modules:
modulepath /usr/lib/openldap/modules
access to dn.base=""
by * read
access to dn.base=“cn=Subschema”
by * read
access to attrs=userPassword,userPKCS12
by self write
by * auth
access to attrs=shadowLastChange
by self write
by * read
access to *
by * read
…
then the database information.
openldap version:
openldap2-2.3.32-0.27
I was googling and itś seems that the sasl authentication should be added to the slap.conf file.
This is correct?
thanks
Checo.