[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Bugs?
Hi,
Has anyone tested openldap-stable/release on solaris 2.6?
I could not get it working using NDBM. All dbm stuff will
complain "not enough memory". (The tests/ directory
failed).
Anyway i abandon this and gone to gdbm. So here is my problem.
(ldif2ldbm works, all the tests/ directory stuff passes)
I did a sample config file and ldif file as given in the
slapd manual (at end of this mail).
But to my surprise using ldapsearch does not return any result....
Client
------
% ldapsearch -h 127.0.0.1 -p 12345 'objectclass=*' yields
ldap_search: Partial results and referral received
!!! That's it not output of field printed.... !!!!
Here is the slapd verbose info:
-------------------------------
select activity on 1 descriptors
new connection on 5
activity on:
listening for connections on 3, activity on: 5r
before select active_threads 0
select activity on 1 descriptors
activity on: 5r
read activity on 5
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf 0x718f8, ptr 0x718f8, end 0x71904
current len 12, contents:
02 01 01 ` 07 02 01 02 04 00 80 00
do_bind
listening for connections on 3, activity on:do_bind: version 2 dn () method 128
send_ldap_result 0::
5r
before select active_threads 1
ber_flush: 14 bytes to sd 5
0 0c 02 01 01 a 07 0a 01 00 04 00 04 00
select activity on 1 descriptors
activity on: 5r
read activity on 5
ber_get_next
ber_get_next: tag 0x30 len 67 contents:
ber_dump: buf 0x67090, ptr 0x67090, end 0x670d3
current len 67, contents:
02 01 02 c > 04 1e o = Y o u r 20 O r
g a n i z a t i o n 20 N a m e ,
20 c = U S 0a 01 02 0a 01 00 02 01 00 02 01
00 01 01 00 87 0b o b j e c t c l a s
s 0 00
listening for connections on 3, activity on: 5r
before select active_threads 1
do_search
SRCH "o=Your Organization Name,c=US" 2 0 0 0 0
begin get_filter
PRESENT
end get_filter 0
filter: (objectclass=*)
attrs:
send_ldap_result 9::
ber_flush: 14 bytes to sd 5
0 0c 02 01 02 e 07 0a 01 09 04 00 04 00
select activity on 1 descriptors
activity on: 5r
read activity on 5
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf 0x707b0, ptr 0x707b0, end 0x707b5
current len 5, contents:
02 01 03 B 00
do_unbind
listening for connections on 3, activity on: 5r
before select active_threads 1
select activity on 1 descriptors
activity on: 5r
read activity on 5
ber_get_next
ber_get_next on fd -1 failed errno 9 (Bad file number)
*** got 0 of 0 so far
listening for connections on 3, activity on:
before select active_threads 0
ldif.txt
--------
dn: o=NSRC, c=SG
o: NSRC
objectclass: organization
dn: cn=ecae, o=NSRC, c=SG
cn: ecae
sn: ecae
mail: dynopt@nsrc.nus.edu.sg
objectclass: person
myslapd.conf
------------
include ./slapd.at.conf
include ./slapd.oc.conf
database ldbm
directory /tmp/DBM
suffix "o=NSRC, c=SG"
rootdn "cn=Manager, o=NSRC, c=SG"
rootpw some_secret
- Follow-Ups:
- Re: Bugs?
- From: Dan Morrill <morrill@crd.ge.com>
- Re: Bugs?
- From: Graham Dunn <gdunn@ineural.com>