RE: [otrs] Panic no user data

Richard, here is a copy of the pertinent section of my Config.pm file.
I have set up the LDAP auth params directly in that file instead of
through the GUI interface.
#Customer LDAP Auth Backend Settings
$Self->{'Customer::AuthModule'} =
'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = '10.222.129.234';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'dc=dbtamerica,dc=local';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=otrs
ldap,ou=users,ou=houston manufacturing pa,ou=dbt
america,dc=dbtamerica,dc=local';
$Self->{'Customer::AuthModule::LDAP::SearchUserPW'} = 'password';
#Customer User
#(customer user database backend and settings)
$Self-> {CustomerUser} = {
Name=> 'Database',
Module=> 'Kernel::System::CustomerUser::DB',
Params=> {Table => 'customer_user',
},
#customer uniq id
CustomerKey => 'login',
CustomerID => 'customer_id',
CustomerValid => 'valid_id',
CustomerUserListFields => ['first_name', 'last_name', 'email'],
CustomerUserSearchFields => ['login', 'last_name', 'customer_id'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
CustomerUserPostMasterSearchFields => ['email'],
CustomerUserNameFields => ['salutation', 'first_name', 'last_name'],
Map => [
['UserSalutation', 'Salutation', 'salutation', 1, 0, 'var'],
['UserFirstname', 'Firstname', 'first_name', 1, 1, 'var'],
['UserLastname', 'Lastname', 'last_name', 1, 1, 'var'],
['UserLogin', 'Login', 'login', 1, 1, 'var'],
['UserPassword', 'Password', 'pw', 0, 1, 'var'],
['UserEmail', 'Email', 'email', 0, 1, 'var'],
['UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var'],
['UserComment', 'Comment', 'comments', 1, 0, 'var'],
['ValidID', 'Valid', 'valid_id', 0, 1, 'int'],
],
};
#Customer User 1
#customer user ldap backend and settings
$Self->{CustomerUser1} = {
Name => 'LDAP Backend',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => '10.222.129.234',
BaseDN => 'dc=dbtamerica,dc=local',
SSCOPE => 'sub',
UserDN => 'cn=otrs ldap,ou=users,ou=houston manufacturing
pa,ou=dbt america,dc=dbtamerica,dc=local',
UserPw => 'password',
AlwaysFilter => '',
SourceCharset => 'utf-8',
DestCharset => 'iso-8859-1',
},
#customer uniq id
CustomerKey => 'sAMAccountName',
CustomerID => 'mail',
CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
Map => [
['UserFirstname', 'Firstname', 'givenname', 1, 1, 'var'],
['UserLastname', 'Lastname', 'sn', 1, 1, 'var'],
['UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var'],
['UserEmail', 'Email', 'mail', 1, 1, 'var'],
['UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var'],
['UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var'],
],
};
There was another follow-up email to this thread from Tobias Lutticke,
his suggestion may work as well and may be easier. I have not tried his
way, but will do so on my test system when I get a chance. Hope this
helps you.
-Tim
________________________________
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of
richard.bosch@bbraun.com
Sent: Monday, January 08, 2007 10:44 AM
To: User questions and discussions about OTRS.org
Subject: RE: [otrs] Panic no user data
i have done the changes via the sysconfig but now the changes are not in
the comfig.pm
where can i find them?
the changes i made in the sysconfig are
Customer::AuthModule::LDAP::Host: = the FQDN of the ldap server
Customer::AuthModule::LDAP::BaseDN: = the base DN
Customer::AuthModule::LDAP::UID: = uid
Customer::AuthModule::LDAP::UserAttr: = UID
Customer::AuthModule::LDAP::AlwaysFilter: = (objectClass=*)
Customer::AuthModule::LDAP::Params:
1. async = 0
2. port = 389
3. timeout = 120
4. version = 3
i hope this helps.
Regards
Richard Bosch
"Miller, Tim"

Hi, another piece of information as follow-up (see below): [..snipped..]
There was another follow-up email to this thread from Tobias Lutticke, his suggestion may work as well and may be easier. I have not tried his way, but will do so on my test system when I get a chance. Hope this helps you.
I configured the described sync feature for agent authentication. Tim wrote about customer authentication which I did not try via LDAP (yet). Therefore my suggestion may have been a bit off-topic regarding your issue. Anyway, maybe you want to LDAP-authenticate your agents as well. For customer authentication try the solution Tim outlined. Cheers Tobias -- Tobias Lütticke
participants (2)
-
Miller, Tim
-
Tobias Lütticke