
I have an exchange 5.5 server in a windows domain (not AD) against which I can authenticate. To prevent someone from striping all the email addresses the admins have set a limit so that if the search returns more than 10 records the LDAP will not return the details. This means that I cannot use the LDAP as the customer user backend. The problem is that new customers get a Panic! No UserData!!! message. Reading the archive I gained the impression that this should not happen and that the DB should be automatically updated with a new user from the LDAP info. This does not appear to be happening. I can see the coding that does this for users (Agents) in index.pl but there does no appear to be an equivalent in customer.pl . Have I misunderstood and customers are not automatically created? I would just add that if I create the customer info through the agent interface then the customer can successfully login on and work. I am using OTRS 1.2.4-01 for Win32. I did have to make a some slight mods to get the authentication to work I got these from a earlier email by Daniel Palmer, his case was Exchange 5.5 on a Windows 2000 (AD) network. ** Config.pm $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'cn=Recipients,ou=YOURDOMAIN,o=YOURORGANISATION'; $Self->{'Customer::AuthModule::LDAP::AuthDN'} = 'dc=yourdomain'; ** LDAP.pm - in section "get ldap preferences" - before "return $Self;": $Self->{AuthDN} = $Self->{ConfigObject}->Get('Customer::AuthModule::LDAP::AuthDN') || $Self->{BaseDN}; ** LDAP.pm - in section "bind with user data -> real user auth" - replace $Result = $LDAP->bind(dn => $UserDN, password => $Param{Pw}); with the following block of code: # First Check if we have different AuthDN & BaseDN.. my $ExchangeDN = $Self->{AuthDN}; if (!$ExchangeDN == $Self->{BaseDN}) { $ExchangeDN = "cn=".$Param{User}.",".$ExchangeDN; } $Result = $LDAP->bind(dn => $ExchangeDN, password => $Param{Pw}); Many Thanks Mark --ooOoo-- Mark Denham, Head of IT Services Glasgow University Library Hillhead Street, Glasgow, G12 8QE Email: M.Denham@lib.gla.ac.uk Phone: +44 141 330 6765