[614] 0000202B: RefErr: DSID-031006E0 Error

Moderator: crythias

Locked
rtorres
Znuny newbie
Posts: 50
Joined: 24 Feb 2012, 21:51
Znuny Version: 31100

[614] 0000202B: RefErr: DSID-031006E0 Error

Post by rtorres »

Trying to login to customer frontend and get this error:
Authentication succeeded, but no customer record is found in the customer backend. Please contact your administrator.
Error log:
[Wed Mar 7 16:44:27 2012][Notice][Kernel::System::CustomerAuth::LDAP::Auth] CustomerUser: installer (CN=installer,OU=Test,OU=Test (XX),DC=test,DC=test,DC=net) authentication ok (REMOTE_ADDR: x.x.x.x).
[Wed Mar 7 16:44:27 2012][Error][Kernel::System::CustomerUser::LDAP::CustomerUserDataGet][614] 0000202B: RefErr: DSID-031006E0, data 0, 1 access points
ref 1: 'xxx.net'

[Wed Mar 7 16:44:27 2012][Error][Kernel::System::CustomerUser::SetPreferences][504] No such user 'installer'!
[Wed Mar 7 16:44:27 2012][Error][Kernel::System::CustomerUser::LDAP::CustomerUserDataGet][614] 0000202B: RefErr: DSID-031006E0, data 0, 1 access points
ref 1: 'xxx.net'

[Wed Mar 7 16:44:27 2012][Error][Kernel::System::CustomerUser::LDAP::CustomerUserDataGet][614] 0000202B: RefErr: DSID-031006E0, data 0, 1 access points
ref 1: 'xxx.net'
Config.pm

Code: Select all

# --------------------------------------------------- #
    # customer authentication settings                    #
    # (enable what you need, auth against otrs db,        #
    # against a LDAP directory, against HTTP basic        #
    # authentication and against Radius server)           #
    # --------------------------------------------------- #
# This is an example configuration for an LDAP auth. backend.
    # (take care that Net::LDAP is installed!)
   $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
   $Self->{'Customer::AuthModule::LDAP::Host'} = '.x.x.x.x';
   $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'DC=xxx,DC=xxx,DC=xxx';
   $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
# The following is valid but would only be necessary if the
    # anonymous user do NOT have permission to read from the LDAP tree
   $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=Test,OU=Users,OU=Test (XX),DC=test,DC=test,DC=net';
   $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'xxxx';
   # ----------------------------------------------------   #
# OTRS Active Directory Integration Backed DB Customers  #
# ----------------------------------------------------   #

    $Self->{CustomerUser} = {
        Name => 'ldapserver',
        Module => 'Kernel::System::CustomerUser::LDAP',
        Params => {
            Host => 'x.x.x.x',
            BaseDN => 'DN=test,DC=test,DC=test',
            SSCOPE => 'sub',
            UserDN => 'CN=Test,OU=Users,OU=Test (XX),DC=test,DC=test,DC=net',
            UserPw => 'xxxx',
            AlwaysFilter => '',
            Params => {
                port => 389,
                timeout => 120,
                async => 0,
                version => 3,
            },
        },
        CustomerKey => 'sAMAccountName',
        CustomerID => 'mail',
        CustomerUserListFields => ['cn', 'mail'],
        CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
        CustomerUserSearchListLimit => 250,
        CustomerUserPostMasterSearchFields => ['mail'],
        CustomerUserNameFields => ['givenname', 'sn'],
        CustomerUserExcludePrimaryCustomerID => 0,
        AdminSetPreferences => 0,
        Map => [
           [ 'UserSalutation', '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', 'mail',            0, 1, 'var', '', 0 ],
            [ 'UserPhone',      'Phone',      'telephonenumber', 1, 0, 'var', '', 0 ],
            [ 'UserAddress',    'Address',    'postaladdress',   1, 0, 'var', '', 0 ],
            [ 'UserComment',    'Comment',    'description',     1, 0, 'var', '', 0 ],
        ],
    };

 # 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,
   };

    # Die if backend can't work, e. g. can't connect to server.
#    $Self->{'Customer::AuthModule::LDAP::Die'} = 1;
In the error code "'xxx.net'" that is returned is only half the domain name. For exmaple test.domain.net is only returning domain.net. Also the line "Name => 'ldapserver'," I am not sure what I should put in place of ldapserver. Tried the base DN, IP and fqdn of domain with same results. The Agent back end works great. Any ideas?
rtorres
Znuny newbie
Posts: 50
Joined: 24 Feb 2012, 21:51
Znuny Version: 31100

Re: [614] 0000202B: RefErr: DSID-031006E0 Error

Post by rtorres »

Wow no one has any ideas or thoughts/comments? That is never a good sign..lol
Locked