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

Re: no structuralObject in entry?



used
ldapmodify -D "our manager dn" -W -f cpauch.ldif

cpauch.ldif is

dn: "uid=cpauch,dc=wrkcs,dc=net"
changetype: modify
replace: sn
sn: Poochy

and thats it.  It helpfully informs me
ldapmodify: update failed: uid=cpauch,dc=wrkcs,dc=net
ldap_modify: Internal (implementation specific) error (80)
    additional info; no structuralObjectClass operational attribute

I watched the debug and this particular line seemed to indicate the trouble:

No structuralObjectClass for entry (uid=cpauch,dc=wrkcs,dc=net)
entry failed schema check: no structuralObjectClass operational attribute


I'm running 2.1 on a suse 9.0 linux machine.

so, thats where I am.  Any insight would be appreciated.

----- Original Message ----- 
From: "Paul Wilson" <elviscious@rmci.net>
To: <perlldap@wrkcs.net>; <openldap-software@OpenLDAP.org>
Sent: Thursday, December 04, 2003 5:21 PM
Subject: Re: no structuralObject in entry?


> Well, I don't see any problems with it.  Perhaps someone else can see a
> problem with that I'm not though.
>
> Wouldn't hurt to know the command you are executing to try to modify the
> entry.
>
> >
> > dn: uid=cpauch,dc=wrkcs,dc=net
> > objectClass: person
> > objectClass: inetLocalMailRecipient
> > objectClass: posixAccount
> > uid: cpauch
> > gidNumber: 100
> > homeDirectory: /home/cpauch
> > loginShell: /bin/bash
> > uidNumber: 501
> > mailRoutingAddress: cpauch@wrkcs.net
> > spambounce: yes
> > dialupAccess: true
> > sn: Pauch
> > userPassword:: secret
> > cn: Charlie Pauch
> > mailLocalAddress: charlie.pauch@wrkcs.net
> >
> > --- Original Message -----
> > From: "Paul Wilson" <elviscious@rmci.net>
> > To: <perlldap@wrkcs.net>; <openldap-software@OpenLDAP.org>
> > Sent: Thursday, December 04, 2003 2:41 PM
> > Subject: Re: no structuralObject in entry?
> >
> >
> >> Person is a structural object.  What's your ldif look like?
> >>
> >> pwilson
> >>
> >> > Isn't person a structual object?  It says so in the schema.  But
> >> Slapd wont' let me modify anything.  It says my entries don't have a
> >> structuralObjectClass  I swear it's one step forward and two steps
> >> back with this V3 stuff.  v2 seemed so much simpler.
>
>
>