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

objectclass missing in schema?



Hi,

I am trying to get openldap 2.0.18 to work with iPlanet Web Server 4.1 sp6.
iPlanet seems to bind OK to slapd, but when I click on Users and Groups I
get:

"An error occurred while contacting the LDAP server. 
(No such object) 
The server could not locate the entry. If adding a new entry, be sure that
the parent of the entry you are trying to add exists. If you received this
error while searching or viewing an entry, it indicates that the entry which
was being searched for does not exist."

I am using core.schema, cosine.schema, inetorgperson.schema and
openldap.schema. 

What is missing??


The debug is below:

SRCH "dc=buildonline,dc=com" 2 0    0 0 -1
begin get_filter
OR
begin get_filter_list
begin get_filter
EQUALITY
ber_scanf fmt ({oo}) ber:
ber_dump: buf=0x00091298 ptr=0x000912c5 end=0x0009130e len=73
  0000:  a3 1b 04 0b 6f 62 6a 65  63 74 63 6c 61 73 73 04   £...objectclass.

  0010:  0c 6f 72 67 61 6e 69 7a  61 74 69 6f 6e a3 21 04   .organization£!.

  0020:  0b 6f 62 6a 65 63 74 63  6c 61 73 73 04 12 6f 72   .objectclass..or

  0030:  67 61 6e 69 7a 61 74 69  6f 6e 61 6c 75 6e 69 74   ganizationalunit

  0040:  30 07 04 01 6f 04 02 6f  75                        0...o..ou

end get_filter 0
begin get_filter
EQUALITY
ber_scanf fmt ({oo}) ber:
ber_dump: buf=0x00091298 ptr=0x000912e2 end=0x0009130e len=44
  0000:  a3 21 04 0b 6f 62 6a 65  63 74 63 6c 61 73 73 04   £!..objectclass.

  0010:  12 6f 72 67 61 6e 69 7a  61 74 69 6f 6e 61 6c 75   .organizationalu

  0020:  6e 69 74 30 07 04 01 6f  04 02 6f 75               nit0...o..ou

end get_filter 0
end get_filter_list
end get_filter 0
    filter: (|(objectClass=organization)(objectClass=organizationalunit))
ber_scanf fmt ({v}}) ber:
ber_dump: buf=0x00091298 ptr=0x00091305 end=0x0009130e len=9
  0000:  30 07 04 01 6f 04 02 6f  75                        0...o..ou

    attrs: o ou
conn=14 op=1 SRCH base="dc=buildonline,dc=com" scope=2
filter="(|(objectClass=organization)(objectClass=org
))"
=> ldbm_back_search
dn2entry_r: dn: "DC=BUILDONLINE,DC=COM"
=> dn2id( "DC=BUILDONLINE,DC=COM" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.gdbm", 2, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result: conn=14 op=1 p=2
send_ldap_result: 10::
send_ldap_response: msgid=2 tag=101 err=32
ber_flush: 14 bytes to sd 7
  0000:  30 0c 02 01 02 65 07 0a  01 20 04 00 04 00         0....e... ....

ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 20 04 00 04 00         0....e... ....

conn=14 op=1 RESULT tag=101 err=32 text=
daemon: select: listen=6 active_threads=1 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=14
connection_read(7): checking for input on id=14
ber_get_next
ldap_read: want=1, got=0
ber_get_next on fd 7 failed errno=0 (Error 0)
connection_read(7): input error=-2 id=14, closing.
connection_closing: readying conn=14 sd=7 for close
connection_close: conn=14 sd=7
daemon: removing 7
conn=-1 fd=7 closed
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL