[Date Prev][Date Next]
Re: help, openldap-2.1.xx, host attribute - I try, try, try....and nothing :(
> a few solutions :
> 1) just remove your 'host' attribute definition, but not its reference
> in the 'personOfAccount' objectClass definition,
> and check that the already-defined 'host' attribute match you
> 2) remove the reference to the file where the 'host' attribute was
> previously defined, if you don't need this file
> 3) define a 'host2' attribute, use it in your objectclass, and don't
> forget to use it in your test.ldif file
Thanks, I choosed solution 1 ;) and changed moja.schema:
objectclass ( 126.96.36.199.4.1.1466 NAME 'personalAccount'
SUP ( inetOrgPerson $ account ) STRUCTURAL )
objectClass ( 188.8.131.52.4.1.14184.108.40.206.3.1
DESC 'inetOrgPerson with accounts on systems'
MAY ( host ) )
but ldapadd wrote:
modifying entry "uid=nowak,ou=People,dc=ctlm,dc=pl"
ldapadd: update failed: uid=nowak,ou=People,dc=ctlm,dc=pl
ldap_modify: Object class violation (65)
additional info: attribute 'host' not allowed
host attribute is in cosine.schema (included in slapd.conf)
What is wrong??? :((((((