Active Directory authentication

"Norton, Mike" <[email protected]>
Newsgroups gmane.network.nocat
Message-ID <[email protected]>
Hello,

I'm trying to get a NoCat auth server to authenticate against a Windows
2000 Active Directory using LDAP. It doesn't seem to be working, and I
can't find much useful information about this setup. I know it is
possible, so if someone could help me out I'd be willing to update the
appropriate documentation.

The problem is that when I try to log in, I get the error, "That e-mail
address is unknown. Please try again." I do have Net::LDAP and
IO::Socket::SSL installed and can successfully query the Windows server
using the OpenLDAP client.

This is the pertinent part of my config:

DataSource            LDAP
LDAP_Host             192.168.2.27
LDAP_Base             ou=Users,dc=pwsb33,dc=ab,dc=ca
LDAP_Admin_User       cn=Administrator,ou=Users,dc=pwsb33,dc=ab,dc=ca
LDAP_Admin_PW         12345678
LDAP_Hash_Passwords   Yes
LDAP_Search_as_Admin  Yes
LDAP_Filter           sAMAccountName

Is my LDAP_Filter correct? I am sort of just guessing on that. Beyond
that, I have no idea what else I might be doing wrong. Something simple,
I hope. ;-)


Mike Norton
IT Support
Peace Wapiti School Division #76
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.