I'll admit I'm a newbie with ldap... (< 1 week),
but I wanted to set up a directory. So now I have problems that I didn't have
before...
Ok, here's my problem. I installed a slapd version 1.2.5 (from RPM, not source) since I'm running RH 5.2. If I try to run ldapsearch -h 127.0.0.1
'objectclass=*'
I get ldap_search: No such object
I've recreated the ldbm four times with the same
exact results.
Is the a version problem, or am I just not getting
the slapd.conf stuff right?
Big thanks from: save a brain
foundation...
---steve---
SLAPD_MONITOR_DN search
output:
CN=MONITOR version=slapd 1.2.5-Release (Mon Aug 2 10:47:38 EEST 1999) threads=1 connection=7 : 19991010173028Z : 2 : 1 : NULLDN : currentconnections=1 totalconnections=2 dtablesize=256 writewaiters=0 readwaiters=0 opsinitiated=5 opscompleted=4 entriessent=1 bytessent=487 currenttime=19991010173028Z starttime=19991010171735Z nbackends=1 When I run slapd w/debug and I try to do a database
read using an ie5 addressbook client, I get the following debug
trace:
ber_get_next ber_get_next: tag 0x30 len 16 contents: ber_dump: buf 0x808e540, ptr 0x808e540, end 0x808e550 current len 16, contents: 02 01 01 ` 84 00 00 00 07 02 01 03 04 00 80 00 (end) unknown version 3 ber_flush: 35 bytes to sd 7 0 ! 02 01 01 a 1c 0a 01 02 04 00 04 15 v e r s i o n 20 n o t 20 s u p p o r t e d ber_get_next ber_get_next ber_get_next: tag 0x30 len 16 contents: ber_dump: buf 0x808e540, ptr 0x808e540, end 0x808e550 current len 16, contents: 02 01 02 ` 84 00 00 00 07 02 01 02 04 00 80 00 (end) ber_flush: 14 bytes to sd 7 0 0c 02 01 02 a 07 0a 01 00 04 00 04 00 ber_get_next ber_get_next: tag 0x30 len 741 contents: ber_dump: buf 0x808f4e0, ptr 0x808f4e0, end 0x808f7c5 current len 741, contents: 02 01 03 c 84 00 00 02 dc 04 04 c = U S 0a 01 02 0a 01 03 02 01 d 02 01 < 01 01 00 a1 84 00 00 00 a5 a4 84 00 00 00 1b 04 02 c n 0 84 00 00 00 11 80 0f s t e v e 20 g r a b o w s k i a1 84 00 00 00 ~ a0 84 00 00 00 9 a4 84 00 00 00 11 04 02 s n 0 84 00 00 00 07 80 05 s t e v e a4 84 00 00 00 1c 04 09 g i v e n N a m e 0 84 00 00 00 0b 80 09 g r a b o w s k i a0 84 00 00 00 9 a4 84 00 00 00 18 04 09 g i v e n N a m e 0 84 00 00 00 07 80 05 s t e v e a4 84 00 00 00 15 04 02 s n 0 84 00 00 00 0b 80 09 g r a b o w s k i 0 84 00 00 02 16 04 0c d i s p l a y - n a m e 04 02 c n 04 0a c o m m o n N a m e 04 04 m a i l 04 0c o t h e r M a i l b o x 04 09 g i v e n N a m e 04 02 s n 04 07 s u r n a m e 04 02 s t 04 01 c 04 02 c o 04 10 o r g a n i z a t i o n N a m e 04 01 o 04 02 o u 04 16 o r g a n i z a t i o n a l U n i t N a m e 04 03 U R L 04 09 h o m e P h o n e 04 18 f a c s i m i l e T e l e p h o n e N u m b e r 04 1d o t h e r F a c s i m i l e T e l e p h o n e N u m b e r 04 09 O f f i c e F a x 04 06 m o b i l e 04 0a o t h e r P a g e r 04 0b O f f i c e P a g e r 04 05 p a g e r 04 04 i n f o 04 05 t i t l e 04 0f t e l e p h o n e N u m b e r 04 01 l 04 11 h o m e P o s t a l A d d r e s s 04 0d p o s t a l A d d r e s s 04 0d s t r e e t A d d r e s s 04 06 s t r e e t 04 0a d e p a r t m e n t 04 07 c o m m e n t 04 0a p o s t a l C o d e 04 1a p h y s i c a l D e l i v e r y O f f i c e N a m e 04 08 i n i t i a l s 04 15 c o n f e r e n c e I n f o r m a t i o n 04 16 u s e r C e r t i f i c a t e ; b i n a r y 04 1b u s e r S M I M E C e r t i f i c a t e ; b i n a r y 04 0a l a b e l e d U R I 04 07 M a n a g e r 04 07 R e p o r t s 04 07 I P P h o n e ber_flush: 14 bytes to sd 7 0 0c 02 01 03 e 07 0a 01 20 04 00 04 00 ber_get_next |