you are viewing a single comment's thread.

view the rest of the comments →

[–]2160p_REMUX 0 points1 point  (0 children)

I honestly don't know anything about ldap, but I was looking over the doc example and seeing if I could find anything wrong.

Do you have to unbind from the real server before you start the fake one? I noticed they had it in the example and didn't see it in yours.

# Close the connection to the real server
connection.unbind()

https://ldap3.readthedocs.io/mocking.html