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

ldapsearch problem



Hello all
my slapd.conf
and my file LDIF function ok

---LDIF---

dn: uid=costal, dc=example, dc=com
#objectclass: top
objectclass: organizationalPerson
objectclass: inetOrgPerson
cn: Ivan Rodriguez Aguilar
sn: Ivan
givenname: Ivan
uid: costal
ou: people
description: Departamento de Redes
mail: costal@example.com
telephonenumber: 1268

----END LDIF

if use ldapadd
ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f upn.ldif
the result is ok
but when trie use ldapsearch
ldapsearch -LLL "(sn=Ivan)" cn sn telephoneNumber
all fail dont find nothing
one more
i have the imp webmail and LDAP is TRUE
but don find nothing

EXAMPLE ERROR
----------------------------------

connection_get(7): got connid=1
connection_read(7): checking for input on id=1
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  0c                                                 .
ldap_read: want=12, got=12
  0000:  02 01 01 60 07 02 01 02  04 00 80 00               ...`........
ber_get_next: tag 0x30 len 12 contents:
do_bind
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
do_bind: version=2 dn="" method=128
send_ldap_result: conn=1 op=0 p=2
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 7
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
do_bind: v2 anonymous bind
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
connection_get(7): got connid=1
connection_read(7): checking for input on id=1
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  4d                                                 M
ldap_read: want=77, got=77
  0000:  02 01 02 63 48 04 0d 64  63 3d 75 70 6e 78 2c 64
...cH..dc=upnx,d
  0010:  63 3d 6d 78 0a 01 02 0a  01 00 02 01 00 02 01 00
c=mx............
  0020:  01 01 00 a0 26 87 04 6d  61 69 6c a4 1e 04 02 63
....&..mail....c
  0030:  6e 30 18 81 16 63 6f 73  74 61 6c 40 73 65 72 76
n0...costal@serv
  0040:  69 64 6f 72 2e 75 70 6e  2e 6d 78 30 00            idor.upn.mx0.
ber_get_next: tag 0x30 len 77 contents:
do_search
ber_scanf fmt ({aiiiib) ber:
begin get_filter
AND
begin get_filter_list
begin get_filter
PRESENT
ber_scanf fmt (o) ber:
end get_filter 0
begin get_filter
SUBSTRINGS
begin get_substring_filter
ber_scanf fmt ({o) ber:
ber_scanf fmt (O) ber:
  ANY
end get_substring_filter
end get_filter 0
end get_filter_list
end get_filter 0
ber_scanf fmt ({v}}) ber:
send_ldap_result: conn=1 op=1 p=2
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... ....
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
connection_get(7): got connid=1
connection_read(7): checking for input on id=1
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  05                                                 .
ldap_read: want=5, got=5
  0000:  02 01 03 42 00                                     ...B.
ber_get_next: tag 0x30 len 5 contents:
do_unbind
connection_closing: readying conn=1 sd=7 for close
connection_resched: attempting closing conn=1 sd=7
connection_close: conn=1 sd=7
-----------------------


PLEASE HELP ME