Anyone get LDAPauth or MADAuthlite to work with AD2003 ?  Bottom

  • I've been trying to configure everything correctly for a couple of weeks now (not full weeks, just off and on) without any luck. I know my LDAP settings are correct because I can connect via a java LDAP browser using these settings. I've also verified them with my company's LDAP guy. I'm running postnuke on a linux machine on the domain. It is hosting my company's intranet site. We would like to have a "single sign on", ie, authenticate to the domain using LDAP. I have tried everything and I always get the "Wrong user name or password. Please try again..." page. It doesn't matter if the user exists in postnuke or not, but the user does exist on the domain. Here are my settings:

    Authentication using - PN and LDAP
    Server Address - LDAP://mydomain.com
    Base DN - dc=mydomain,dc=com
    Bind as - my domain account CN=Lname\, Fname, OU=Users,OU=xxx,DC=mydomain,DC=com
    Search base - OU=Users,OU=xxx,OU=yyy,DC=mydomain,DC=com
    Search user using Attribute - sAMAccountName

    Everything works perfectly if I use the base dn, bind as, and search base in a LDAP browser. What could possibly be wrong? This is getting very frustrating.......error logs show nothing, access logs show nothing......I'm not sure where to even begin to troubleshoot. Has anyone been able to get this working in a similar case?
  • I had some problems with ldapauth myself. I can offer my fix, but not sure if it's what is recommended. If you check your modules list, you should see LDAPAuth listed. Go to the LDAPAuth directory on your server and rename it to ldapauth. Go back into modules, and you will now see 2 modules LDAPAuth and ldapauth. Initialize and activate ldapauth. Then go back in and put in your correct settings. Not sure if that will work for you, but it did for me.
  • After extensive googling and recoding some of the MADauthlite module I was able to bind and authenticate to our active directory / LDAP. Once I firm up some of the code I will post the changes (if anyone is interested). Please PM me for specific questions and I'll do my best to help out.......maybe my efforts will help someone avoid all the time I wasted trying to get this supposidly "working" module work. It may work on some cases, but it didn't for my situation until I recoded some of it!
  • I'm tryin to setup Postnuke on a gentoo box with LDAP authentication to a win2k3 domain. Now i think i have the configuration right but when i login i get responce of LDAP server: Resource id #77 any clues what this could be ? is there a list of all the resource id's with the meanings ?

    Cheers.

This list is based on users active over the last 60 minutes.