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

RE: CountryName and URL Attribute



I thought c: was for the two character ISO country codes and countryName:
was for a longer name. BTW, I think it's ES for Spain.

-----Original Message-----
From: Dan Cushing [mailto:dan.cushing@netideasinc.com]
Sent: Tuesday, March 13, 2001 9:47 AM
To: Kurt D. Zeilenga
Cc: Jose Perez; openldap-software@OpenLDAP.org
Subject: Re: CountryName and URL Attribute


Jose -

The 'countryName' attribute is defined in core.schema, but it only accepts
standard 2-letter country abbreviations.  Try entering SP and see if it
takes
it.

I can't find the 'url' attribute defined in any of the OpenLDAP provided
schema.

Dan

"Kurt D. Zeilenga" wrote:

> 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