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

Re: ldap tunneling question



Hi All,

I have been trying to make stunnel work, but I keep getting null search
result. Here's the output:

$ /usr/local/src/stunnel-3.8:2582> stunnel -D 7 -c -f -r 636 -L '/usr/local/bin/ldapsearch -- -b
"ou=people,o=usyd.edu.au" "(uid=jiegao)"'
LOG7[12433:1]: Service name to be used: ldapsearch -- -b "ou=people,o=usyd.edu.au" "(uid=jiegao)"
LOG5[12433:1]: stunnel 3.8 on sparc-sun-solaris2.7 PTHREAD
LOG7[12433:1]: /dev/pts/22 allocated
LOG3[12435:1]: execvp: No such file or directory (2)
LOG7[12433:1]: ldapsearch -- -b "ou=people,o=usyd.edu.au" "(uid=jiegao)" started
LOG7[12433:1]: ldapsearch -- -b "ou=people,o=usyd.edu.au" "(uid=jiegao)" connecting 127.0.0.1:636
LOG7[12433:1]: Remote host connected
LOG7[12433:1]: before/connect initialization
LOG7[12433:1]: before/connect initialization
LOG7[12433:1]: SSLv3 write client hello A
LOG7[12433:1]: SSLv3 read server hello A
LOG7[12433:1]: SSLv3 read server certificate A
LOG7[12433:1]: SSLv3 read server done A
LOG7[12433:1]: SSLv3 write client key exchange A
LOG7[12433:1]: SSLv3 write change cipher spec A
LOG7[12433:1]: SSLv3 write finished A
LOG7[12433:1]: SSLv3 flush data
LOG7[12433:1]: SSLv3 read finished A
LOG7[12433:1]: SSL negotiation finished successfully
LOG7[12433:1]:    1 items in the session cache
LOG7[12433:1]:    1 client connects (SSL_connect())
LOG7[12433:1]:    1 client connects that finished
LOG7[12433:1]:    0 client renegotiatations requested
LOG7[12433:1]:    0 server connects (SSL_accept())
LOG7[12433:1]:    0 server connects that finished
LOG7[12433:1]:    0 server renegotiatiations requested
LOG7[12433:1]:    0 session cache hits
LOG7[12433:1]:    0 session cache misses
LOG7[12433:1]:    0 session cache timeouts
LOG7[12433:1]: SSL negotiation finished successfully
LOG6[12433:1]: ldapsearch -- -b "ou=people,o=usyd.edu.au" "(uid=jiegao)" opened with SSLv3, cipher
DES-CBC3-SHA (168 bits)
LOG7[12433:1]: Socket closed on read
LOG5[12433:1]: Connection closed: 0 bytes sent to SSL, 0 bytes sent to socket
LOG7[12433:1]: ldapsearch -- -b "ou=people,o=usyd.edu.au" "(uid=jiegao)" finished (0 left)

Search on port 389 produces an entry.

Any idea why?

Thanks,


Jie