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

Re: no structuralObject in entry?



----- Original Message ----- 
From: "Dieter Kluenter" <dieter@dkluenter.de>
To: <openldap-software@OpenLDAP.org>
Sent: Wednesday, December 10, 2003 10:55 AM
Subject: Re: no structuralObject in entry?


> Hi,
>
> "Charlie Pauch" <perlldap@wrkcs.net> writes:
>
> > 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.
>
> Just do a 'ldapsearch -b "uid=cpauch,dc=wrkcs,dc=net" -s base +'
> this will show you the entry's operational attributes.
>
> -Dieter
>
ok, did that, and ended up with this:

# extended LDIF
#
# LDAPv3
# base <uid=cpauch,dc=wrkcs,dc=net> with scope base
# filter: (objectclass=*)
# requesting: +
#

# cpauch, wrkcs.net
dn: uid=cpauch,dc=wrkcs,dc=net
entryUUID: cfb2013a-b93e-1027-8aa8-a6589f4b39fb
creatorsName: cn=manager,dc=wrkcs,dc=net
createTimestamp: 20031202181219Z
entryCSN: 2003120921:43:24Z#0x0001#0#0000
modifiersName: cn=replicator,dc=wrkcs,dc=net
modifyTimestamp: 20031209214324Z
subschemaSubentry: cn=Subschema
hasSubordinates: FALSE

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

I dont see any structuralobjectclass on there, so does that mean I dont'
have one?
>
> -- 
> Dieter Kluenter  | Systemberatung
> Tel:040.64861967 | Fax: 040.64891521
> mailto: dkluenter(at)dkluenter.de
> http://www.avci.de
>
>