Yes. I'll update settings.py on github. It's good to keep LDAP hostname and domain name settings separate... that way if someone decided to use an IP instead of an FQDN it doesn't attempt to bind with [email protected] instead of [email protected]
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Frederik Vande Rieviere Sent: Wednesday, April 10, 2013 10:34 AM To: Baruwa users list Subject: Re: [Baruwa] question concerning AD authentication > /usr/local/lib/python2.6/dist-packages/baruwa-1.1.2-py2.6.egg/baruwa/auth/ad.py > It doesn't look like ad.py has been updated if you're still receiving that > error... The edits > to ad.py will force the use of settings.py values when > no AD hosts are defined in MySQL table > auth_domain... I seem to have skipped the ad.py you mentioned (possibly because it wasn't indexed in the locate database yet) I did have to reboot for changes to take effect though... I now get this error : AttributeError at /accounts/login/ 'Settings' object has no attribute 'AD_AUTH_DOMAIN' Do I add AD_AUTH_DOMAIN= 'domain.com' to my settings.py? _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056 _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

