[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Adding an attribute host



I'm using the ldapmodify with and ldif file whcih has the following:

dn: uid=someusername,ou=People,dc=example,dc=com
changetype: modify
add: host
host: mchn2.example.com

However, I am getting this:

ldap_modify: Object class violation
             additional info: attribute 'host' is not allowed

'host' is in the cosine.schema.  cosine.schema is included in the
slapd.conf

Robert Canary wrote:
> 
> How do I add an attribute?
> 
> I am reading through a mandrake doc on openldap, and they point out a
> good idea (which applies to my scenario), of limiting the host for which
> a given person can log onto.  The include the 'host' attribute, however,
> it is not anywhere in the schemas.  How do I go about adding the 'host'
> attribute, to the passwd records?
> 
> --
> robert