
I begun testing OTRS 1.2.2 about a week back and I am really happy to see
this product. Its really amazingly to work with and it encourages one to try
to push it to the limits. Hence, I tried to use active directory for
authenticating the users against it.
While going through the documentation for LDAP, it was mentioned that users
had to be in the database before they can be authenticated against. I tried
to set up the system but it simply refuses to acknowledge my LDAP users.
I was also confused with some of the things mentioned about LDAP.
a. It says that the users have to be added in the system manually but
previous versions (<1.1) used to add users automatically. Why was that
support removed ?
b. It seems that only customers are tried to be authenticated against the
Active Directory but not the Agents. Am I right or is that another setting
in config.pm that I missed out for some reason ?
c. Full Active Directory support is expected in version 2. What is the time
frame for version 2 to come out ?
d. When I looked in the \otrs\Kernel\System\Auth directory, I found two
modules or files named LDAP.pm and LDAPNew.pm. Do I need to rename one of
the modules or something ?
d. I added a customer called test in the database and I have a user test in
the Active directory. When I try to login as the customer test, I get an
error authenticating user. Entry does not exist. The settings in my
Config.pm file are:
# This is the auth. module againt the otrs db
#$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::DB';
# This is an example configuration for an LDAP auth. backend.
# (take care that Net::LDAP is installed!)
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
#$Self->{'Customer::AuthModule::LDAP::Host'} = '141.161.77.106';
$Self->{'Customer::AuthModule::LDAP::Host'} = '141.161.250.11';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'dc=ha,dc=georgetown,dc=edu';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'SAMAccountName';
The entry in my error log is:
[Wed Apr 21 08:51:02 2004][Notice][Kernel::System::CustomerAuth::LDAP::Auth]
CustomerUser: test login failed, no LDAP entry
found!BaseDN='