
Hi all, my name's Paolo and i work for a company where i try to configure ldap-authentication for windows server 2003. I installed on a linux debian OTRS, i followed indication on a OTRS site but, when i change the Config.pm file, i try to restart apache service I received this error message: [error] Global symbol "$Self" requires explicit package name at /opt/otrs//Kernel/Config.pm line 121. the 121 line is the following: $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; Error is the same for all lines into the Config.pm file. Can you help me about a solution of this error, for me is very important because for this error i can't use OTRS. Thank you in advanced. Best regards Paolo

Hi Paolo,
Have you installed the PERL LDAP module? run checkmodules.pl to ensure that
it's installed.
Regards,
David
On Wed, Oct 14, 2009 at 4:49 PM, Paolo Esposito
Hi all, my name's Paolo and i work for a company where i try to configure ldap-authentication for windows server 2003. I installed on a linux debian OTRS, i followed indication on a OTRS site but, when i change the Config.pm file, i try to restart apache service I received this error message: [error] Global symbol "$Self" requires explicit package name at /opt/otrs//Kernel/Config.pm line 121. the 121 line is the following: $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; Error is the same for all lines into the Config.pm file. Can you help me about a solution of this error, for me is very important because for this error i can't use OTRS. Thank you in advanced. Best regards Paolo
--------------------------------------------------------------------- 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/

Hi Paolo, even though the configuration is done on a windows installation, the steps are the same. http://www.youtube.com/user/diginin1974#p/a/u/2/ZwODnB5L5lM On Oct 14, 2009, at 17:53 , David Holder wrote:
Hi Paolo,
Have you installed the PERL LDAP module? run checkmodules.pl to ensure that it's installed.
Regards,
David
On Wed, Oct 14, 2009 at 4:49 PM, Paolo Esposito
wrote: Hi all, my name's Paolo and i work for a company where i try to configure ldap-authentication for windows server 2003. I installed on a linux debian OTRS, i followed indication on a OTRS site but, when i change the Config.pm file, i try to restart apache service I received this error message: [error] Global symbol "$Self" requires explicit package name at / opt/otrs//Kernel/Config.pm line 121. the 121 line is the following: $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; Error is the same for all lines into the Config.pm file. Can you help me about a solution of this error, for me is very important because for this error i can't use OTRS. Thank you in advanced. Best regards Paolo
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Hi,
Don't care about the stupid : $Self->{'AuthModule'} =
'Kernel::System::Auth::LDAP'; code! remove those lines.
What you need is customer side only you don't need to show the index.pl side
to your customers.
Just change yourdomain.com use a valid user for ldap
The below code will work like a charm.
If you really need to change the index.pl side also just e-mail me directly.
I can help you
Regards,
Sarper
# --- Customer ---
$Self->{'Customer::AuthModule'} =
'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'yourdomain.com';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'dc=yourdomain,dc=com';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'cn=avaliduser,cn=users,dc=yourdomain,dc=com';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} =
'avaliduserpassword';
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'yourdomain.com',
BaseDN => 'dc=yourdomain,dc=com',
SSCOPE => 'sub',
UserDN =>'cn=avaliduser,cn=users,dc=yourdomain,dc=com',
UserPw => 'avaliduserpassword',
},
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' ],
],
};
On Wed, Oct 14, 2009 at 6:49 PM, Paolo Esposito
Hi all, my name's Paolo and i work for a company where i try to configure ldap-authentication for windows server 2003. I installed on a linux debian OTRS, i followed indication on a OTRS site but, when i change the Config.pm file, i try to restart apache service I received this error message: [error] Global symbol "$Self" requires explicit package name at /opt/otrs//Kernel/Config.pm line 121. the 121 line is the following: $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; Error is the same for all lines into the Config.pm file. Can you help me about a solution of this error, for me is very important because for this error i can't use OTRS. Thank you in advanced. Best regards Paolo
--------------------------------------------------------------------- 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/
participants (4)
-
David Holder
-
Paolo Esposito
-
Sarper SARIDAL
-
Shawn Beasley