I guess I need help setting up external authentication for dotLRN.
This is what I have:
AOLServer 4.0.10
dotLRN 2.1.1
Postgres 7.4.7
I wish to authenticate user logins to Active Directory handled by our Windows 2000 servers.
Following the instructions as per http://openacs.org/doc/openacs-5-1/install-ldap-radius.html
I installed Openldap
Then I installed ns_ldap
amended my config.tcl and added the following lines:
# LDAP authentication
ns_param nsldap ${bindir}/nsldap.so
#
# ldap pool ldap
#
ns_section "ns/ldap/pool/ldap"
ns_param user "cn=administrator, o=mycompany"
ns_param password "mypassword"
ns_param host "myserver:389"
ns_param connections 1
ns_param verbose on
#
# ldap pools
#
ns_section "ns/ldap/pools"
ns_param ldap ldap
#
# ldap default pool
#
ns_section ns/sever/${server}/ldap
ns_param Pools *
ns_param DefaultPool ldap
I then restarted everything and went into the dotLRN using a local admin account
Went into Control Panel, .LRN Site wide administration, OpenACS Site Wide Administration, Authentication
Created a new Authority
Shortname = myldap
Authentication = LDAP
Password Management = LDAP
Account registration = LDAP
USer Info = LDAP
Batch sync enabled = Yes
GetDocument implementation = Local Filesystem
Process Document = IMS enterprise 1.1
(The rest of the fields are left blank)
Under Configure Drivers for this authority, parameters are:
DNPattern = uid={username}, cn={screen_name}, mail={email}
UsernameAttribute = uid
Elements = username email first_names last_name url
SnapshotPath =
BaseDN = dc=ourdomain,dc=com
InfoAttributeMap = first_names=givenName;last_name=sn;email=mail
IncrementalPath =
Attributes =
PasswordHash = MD5
I have tried it with the PasswordHash set to SHA, SSHA and CRYPT but this doesn't make a difference.
Once all this is set I am now trying to log in using a uid and password that is set up on our Windows domain. But the login is refused as username or password invalid.
Where am I going wrong? Is there something else I need to change? Have I installed the correct drivers/packages?
How can I diagnose where the problem is and where it gets stuck? Is there any other documentation out there? Any help would be greatly appreciated.
Request notifications