Hello Everyone, I am using "Windows Authentication" in IIS7. when i try to open http://hostname/otrs/customer.pl it says "Panic No UserData" but when i open it through IP i.e. http://X.X.X.X/otrs/customer.pl , A box pops up named "Windows Security" asking for credentials, When i enter the credentials, I can see the "My Tickets" page for that customer. Please tell me where I am wrong how to go directly to customer page without entering these credentials, it should automatically take the Windows Logon Credentials.
Here is my Config.pm $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::HTTPBasicAuth'; # In case there is a leading domain in the REMOTE_USER, you can # replace it by the next config option. $Self->{'Customer::AuthModule::HTTPBasicAuth::Replace'} = 'XXX\\'; # Note: # In case you need to replace some part of the REMOTE_USER, you can # use the following RegExp ($1 will be new login). $Self->{'Customer::AuthModule::HTTPBasicAuth::ReplaceRegExp'} = '^ (.+?)@.+?$'; # If you use this module, you should use as fallback the following # config settings if user isn't login through apache ($ENV {REMOTE_USER}) # $Self->{CustomerPanelLoginURL} = 'http://X.X.X.X/otrs/customer.pl'; # $Self->{CustomerPanelLogoutURL} = 'http://host.example.com/thanks-for-using-otrs.html'; #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 => 'X.X.X.X', BaseDN => 'OU=objects,DC=XX,DC=XXX,DC=XX', SSCOPE => 'sub', UserDN => 'CN=otrs,OU=Service Accounts,OU=Objects,DC=XXX,DC=XXX,DC=XXX', UserPw => 'XXXX', 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 => ['name', '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'], ], }; Thanks & Regards Arpit Gupta ESM Sub Focus Area, TEG Open Source Platform Tata Consultancy Services Mailto: arpit...@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Nils Leideck - ITSM <nils.leid...@leidex.net> To: "User questions and discussions about OTRS." <otrs@otrs.org> Date: 12/26/2009 08:27 PM Subject: Re: [otrs] HTTPBasicAuth + Panic! No UserData Sent by: otrs-boun...@otrs.org Hi, On 24.12.2009, at 11:38, Arpit2 G wrote: Hello Everyone, Some body has any idea how to solve the issue which i asked in previous mail.Authentication with LDAP is working fine for me.I want Customer Authentication with "HTTPBasicAuth" only. following is my config.pm there is no Customer Authentication configuration in your Config.pm ;-) Search for Customer::AuthModule in Defauls.pm and COPY the configuration to Config.pm, modify the example to your needs and enjoy :-) Nils Leideck -- Nils Leideck Senior Consultant nils.leid...@leidex.net nils.leid...@otrs.com http://webint.cryptonode.de / a Fractal project CU @ CeBIT 2010 in Hannover, Germany and get to know more about OTRS at booth no. C37 in hall 2 from March 2-6, 2010! --------------------------------------------------------------------- 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/ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you --------------------------------------------------------------------- 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/