
Nathan,
Here are the pertinent snippets from my Config.pm file and also some pieces of the system log from OTRS:<<<
# CustomerUser # (customer user ldap backend and settings) $Self->{CustomerUser} = { Name =>'LDAP Backend', Module => 'Kernel::System::CustomerUser::LDAP', Params => { # ldap host Host => '10.222.129.234', # ldap base dn BaseDN => 'dc=dbtamerica,dc=local', # search scope (one|sub) SSCOPE => 'sub', UserDN => 'CN=otrs ldap,OU=Users,OU=Houston Manufacturing PA,OU=DBTAmerica,DC=dbtamerica,DC=local', UserPw => '**********', AlwaysFilter => '', }, # customer uniq id CustomerKey => 'sAMAccountName', # customer # CustomerID => 'mail', 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' ], ], };
I know that the authentication part is working b/c of the entries in the System Log in OTRS:<<<<
Tue Dec 19 04:15:40 2006 error OTRS-CGI-10 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece Tue Dec 19 04:15:40 2006 error OTRS-CGI-10 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece Tue Dec 19 04:15:40 2006 notice OTRS-CGI-10 CustomerUser: tmiller authentification ok (REMOTE_ADDR: 10.222.128.86).
If I use an incorrect password from the customer login screen, I get the following:<<<
Tue Dec 19 05:18:58 2006 notice OTRS-CGI-10 CustomerUser: tmiller authentification failed: '80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 52e, vece
This tells me that the initial authentication is working, but for some reason it is not able to retrieve the needed info from AD to allow the customer to log in. Also, I get the same error when trying to create a ticket from the "Phone Ticket" screen on the agent side (the "In order to perform this operation a successful bind must be completed....... error). And no customer data is retrieved when I search for a customer.<<<
Got any ideas for me? The part that drives me crazy is that I have a test server working perfectly, but I can't find any differences between the two. The only difference is that the test server is running on FC3 and my intended production server is running on Ubuntu 6.06 LTS 64-bit server edition. Any input is appreciated. Thanks. With Best Regards, Tim Miller Network Administrator DBT America, Inc. Houston, PA ________________________________ From: Nathan Campbell [mailto:n.campbell@DalSym.com] Sent: Monday, December 18, 2006 4:00 PM To: Miller, Tim Subject: RE: [otrs] Panic! No User Data!!! OTRS looks for data on the account like email , first name, last name, etc... Make sure that your customer accounts have all that info or modify the system to not look for it. I had the same thing occur, except with Agents. I would create a new user in AD, and then jump right over to OTRS and log them in, but would get the Panic message until AD populated all of the various data fields. Hope that helps, Nathan Campbell Systems Administrator Dallas Symphony Association n.campbell@dalsym.com mailto:n.campbell@dalsym.com 214-871-4026 http://www.dallassymphony.com http://www.dallassymphony.com/ ________________________________ From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Miller, Tim Sent: Monday, December 18, 2006 3:00 PM To: User questions and discussions about OTRS.org Subject: [otrs] Panic! No User Data!!! When I try to log in to the customer side I am getting this error message (Panic! No User Data!!!). I am using LDAP authentication with Active Directory and I know that part is working because I can see the successful and failed login attempts on my DC. I have a working test server that we have been using for several months and just installed a new server that we are planning on using in our production environment. I thought I could just copy the database, Config.pm, and ZZZAuto.pm files and it should work. Everything else looks good, but it will not allow the customer login to happen. >From the Agent side, everything is working properly except that if I try to add a new ticket, it does not pull the customer info from AD (which my test server does properly). I feel as though I am missing something simple, but I can't seem to figure it out. Any suggestions on the cause of this error and possible solutions would be greatly appreciated. With Best Regards, Tim Miller Network Administrator DBT America, Inc. tim.miller@dbtamerica.com