ValueError: option error in Django / Python

I'm building a django website and trying to implement LDAP to it.

Whenever I call ldap.set_option(), I get this error:

ValueError: option error

Any idea why this is happening?

This is the document I'm following.

Thanks for looking into this and greatly appreciate your help!


Is AUTH_LDAP_GLOBAL_OPTIONS defined and does it have items in it?

Perhaps it is not defined?

Need Your Help

Jquery call wcf service giving 200 Parser Error json wcf jquery jsonp

I'm new to WCF world. i'm having a solution which contains Web App(which has JQuery Ajax call to WCF services application which is another project in the solution. After 2 days of working(cracking)...

Is than any better way for Round corners for Div with jquery.corner.js?

javascript jquery html css

I am currently using jquery corner for making a div round cornered. But the problem I am facing is that when the background of that rounded div is a gradient, it is showing some odd colors in the c...