[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 ( 220.127.116.11.4.1.1466 NAME 'personalAccount'
SUP ( inetOrgPerson $ account ) STRUCTURAL )
objectClass ( 18.104.22.168.4.1.1422.214.171.124.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??? :((((((