I've done this (so far just starting with the agent side of things.  After setting the baseDN (should actually be called Users DN, or DN for users OU - object naming is a bit confusing, at least for the likes of yours truly).

It is now talking to the ldap server, but...

Gets unhappy and throws the following error...

Software error:

Can't locate object method "get_value" via package "Net::LDAP::Entry" at ../..//Kernel/System/Auth/LDAP.pm line 348, <PRODUCT> line 4.

For help, please send mail to the webmaster ([EMAIL PROTECTED]), giving this error message and the time and date of the error.

Pertinent portion of Config.pm is as follows:

# UserSyncLDAPMap
    # (map if agent should create/synced from LDAP to DB after login)
    $Self->{UserSyncLDAPMap} = {
        UserFirstname => 'givenName',
        UserLastname => 'sn',
        UserEmail => 'mail'
    };

    # UserSyncLDAPGroups
    # (If "LDAP" was selected for AuthModule, you can specify
    # initial user groups for first login.)
    $Self->{UserSyncLDAPGroups} = [
        'users'
    ];

    # UserTable
    $Self->{DatabaseUserTable} = 'system_user';
    $Self->{DatabaseUserTableUserID} = 'id';
    $Self->{DatabaseUserTableUserPW} = 'pw';
    $Self->{DatabaseUserTableUser} = 'login';



Christophe Flaviani wrote:
Hi all,

The configuration from Ed is only for the Customer authentication (= users submitting questions to otrs)
As Nils correctly stated, there are 2 types of "users":
 - users --> otrs agents, service desk agents
 - customers --> users submitting incidents.

In the LDAP configuration, there are 2 sections:
 - $Self->{'AuthModule'} + suffixes: configures the user authentication
 - $Self->{'Customer::AuthModule'} + suffixes: configures the customer authentication

And bear in mind that the UID parameter references the user which will be used to logon to otrs.

For the rest, the documentation (pdf version 2.2)is not 100% correct and clear....
I used the .../Kernel/Config/Default.pm file to look up the correct parameters. (well explained).

What you configure in .../Kernel/Config.pm will overwrite the default/standard settings in ../Kernel/Config/Default.pm

Happy doc browsing .. :)

C.

On Sun, Jun 8, 2008 at 10:09 PM, Nils Breunese (Lemonbit) <[EMAIL PROTECTED]> wrote:
Ed Greenberg wrote:

It wasn't easy for me either. A few things I learned (as a newbie):

There are both users and customers. You need to enable LDAP lookups for each one separately.

It's more accurate to say there are two kinds of users: agents and customers.

Nils.

_______________________________________________
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 or consulting for your OTRS system?
=> http://www.otrs.com/


_______________________________________________ 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 or consulting for your OTRS system? => http://www.otrs.com/


begin:vcard
fn:Jefferson Davis
n:Davis;Jefferson
org:Standard School District
adr:;;1200 North Chester Ave;Bakersfield;CA;93308;usa
email;internet:[EMAIL PROTECTED]
title:Technology and Information Systems Mgr
tel;work:661.392.2110
tel;fax:661.392.0681
x-mozilla-html:TRUE
url:http://www.standard.k12.ca.us
version:2.1
end:vcard

_______________________________________________
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 or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to