While debugging another error I just ran qmail-ldaplookup and noticed that it hangs after this output:

control_readline: Will search LDAP for: control/ldapbasedn
  control_ldap_search: me =

So I ran it with strace and got this:

write(4, "[EMAIL PROTECTED],ou=admins"..., 71) = 71
select(1024, [4], [], NULL, NULL)       = 1 (in [4])
read(4, "0\f\2\1\1a\7\n", 8)            = 8
read(4, "\1\0\4\0\4\0", 6)              = 6
time(NULL)                              = 1106331064
write(2, "qldap_bind: successful\n", 23) = 23
write(2, "  SUCCESS\n\n", 11)           = 11
write(2, "control_readline: Will search LD"..., 59) = 59
write(2, "  control_ldap_search: me = ", 28) = 28
write(2, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192) = 8192
write(2, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192) = 8192

These null write strings just go on forever.

Any tips?

Regards,
Harald

Reply via email to