We are running OTRS 1.2.3 on SUSE 9 Professional. We are trying to get
OTRS to obtain CustomerUser data from our NetWare 6.5 LDAP server.  We
can use the ldapsearch command from the console on the OTRS machine to
pull down information from our users OU via an anonymous read: 

ldapsearch -h 192.168.3.179 -b "ou=users,o=MRL" -x
"(objectclass=*)"

It returns

# search result
search: 2
result: 0 success

# numResponses: 330
# numEntries: 329

Net::LDAP is installed.

Here is the CustomerUser section of our Config.pm:

    $Self->{CustomerUser} = {
        Module => 'Kernel::System::CustomerUser::LDAP',
        Name => 'LDAP Source',
        Params => {
            # ldap host
            Host => '192.168.3.179',
            # ldap base dn
            BaseDN => 'ou=users,o=MRL',
            # search scope (one|sub)
            SSCOPE => 'sub',
            AlwaysFilter => '',
#           Net::LDAP
        },
        # customer uniq id
        CustomerKey => 'uid',
        # customer #
        CustomerID => 'mail',
        CustomerUserListFields => ['cn', 'mail'],
        CustomerUserSearchFields => ['uid', 'cn', 'mail'],
        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', 'uid', 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' ],
        ],
    };

When we go to the OTRS index web page we are seeing this error:

Software error:
Can't locate object method "new" via package
"Kernel::System::CustomerUser::LDAP" at
/opt/otrs/bin/cgi-bin/../../Kernel/System/CustomerUser.pm line 42.

My sense is that are we are close to having it correctly configured but
not quite there. What should we be doing differently?


Andrew Ferris
Network Support Analyst
MRL/iCAPTURE Centre/ASL
_______________________________________________
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
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to