Hi all,

        I am new to RT - Just installed 1.3.2 from source, and I would
like to setup LDAP auth to Active Directory. After reading the many
examples out there I have made it to a point where when a user hits the
customer.pl and puts in their Active Directory username and password you
see a message in the logs that the auth was successful - but the web
page shows Panic! No UserData!!!

I assume this is because RT wants that users information in it's own
database, hence the overlay to
http://wiki.bestpractical.com/index.cgi?AutoCreateFromExternalUserInfo
AutoCreate -

My problem is I believe in installing this overlay - the documentation
refers to a couple of items that do not seem to exist - such as
RTSiteConfig.pm which does not exist - so I was using Config.pm - or the
'lib' directory where you are supposed to put files - I have just been
placing them in Kernel/System -

To get the auth and user creation to work - I copied the User_Local.pm
and CurrentUser_Local.pm into System - So far the auth piece works but
the user creation does not - No errors are reported in the logs .....

Added the following lines to Config.pm

    # 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'} = '172.17.17.110';
    $Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'dc=corp,dc=phillips,dc=com';
    $Self->{'Customer::AuthModule::LDAP::UID'} = 'SamAccountName';

 $LDAPExternalAuth = 1;
 $LdapServer="172.17.17.110";
 $LdapUser="cn=administrator,cn=Users,dc=corp,dc=phillips,dc=com";
 $LdapPass="ourpass";
 $LdapBase="dc=corp,dc=phillips,dc=com";
 $LdapUidAttr="sAMAccountName";
 $LdapFilter="(objectclass=*)";
 $LdapTLS = 0;
 $LdapGroup ="cn=Domain Users,ou=Users,dc=corp,dc=phillips,dc=com";
 $LdapGroupAttribute = 'uniqueMember';
 $LdapSSLVersion = 2;
      $LdapNameAttr = "cn";
      $LdapMailAttr = "mail";
      $AutoCreateFromExternalUserInfo = 1;


Any thoughts appreciated,

Edward B
Ebrooathealthydirections.com



_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to