
Hi Troy, AFAIK agents are authenticated against OTRS's database, but the information for those accounts is first probed in the LDAP directory. If you're getting a "panic no user data!" when logging in as a agent, the information isn't being synced to OTRS's database. Have you implemented the following code: # agent data sync against ldap $Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP'; $Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://ldap.example.com/'; $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=otrs, dc=org'; $Self->{'AuthSyncModule::LDAP::UID'} = 'uid'; $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'uid=sys, ou=user, dc=otrs, dc=org'; $Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'some_pass'; $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = { # DB -> LDAP UserFirstname => 'givenName', UserLastname => 'sn', UserEmail => 'mail', }; [...] # AuthSyncModule::LDAP::UserSyncInitialGroups # (sync following group with rw permission after initial create of first agent # login) $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [ 'users', ]; If you haven't implemented the above, do so and let us know how you get on. If you get compeltely stuck I can send you a blank config from my current OTRS setup, which I have e-mailed to several people already to help them resolve their AD sync/access issues. Regards, David Troy Shafer wrote:
I have searched and searched but can't seem to find the answer.
So i setup the Config.pm to use AD authentication.. then of course i got the Panic! No user data! error. We have over 3,000 employees. I'm not going to sit here and create an account for each of them. I do have it searching AD successfully and autheniticating against AD.
I've seen examples of user synchronization on the web and everytime i try those code in the config file and restart apache i can't login to otrs with an AD account or root@localhost.
Essentially i'm looking for the code that will allow authentication against AD without the user needing to be in the otrs db... or..
When authenticated against AD the user is automatically created in the OTRS DB..
or some variation that doesn't need me to create 3000 accounts by hand.
-Troy
------------------------------------------------------------------------
--------------------------------------------------------------------- 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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/