txs, now i get this violation
ldap_modify: Object class violation (65) additional info: invalid structural object class chain (inetOrgPerson/account)
On 01/27/2014 06:05 PM, Vikas Parashar wrote:
please use this..
dn: uid=user,ou=Users,dc=example,dc=com changetype: modify add: objectClass objectClass: account
add: host host: server1
On Mon, Jan 27, 2014 at 9:08 PM, W Forum W <wforumw@gmail.com mailto:wforumw@gmail.com> wrote:
Hi, I tried to use Account but I get this error when I import a test.ldif ldapadd: wrong attributeType at line 5, entry "uid=user,ou=Users,dc=example,dc=com" My ldif looks like dn: uid=user,ou=Users,dc=example,dc=com changetype: modify add: objectClass objectClass: account add: host host: server1 Do I miss something, its not really clear to me how to solve this Many Thanks!!! On 01/22/2014 10:58 AM, Vikas Parashar wrote:
Either you can use Account class or you can use different attribute. On Mon, Jan 20, 2014 at 9:38 PM, W Forum W <wforumw@gmail.com <mailto:wforumw@gmail.com>> wrote: Hi I try to add a user but the host attribute is not accept (everything else is fine) ldapadd -x -W -D "cn=admin,dc=example,dc=com" -f user.ldif Enter LDAP Password: adding new entry "uid=user,ou=Users,dc=example,dc=comt" ldap_add: Object class violation (65) additional info: attribute 'host' not allowed how can i add a host attribute i have following schema installed core.schema cosine.schema nis.schema inetorgperson.schema samba.schema thanks in advance