Auth LDAP but erro in customer backend

Hello everybody, I'm new user in the system otrs and am really enjoying its features, I'm on a project and think it will deploy the company in otrs where I manage computer systems and computer networks. Well my problem is: I set up the customers to be able to log in using the database ldap but when I try login with my ldap user I get the following error: "Authentication succeeded, but no customer record is found in the customer backend. Please contact your administrator." Someone have some a idea to solution this problem? Thank, Leonardo Conrado.

Yes, it means your user list doesn't match your authentication list. The
Wiki and the documentation and the forums all have good information on this.
On Wed, May 18, 2011 at 7:02 PM, Leonardo Couto
Hello everybody,
I'm new user in the system otrs and am really enjoying its features, I'm on a project and think it will deploy the company in otrs where I manage computer systems and computer networks. Well my problem is: I set up the customers to be able to log in using the database ldap but when I try login with my ldap user I get the following error:
*“Authentication succeeded, but no customer record is found in the customer backend. Please contact your administrator.”*
* *
*Someone have some a idea to solution this problem?*
Thank,
Leonardo Conrado.
--------------------------------------------------------------------- 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

Hi Leonardo,
I've recently had to work through a very similar issue. I had everything
configured correctly but I got the same error as you when trying to log in
customers.
What I found was happening was that the ldap authentication suceeded but it
wouldn't sync the data elements from the ldap tree to the database.
What I did to fix it, with the help from others here, was to use a very
basic configuration for customer ldap authentication.
Here's a link to the conversation thread I had which eventually lead to the
fix. The link is to the middle of the thread where Shawn gave me a basic
config that worked for him and also worked for me when I used it. I then
enabled each extra setting one by one after that and it all worked.
http://www.mail-archive.com/otrs@otrs.org/msg34541.html
Kind regards,
Rory Clerkin
On 19 May 2011 01:30, Gerald Young
Yes, it means your user list doesn't match your authentication list. The Wiki and the documentation and the forums all have good information on this.
On Wed, May 18, 2011 at 7:02 PM, Leonardo Couto
wrote: Hello everybody,
I'm new user in the system otrs and am really enjoying its features, I'm on a project and think it will deploy the company in otrs where I manage computer systems and computer networks. Well my problem is: I set up the customers to be able to log in using the database ldap but when I try login with my ldap user I get the following error:
*“Authentication succeeded, but no customer record is found in the customer backend. Please contact your administrator.”*
* *
*Someone have some a idea to solution this problem?*
Thank,
Leonardo Conrado.
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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

Hello everybody again, I got with success to configure auth LDAP(Active Directory Win 2008 Server) to customer in OTRS so I send to you how did to work this feature: 1 - Edit Config.pm file in folder Kernel of OTRS; 2 - Find the line in the file that says: "insert your own config settings "here""; 3 - Insert the configurations of the LDAP, as bellow and according with your LDAP(AD) environment: ################################################## # CONFIGS AUTH CUSTOMER IN LDAP # BY LEONARDO COUTO CONRADO # DATE 18.05.2011 ################################################## # This is an example configuration for an LDAP auth. backend. # (make sure Net::LDAP is installed!) $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'srvfslm.grupolm.com.br'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=grupolm,dc=com,dc=br'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN'; $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=helpdesk otrs,OU=TI,OU=DCORP,OU=LM IGUATEMI,OU=GRUPOLM,DC=grupolm,DC=com,DC=br'; $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '(objectclass=user)'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'otrs123'; $Self->{'AuthModule::LDAP::Die'} = 1; ################################################## # CONFIGS CUSTOMER IN BACKEND LDAP # BY LEONARDO COUTO CONRADO # DATE 18.05.2011 ################################################## # CustomerUser # (customer user ldap backend and settings) $Self->{CustomerUser} = { Name => 'LDAP Backend', Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'srvfslm.grupolm.com.br', BaseDN => 'dc=grupolm,dc=com,dc=br', SSCOPE => 'sub', UserDN => 'CN=helpdesk otrs,OU=TI,OU=DCORP,OU=LM IGUATEMI,OU=GRUPOLM,DC=grupolm,DC=com,DC=br', UserPw => 'otrs123', AlwaysFilter => '(objectclass=user)', }, # customer unique id CustomerKey => 'sAMAccountName', CustomerID => 'sAMAccountName', CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'], CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'], CustomerUserSearchPrefix => '', CustomerUserSearchSuffix => '*', CustomerUserSearchListLimit => 250, CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown, required, storage-type #[ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ], [ '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' ], #[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ], #[ 'UserComment', 'Comment', 'description', 1, 0, 'var' ], ], }; Att, Leonardo Couto Conrado. De: Leonardo Couto [mailto:leonardocoutoc@gmail.com] Enviada em: quarta-feira, 18 de maio de 2011 20:02 Para: otrs@otrs.org Assunto: Auth LDAP but erro in customer backend Hello everybody, I'm new user in the system otrs and am really enjoying its features, I'm on a project and think it will deploy the company in otrs where I manage computer systems and computer networks. Well my problem is: I set up the customers to be able to log in using the database ldap but when I try login with my ldap user I get the following error: "Authentication succeeded, but no customer record is found in the customer backend. Please contact your administrator." Someone have some a idea to solution this problem? Thank, Leonardo Conrado.
participants (3)
-
Gerald Young
-
Leonardo Couto
-
Rory