The only reply you’re getting from ldapsearch is the same error you’re 
receiving from python ldap: your bind to the AD domain is unsuccessful. You 
haven’t had a successful bind to your AD domain using python ldap or 
ldapsearch… it’d be nice to confirm that you can bind to your AD domain using a 
standard tool before troubleshooting any Baruwa issues.

You’ll need to upgrade to the latest version of Baruwa to use the updated 
ad.py: http://www.baruwa.org/docs/1.0/upgrade.html

Otherwise you’ll need to revert back to the original ad.py since the latest 
version allows multi AD domain authentication (which is why you’re getting the 
error about the missing MailADAuthHost class).

From: [email protected] [mailto:[email protected]] 
On Behalf Of Frederik Vande Rieviere
Sent: Monday, April 08, 2013 11:04 AM
To: Baruwa users list
Subject: Re: [Baruwa] question concerning AD authentication


Ø  You’ll need to attempt binding with the ldapsearch to verify you can even 
reach your servers. See https://help.ubuntu.com/community/ActiveDirectoryHowto 
for full details. Your command should look more like:

Ø  ldapsearch -h mydomaincontroller.domain.addy -x -b " DC=domain,DC=addy" -D 
"CN=sampleUsertoBindWith,OU=sampleUserLocation,DC=domain,DC=addy" -W 
"sAMAccountName=yourusertosearch"

Ø  We’re trying to establish that you CAN reach and query your domain from the 
relay...

Is that absolutely necessary? I imagine that if I can both telnet to the port 
is open and I get a reply from ldapsearch, I should be able to query the DC? 
Why is learning the syntax of *another* authentication tool required to debug 
*your* authentication tool?

I’ll try to see what I get from ldapsearch but I’ve never used this application 
so I don’t even know where to start to get this to yield sensible output for my 
implementation so this might take a while.


Ø  As for ad.py, just update both if you’re unsure (not ad.pyc – that’s 
compiled byte code)… you may find one is symlinked. I don’t know how that 
distribution is configured. Backup the originals just in case.

I tried this, it crashes again now :


_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to