Hi Alverom

Thank you for replying.
I have checked the config, but everything seems to be OK. Somehow I cannot save 
the config through sysconfig, but I can show you the config in config.pm (and 
it seems to be OK??) :

# Begin customer authenticatie

#Example 11-11. Customer user authentication against a LDAP backend
# 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'} = '192.168.1.2';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=Suzo, dc=int';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
# Check if the user is allowed to auth in a posixGroup
# (e. g. user needs to be in a group xyz to use otrs)
$Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'CN=OTRS_Users,OU=Suzo 
NL,DC=Suzo,DC=int';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
# for ldap posixGroups objectclass (just uid)
#$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID';
# for non ldap posixGroups objectclass (full user dn)
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
# The following is valid but would only be necessary if the
# anonymous user does NOT have permission to read from the LDAP tree
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=OTRS,OU=IT 
Department,OU=Suzo NL,DC=Suzo,DC=int';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Password';
# in case you want to add always one filter to each ldap query, use
# this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter => 
'(objectclass=user)'
# $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '';
# in case you want to add a suffix to each customer login name, then
# you can use this option. e. g. user just want to use user but
# in your ldap directory exists user@domain.
#$Self->{'Customer::AuthModule::LDAP::UserSuffix'} = '@domain.com';
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};

# Einde voorbeeld 11.11

# CustomerUser
# (customer user ldap backend and settings)
   $Self->{CustomerUser} = {
       Name => 'LDAP Backend',
       Module => 'Kernel::System::CustomerUser::LDAP',
       Params => {
#            # ldap host
           Host => '192.168.1.2',
#            # ldap base dn
           BaseDN => 'dc=Suzo, dc=int',
#            # search scope (one|sub)
           SSCOPE => 'sub',
#            # The following is valid but would only be necessary if the
#            # anonymous user does NOT have permission to read from the LDAP 
tree
           UserDN => 'CN=OTRS,OU=IT Department,OU=Suzo NL,DC=Suzo,DC=int',
           UserPw => 'Password',
#            # in case you want to add always one filter to each ldap query, use
#            # this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter => 
'(objectclass=user)'
           AlwaysFilter => '(memberOf=CN=OTRS_Users,OU=Suzo NL,DC=Suzo,DC=int)',
#            # if both your frontend and your LDAP are unicode, use this:
#            SourceCharset => 'utf-8',
#            DestCharset   => 'utf-8',
#            # if your frontend is e. g. iso-8859-1 and the charset of your
#            # ldap server is utf-8, use these options.
#            SourceCharset => 'utf-8',
#            DestCharset => 'iso-8859-1',
#            # die if backend can't work, e. g. can't connect to server
#            Die => 0,
           # Net::LDAP new params (if needed - for more info see perldoc 
Net::LDAP)
           Params => {
               port    => 389,
               timeout => 120,
               async   => 0,
               version => 3,
           },
       },
#        # customer uniq id
       CustomerKey => 'sAMAccountName',
#        # customer #
       CustomerID => 'company',
       CustomerUserListFields => ['cn', 'mail'],
       CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
       CustomerUserSearchPrefix => '',
       CustomerUserSearchSuffix => '*',
       CustomerUserSearchListLimit => 250,
       CustomerUserPostMasterSearchFields => ['mail'],
       CustomerUserNameFields => ['givenname', 'sn'],
#        # show now own tickets in customer panel, CompanyTickets
#      CustomerUserExcludePrimaryCustomerID => 0,
#        # add a ldap filter for valid users (expert setting)
       # CustomerUserValidFilter => '(!(description=gesperrt))',
#        # admin can't change customer preferences
#      AdminSetPreferences => 0,
#        # cache time to live in sec. - cache any ldap queries
#        CacheTTL => 0,
       Map => [
#            # note: Login, Email and CustomerID needed!
#            # var, frontend, storage, shown (1=always,2=lite), required, 
storage-type, http-link, readonly
           [ 'UserTitle',      'Title',      'title',           1, 0, 'var', 
'', 0 ],
           [ 'UserFirstname',  'Firstname',  'givenname',       1, 1, 'var', 
'', 0 ],
           [ 'UserLastname',   'Lastname',   'sn',              1, 1, 'var', 
'', 0 ],
           [ 'UserLogin',      'Username',   'sAMAccountName',  1, 1, 'var', 
'', 0 ],
           [ 'UserEmail',      'Email',      'mail',            1, 1, 'var', 
'', 0 ],
           [ 'UserCustomerID', 'CustomerID', 'company',            0, 1, 'var', 
'', 0 ],
#           [ 'UserCustomerIDs', 'CustomerIDs', 'company',       1, 0, 'var', 
'', 0 ],
           [ 'UserPhone',      'Phone',      'telephonenumber', 1, 0, 'var', 
'', 0 ],
           [ 'UserAddress',    'Address',    'postaladdress',   1, 0, 'var', 
'', 0 ],
           [ 'UserComment',    'Comment',    'description',     1, 0, 'var', 
'', 0 ],
       ],
   };

# Einde customer authenticatie

Met vriendelijke groet / Kind regards / Mit freundlichem Gruß,
_______________________________________________________________

Erik van Ast
_______________________________________________________________ 
     

-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]] Namens 
[email protected]
Verzonden: dinsdag 6 augustus 2013 9:37
Aan: [email protected]
Onderwerp: otrs Digest, Vol 59, Issue 7

Send otrs mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.otrs.org/cgi-bin/listinfo/otrs
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of otrs digest..."


Today's Topics:

   1. Re:  "Authentication succeeded, but no customer record is
      found in the customer backend" error using LDAP (Alvaro Cordero)

----------------------------------------------------------------------

Message: 1
Date: Mon, 5 Aug 2013 09:12:14 -0600
From: Alvaro Cordero <[email protected]>
Subject: Re: [otrs] "Authentication succeeded, but no customer record
        is found in the customer backend" error using LDAP
To: "User questions and discussions about OTRS." <[email protected]>
Message-ID:
        <cakzf-zmh3kxc301fz0slewtdtu4qpnp_ct6gznbtvgmwvha...@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"

You have to check your LDAP configuration y Sysconfig. Look for LDAP and it 
will direct you to the FrontEnd::Customer::Auth, there you most likely have it 
pointing to the DB, also check all the related variables there.

Regards

Please visit our new ecommerce website http://eu.suzohapp.com
And we need your opinion! Please rate your experience at 
http://eu.suzohapp.com/survey
---------------------------------------------------------------------
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

Reply via email to