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

Re: CountryName and URL Attribute



At 04:15 PM 3/12/01 +0100, Jose Perez wrote:
>Hi!
> I´m using Openldap-2.0.6. I´m trying to create the following entry but the
> last two attributes countryName and url show me error code 65- attribute
>not allowed.

That's because they attributes are not allowed per the schema
controlling the entry.  Check the object classes used for
allowed and required attributes.

> My slapd.conf :
> include /etc/ldap/schema/core.schema
> include /etc/ldap/schema/cosine.schema
> include /etc/ldap/schema/inetorgperson.schema
>
>  Do you know what happen?
>
> Thanks in advance.
>
> dn: dc=company, dc=es
> dc: company
> labeledURI: http://www.company.es
> objectClass: dcObject
> objectClass: organization
> objectClass: labeledURIObject
> o: company
>
> dn: cn=root, dc=company, dc=es
> objectClass: organizationalRole
> cn: root
>
> dn: ou=Ceti, dc=company, dc=es
> ou: ceti
> objectClass: top
> objectClass: organizationalUnit
>
>  dn: cn=Jose Perez,ou=Ceti, dc=company, dc=es
> displayName: Jose Perez
> givenName: Jose
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> ou: Ceti
> cn: Jose Perez
> labeledURI: http://www.company.es
> sn: Perez
> url: http://www.company.es
> countryName: Spain