5

OpenLDAP::can not add value to 'mail' attribute

view full story
linux-howto

http://forums.fedoraforum.org – Hello, After installing F11, I installed OpenLdap with the command "yum -y install openldap*" And added the password obtained through the command "slappasswd -s password -h {MD5}" into /etc/openldap/slapd.conf. Also, I specified the domain information within the file on "suffix" and "rootdn". I also modified the domain name in both /etc/openldap/ldap.conf and /etc/ldap.conf. I copied the Copied the /usr/share/doc/openldap-servers-2.4.15/DB_CONFIG.example to /var/lib/ldap/DB_CONFIG. Then started the server with the command /etc/rc.d/init.d/ldap start I then was able to create and delete OU's and CN's with the help of ldapadd and ldapdelete. I also created PERSON records using the base.ldif file with the content ; dn: cn=user1, ou=domain, dc=example, dc=com objectClass: person cn: user1 sn: user1 Everything is OK until I try to add a person with an email address in the "mail" attribute. The error message is ; *************************** adding new entry "cn=user1, ou=domain, dc=example, dc=com ldap_add: Object class violation (65) additional info: attribute 'mail' not allowed *************************** This error message is appearing also with "uid" attribute. I have searched some forums and found some suggestions to include the line "include /etc/openldap/schema/inetorgperson.scheme" in the file /etcopenldap/slapd.conf, which is already in. Any suggestions ? Regards. (HowTos)