ValueError at /admin/ in Django
===

Thanks for looking into this. I'm very new to Django and LDAP Config....so any help is greatly appreciated! 


ActivePython 2.6, Django-1.2.7, openldap-2.4.23, python-ldap

So i have the Django installed. I'm trying to configure LDAP to it by following this instruction http://djangosnippets.org/snippets/901/.

After making making changes as described in the above document, and when i run 'python manage.py runserver' I'm gettting this error. Any idea why this is happening? Been looking at this for about a week and no idea how to get this fixed.

Error:
    ValueError at /admin/

    option error

    Request Method: 	POST 
    Request URL: 	http://0.0.0.0:8080/admin/ 
    Django Version: 	1.2.7
    Exception Type: 	ValueError
    Exception Value: 	

    option error

    Exception Location: 	/apps/essw/python/lib/python2.6/site-packages/python_ldap-2.4.10-py2.6-linux-x86_64.egg/ldap/functions.py in _ldap_function_call, line 63
    Python Executable: 	/apps/essw/python/bin/python
    Python Version: 	2.6.7
    Python Path: 	['/apps/essw/mysite', '/apps/essw/python/lib/python2.6/site-packages/python_ldap-2.4.10-py2.6-linux-x86_64.egg', '/apps/essw/python/lib/python2.6/site-packages/elementtree-1.2.7_20070827_preview-py2.6.egg', '/apps/essw/python/lib/python2.6/site-packages/Markdown-2.2.0-py2.6.egg', '/apps/essw/python/lib/python2.6/site-packages/html5lib-0.95-py2.6.egg', '/apps/essw/python/lib/python26.zip', '/apps/essw/python/lib/python2.6', '/apps/essw/python/lib/python2.6/plat-linux2', '/apps/essw/python/lib/python2.6/lib-tk', '/apps/essw/python/lib/python2.6/lib-old', '/apps/essw/python/lib/python2.6/lib-dynload', '/apps/essw/python/lib/python2.6/site-packages', '/apps/essw/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']
    Server time: 	Wed, 25 Jul 2012 09:06:41 -0500
