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

ldapsearch doesn't quit



Hi list,

when I do an ldapsearch to an Active Directory via GSSAPI (I did a kinit 
first) the search works, but I don't get back to the shell prompt. I 
have to hit CTRL-C for that. I remember that I need not to do this some 
time before.

Server side is Win2K3 Server EE and client side is Gentoo Linux with 
openldap-2.1.30-r2, mit-krb5-1.3.4 and cyrus-sasl-2.1.19-r1

If I do ldapsearch -d 1 I get a lot of those lines in between the 
attributes:
ber_scanf fmt ({x{{a) ber:
ber_scanf fmt (x}{a) ber:
ber_scanf fmt (x}{a) ber:
ber_scanf fmt (x}{a) ber:
ber_scanf fmt (x}{a) ber:
ber_scanf fmt (x}{a) ber:
ber_scanf fmt (x}{a) ber:
ber_scanf fmt (x}{a) ber:
ber_scanf fmt (x}{a) ber:

And it ends with:

....
** Outstanding Requests:
 * msgid 5,  origid 5, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=-1, all=0
ldap_chkResponseList returns NULL
read1msg: msgid -1, all 0
ber_get_next
ber_get_next: tag 0x30 len 16 contents:
ldap_read: message type search-result msgid 5, original id 5
ber_scanf fmt ({iaa) ber:
read1msg:  0 new referrals
read1msg:  mark request completed, id = 5
request 5 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 5, msgid 5)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_int_select           
 <CTRL-C> get's back to my shell prompt

TIA and kind regards,

Timo