LDAP Acount Manager (LAM) can not use SSH public key module / OpenLDAP CentOS 6.4 SSL setup -
i set openldap server + client on virtual machine running centos 6.4.
i config openldap ssl , can create user in ldap account manager - lam. try add ssh public key module user.
when try create new user lam returned:
was unable create dn: cn=test,ou=people,dc=local,dc=host. invalid syntax
then checked schema test shows ssh public key did not work ldap server:
ssh public key xxx object class ldappublickey not supported ldap server.
i know openssh-lpk has integrated default in centos. installed openssh-ldap , tried include openssh-lpk-openldap.schema path in /etc/openldap/slapd.conf:
include /usr/share/doc/openssh-ldap-5.3p1/openssh-lpk-openldap.schema
but did work.
so should next?
thank you.
i found have remove config file generated slaptest in /etc/openldap/slapd.d , rerun slaptest command again generate template openssh-lpk schema. worked.
Comments
Post a Comment