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

RE: Attribute problem



Well I thought I had got it all sorted out but I am afraid that I have tried
what you suggested and I am getting the following error:

 # ldapadd -x -D "cn=Manager, dc=localserver, dc=com" -w secret -f newentry
adding new entry "cn=Fred Smith,dc=localserver,dc=com"
ldap_add: Object class violation
        additional info: attribute not allowed

ldif_record() = 65

Regards

Tim

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Pierangelo
> Masarati
> Sent: 03 September 2001 22:05
> To: tim@casson-smith.freeserve.co.uk
> Cc: openldap-software@OpenLDAP.org
> Subject: Re: Attribute problem
>
>
> > Do I add this objectclass to the entry I want mail with or does
> this need
> > adding else where?
>
> Your entry
>
> dn: cn=Fred Smith,dc=localserver,dc=com
> objectclass: person
> cn: Fred
> cn: Freddy
> mail: fred@smith.net
> uid: fsmith
> sn: Smith
>
> should become
>
> dn: cn=Fred Smith,dc=localserver,dc=com
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> cn: Fred
> cn: Freddy
> mail: fred@smith.net
> uid: fsmith
> sn: Smith
>
> Pierangelo
>
>