Hi Christian,

hier die Einstellungen, die ich in meiner Config.pm gemacht habe.
Wollte sie Anfangs bereits mitschicken aber unser Mailserver wollte sie
aufgrund eines "angeblich"
falschen Encodings nicht durchlassen ... hoffe es funktioniert jetzt!

    $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
    $Self->{'AuthModule::LDAP::Host'} = '172.24.16.27';
    $Self->{'AuthModule::LDAP::BaseDN'} = 'ou=in,ou=eu,ou=au,o=cag';
    $Self->{'AuthModule::LDAP::UID'} = 'uid';
    $Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=Florian
Ottillinger,ou=in,ou=eu,ou=au,o=cag';
    $Self->{'AuthModule::LDAP::SearchUserPw'} = 'XXX';

    # 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'} = '172.24.16.27';
    $Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'ou=in,ou=eu,ou=au,o=cag';
    $Self->{'Customer::AuthModule::LDAP::UID'} = 'uid';

    # 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=Florian
Ottillinger,ou=in,ou=eu,ou=au,o=cag';
    $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'XXX';

    # CustomerUser
    # (customer user database backend and settings)

    $Self->{CustomerUser} = {
    Name => 'Datenbank',
    Module => 'Kernel::System::CustomerUser::DB',
    Params => { Table => 'customer_user',
    # to use an external database
    # DSN => 'DBI:odbc:yourdsn',
    # DSN => 'DBI:mysql:database=customerdb;host=customerdbhost',
    # User => '', Password => '',
    },
    # customer uniq id
    CustomerKey => 'login',
    CustomerID => 'customer_id',
    CustomerValid => 'valid_id',
    CustomerUserListFields => ['first_name', 'last_name', 'email'],
    # CustomerUserListFields => ['login', 'first_name', 'last_name',
'customer_id', 'email'],
    CustomerUserSearchFields => ['login', 'last_name', 'customer_id'],
    CustomerUserSearchPrefix => '',
    CustomerUserSearchSuffix => '*',
    CustomerUserSearchListLimit => 250,
    CustomerUserPostMasterSearchFields => ['email'],
    CustomerUserNameFields => ['salutation', 'first_name', 'last_name'],
    # ReadOnly => 1,
    Map => [
    ## note: Login, Email and CustomerID needed!
    # var, frontend, storage, shown, required, storage-type, http-link
    [ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var' ],
    [ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var' ],
    [ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var' ],
    [ 'UserLogin', 'Login', 'login', 1, 1, 'var' ],
    [ 'UserPassword', 'Password', 'pw', 0, 1, 'var' ],
    [ 'UserEmail', 'Email', 'email', 0, 1, 'var' ],
    [ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var' ],
    [ 'UserComment', 'Comment', 'comments', 1, 0, 'var' ],
    [ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int' ],
    ],
    };
    # CustomerUser1
    # (customer user ldap backend and settings)
    $Self->{CustomerUser1} = {
    Module => 'Kernel::System::CustomerUser::LDAP',
    Params => {
    # ldap host
    Host => '172.24.16.27',
    # ldap base dn
    BaseDN => 'ou=in,ou=eu,ou=au,o=cag',
    # 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=Florian Ottillinger,ou=in,ou=eu,ou=au,o=cag',
    UserPw => 'XXX',
    AlwaysFilter => '',
    SourceCharset => 'utf-8',
    DestCharset => 'iso-8859-1',
    },
    # customer uniq id
    CustomerKey => 'uid',
    # customer #
    CustomerID => 'mail',
    CustomerUserListFields => ['uid', 'cn', 'mail'],
    CustomerUserSearchFields => ['uid', 'cn', 'mail'],
    CustomerUserSearchPrefix => '',
    CustomerUserSearchSuffix => '*',
    CustomerUserSearchListLimit => 250,
    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' ],
    ],
};

Danke schon mal

MfG

Flo




|---------+------------------------------->
|         |           Christian           |
|         |           Schoepplein         |
|         |           <christian.schoepple|
|         |           [EMAIL PROTECTED]>         |
|         |           Gesendet von:       |
|         |           [EMAIL PROTECTED]|
|         |           .org                |
|         |                               |
|         |                               |
|         |           17.05.2005 15:37    |
|         |           Bitte antworten an  |
|         |           "User questions and |
|         |           discussions about   |
|         |           OTRS in German."    |
|         |                               |
|---------+------------------------------->
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                                |
  |       An:       "User questions and discussions about OTRS in German." 
<[email protected]>                                                   |
  |       Kopie:    (Blindkopie: Florian Ottillinger/in/eu/au/cag)              
                                                                |
  |       Thema:    Re: [otrs-de] Can't locate object method new ...            
                                                                |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|




Hi Flo!

On Di, Mai 17, 2005 at 01:54:55 +0200, [EMAIL PROTECTED] wrote:
>habe folgendes Problem:
>
>Bekomme immer die untenstehende Fehlermeldung beim Zugriff auf die OTRS
>Homepage (...otrs/index.pl).
>Ich m�chte s�mtliche Kundendaten �ber LDAP von einem Lotus Domino Server
>auslesen.
>
>Fehlermeldung:
>
>Can't locate object method "new" via package
>"Kernel::System::CustomerUser::LDAP" at
>/opt/otrs/bin/cgi-bin/../../Kernel/System/CustomerUser.pm line 53

Bin zwar kein Experte f�r LDAP, aber schick mal bitte die ausschnitte
aus der Config.pm, wie du sie f�r die Anbindung der Customer-DB da
eingetragen hast.

>Flo

Ciao,
Christian

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
        http://www.otrs.de/ :: Manage your communication!

_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/



_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/

Antwort per Email an