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

Problems with openldap-2.2.17



Hi all,

            I am in need of help with openldap. I have had flawless
operation from a previous version 2.0. ( Mandrake 9.1 ) for a year. I may
have blundered by copying the database from one version to another. Openldap
fired up and uses the file, but when I use gq or directory_administrator to
maintain the database , ldap doesn't take the modifications and bombs out
with "no structuralObjectClass operational attribute". As I have tried all
that I can think of, can someone help me?



Thanks in advance





PS

Here is the log dump ( loglevel -1 )

Oct 19 10:20:22 multiskilled2 slapd[3240]: daemon: activity on 1 descriptors
Oct 19 10:20:22 multiskilled2 slapd[3240]: daemon: activity on:

Oct 19 10:20:22 multiskilled2 slapd[3240]:  7r Oct 19 10:20:22 multiskilled2
slapd[3240]:

Oct 19 10:20:22 multiskilled2 slapd[3240]: daemon: read activity on 7 Oct 19
10:20:22 multiskilled2 slapd[3240]: connection_get(7) Oct 19 10:20:22
multiskilled2 slapd[3240]: connection_get(7): got connid=1 Oct 19 10:20:22
multiskilled2 slapd[3240]: connection_read(7): checking for input on id=1
Oct 19 10:20:22 multiskilled2 slapd[3240]: ber_get_next on fd 7 failed
errno=11 (Resource temporarily unavailable) Oct 19 10:20:22 multiskilled2
slapd[3240]: do_modify Oct 19 10:20:22 multiskilled2 slapd[3240]: do_modify:
dn (uid=jlcox,ou=People,dc=multiskilled)

Oct 19 10:20:22 multiskilled2 slapd[3240]: => get_ctrls Oct 19 10:20:22
multiskilled2 slapd[3240]: => get_ctrls: oid="2.16.840.1.113730.3.4.2"
(critical) Oct 19 10:20:22 multiskilled2 slapd[3240]: <= get_ctrls: n=1 rc=0
err=""

Oct 19 10:20:22 multiskilled2 slapd[3240]: >>> dnPrettyNormal:
<uid=jlcox,ou=People,dc=multiskilled>

Oct 19 10:20:22 multiskilled2 slapd[3240]: <<< dnPrettyNormal:
<uid=jlcox,ou=People,dc=multiskilled>, <uid=jlcox,ou=people,dc=multiskilled>

Oct 19 10:20:22 multiskilled2 slapd[3240]: modifications:

Oct 19 10:20:22 multiskilled2 slapd[3240]: ^Iadd: description Oct 19
10:20:22 multiskilled2 slapd[3240]: ^I^Ione value, length 2 Oct 19 10:20:22
multiskilled2 slapd[3240]: ^Ireplace: cn Oct 19 10:20:22 multiskilled2
slapd[3240]: ^I^Ione value, length 11 Oct 19 10:20:22 multiskilled2
slapd[3240]: conn=1 op=23 MOD dn="uid=jlcox,ou=People,dc=multiskilled"

Oct 19 10:20:22 multiskilled2 slapd[3240]: conn=1 op=23 MOD attr=description
cn Oct 19 10:20:22 multiskilled2 slapd[3240]: ldbm_back_modify:

Oct 19 10:20:22 multiskilled2 slapd[3240]: dn2entry_w: dn:
"uid=jlcox,ou=people,dc=multiskilled"

Oct 19 10:20:22 multiskilled2 slapd[3240]: => dn2id(
"uid=jlcox,ou=people,dc=multiskilled" ) Oct 19 10:20:22 multiskilled2
slapd[3240]: ====>
cache_find_entry_ndn2id("uid=jlcox,ou=people,dc=multiskilled"): 1543700480
(1 tries) Oct 19 10:20:22 multiskilled2 slapd[3240]: <= dn2id 1543700480 (in
cache) Oct 19 10:20:22 multiskilled2 slapd[3240]: => id2entry_w(
1543700480 ) Oct 19 10:20:22 multiskilled2 slapd[3240]: ====>
cache_find_entry_id( 1543700480 ) "uid=jlcox,ou=People,dc=multiskilled"
(found) (1 tries) Oct 19 10:20:22 multiskilled2 slapd[3240]: <=
id2entry_w( 1543700480 ) 0x81f9780 (cache) Oct 19 10:20:22 multiskilled2
slapd[3240]: ldbm_modify_internal: uid=jlcox,ou=People,dc=multiskilled

Oct 19 10:20:22 multiskilled2 slapd[3240]: <= acl_access_allowed: granted to
database root Oct 19 10:20:22 multiskilled2 slapd[3240]:
ldbm_modify_internal: add Oct 19 10:20:22 multiskilled2 slapd[3240]:
ldbm_modify_internal: replace Oct 19 10:20:22 multiskilled2 last message
repeated 3 times Oct 19 10:20:22 multiskilled2 slapd[3240]: No
structuralObjectClass for entry (uid=jlcox,ou=People,dc=multiskilled)

Oct 19 10:20:22 multiskilled2 slapd[3240]: entry failed schema check: no
structuralObjectClass operational attribute Oct 19 10:20:22 multiskilled2
slapd[3240]: send_ldap_result: conn=1 op=23 p=3 Oct 19 10:20:22
multiskilled2 slapd[3240]: send_ldap_result: err=80 matched="" text="no
structuralObjectClass operational attribute"

Oct 19 10:20:22 multiskilled2 slapd[3240]: send_ldap_response: msgid=24
tag=103 err=80 Oct 19 10:20:22 multiskilled2 slapd[3240]: conn=1 op=23
RESULT tag=103 err=80 text=no structuralObjectClass operational attribute
Oct 19 10:20:22 multiskilled2 slapd[3240]: ====> cache_return_entry_w(
1543700480 ): returned (0) Oct 19 10:20:22 multiskilled2 slapd[3240]:
daemon: select: listen=6 active_threads=0 tvp=NULL





Jason Cox

System Administrator



Multiskilled Resources Australia Pty Ltd



ph           02 4908 0000 (office)

ph           02 4908 0015 (direct)

mob        0422 446 698

fx            02 4942 4125



email      jason.cox@multiskilled.com.au