Hi,
I have all rhel7.1 servers in my envirement.
I have configured LDAP Server successfully in my envirement using below link.
http://www.learnitguide.com/2016/01/...-on-rhel7.html
I want to change home directory of existing ldap user.
For example previously home directory of "ldapuser1" was "/home/ldapuser1".I want to change it to "/home/shared/ldapuser1"
For the same i have crated a "ldif " file as below.
#cat ldapuser1.ldif
dn: cn=ldapuser1,ou=Group,dc=unixmen,dc=local
changetype: modify
replace: homeDirectory
homeDirectory: /home/shared/ldapuser1
and then executing below command
# ldapmodify -vx -D cn=Manager,dc=my-domain,dc=com -W -f ldapuser1.ldif
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
replace homeDirectory:
/home/shared/ldapuser1
modifying entry "cn=ldapuser1,ou=Group,dc=my-domain,dc=com"
ldap_modify: Object class violation (65)
additional info: attribute 'homeDirectory' not allowed
I did some googling but doesnt find anything
Please suggest.