[python-ldap] stop tls without ldap unbind

dipti Burli diptiburli21 at gmail.com
Tue May 23 01:55:45 EDT 2017


Hi ,



I do

conn = ldap.initialize('ldap://localhost:16611')

conn.start_tls_s()

  print '\nBinding\n'

  conn.simple_bind_s("cn=sdfrun", "sdfrun1")



At this point i want to do something like

  #conn.stop_tls_s()



  so that the messages on this connection go as plain ldap messgaes (
search/modify etc) and not encrypted.


How can I do that?


Thanks,

Dipti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20170523/5c6024c4/attachment.html>


More information about the python-ldap mailing list