And still it says Need CusrtomerID!!! when I try to login a customer account..


On Tuesday 19 October 2004 13:01, Erol YILDIZ wrote:
> I am using 1.3.1.. There was a mistake in the config file and now it looks
> like below..
>
>     # CustomerUser
>     # (customer user ldap backend and settings)
>     $Self->{CustomerDefaultState} = 'new';
>     $Self->{CustomerUser} = {
>         Name => 'LDAP Backend',
>         Module => 'Kernel::System::CustomerUser::LDAP',
>         Params => {
> #            # ldap host
>             Host => '10.0.0.1',
> #            # ldap base dn
>             BaseDN => 'dc=kemerkoy,dc=k12,dc=tr',
> #            # 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 => '',
> #            UserPw => '',
> #            # 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 => '',
> #            # if your frontend is e. g. iso-8859-1 and the charset of your
> #            # ldap server is utf-8, use this options (if not, ignore it)
>             SourceCharset => 'utf-8',
>             DestCharset => 'iso-8859-1',
>             # 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 => 'uid',
> #        # customer #
>         CustomerID => 'uid',
>         CustomerUserListFields => ['cn', 'mail'],
>         CustomerUserSearchFields => ['uid', 'cn', 'mail'],
>         CustomerUserSearchPrefix => '',
>         CustomerUserSearchSuffix => '*',
>         CustomerUserSearchListLimit => 250,
>         CustomerUserPostMasterSearchFields => ['mail'],
>         CustomerUserNameFields => ['givenname', 'sn'],
>         AdminSetPreferences => 0,
>         Map => [
> #            # note: Login, Email and CustomerID needed!
> #            # var, frontend, storage, shown, required, storage-type,
> http-link, readonly
> #            [ 'UserSalutation', 'Title', 'title', 1, 0, 'var', '', 0 ],
> #            [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', '',
> 0 ],
> #            [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', '', 0 ],
>             [ 'UserLogin', 'Username', 'uid', 1, 1, 'var', '', 0 ],
>             [ 'UserEmail', 'Email', 'uid', 1, 1, 'var', '', 0 ],
>             [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', '', 0 ],
> ##            [ 'UserCustomerIDs', 'CustomerIDs', 'second_customer_ids', 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
> ], ],
>     };
>
> On Tuesday 19 October 2004 12:00, Yann Richard wrote:
> > Hi,
> >
> >    Which version of OTRS you use ?
> >
> > I had the same problem with a custom version of OTRS 1.2 with CVS
> > backport (to have LDAP feature) and if my memory still good, I have
> > added this to my Kernel/Config.pm:
> >
> >     # CustomerDefaultState
> >     # (default state of new customer tickets)
> >     $Self->{CustomerDefaultState} = 'new';
> >
> > This already exist in the Kernel/Config/Default.pm in OTRS 1.3.
> >
> >
> > Regards,
> >
> >      Yann Richard.
> >
> > On Tue, 19 Oct 2004 11:28:37 +0300, Erol YILDIZ <[EMAIL PROTECTED]>
>
> wrote:
> > > Hi,
> > >
> > > I have the configuration below for cutomers to authenticate via ldap
> > > and I get "Error: Need CustomerID". Any ideas?
> > >
> > > Thanks
> > >
> > >     # This is an example configuration for an LDAP auth. backend.
> > >     # (take care that Net::LDAP is installed!)
> > >     $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
> > >     $Self->{'AuthModule::LDAP::Host'} = '10.0.0.1';
> > >     $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=kemerkoy,dc=k12,dc=tr';
> > >     $Self->{'AuthModule::LDAP::UID'} = 'uid';
> > >
> > >     # 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->{'AuthModule::LDAP::GroupDN'} =
> > > 'cn=otrsallow,ou=posixGroups,dc=example,dc=com';
> > > #    $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid';
> > >     # for ldap posixGroups objectclass (just uid)
> > >     $Self->{'AuthModule::LDAP::UserAttr'} = 'uid';
> > >     # for non ldap posixGroups objectclass (with full user dn)
> > > #    $Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
> > >
> > >     # The following is valid but would only be necessary if the
> > >     # anonymous user do NOT have permission to read from the LDAP tree
> > >     $Self->{'AuthModule::LDAP::SearchUserDN'} =
> > > 'cn=Administrator,dc=kemerkoy,dc=k12,dc=tr';
> > >     $Self->{'AuthModule::LDAP::SearchUserPw'} = 'w84megirl';
> > >
> > >     # 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->{'AuthModule::LDAP::AlwaysFilter'} = '';
> > >
> > >     # Net::LDAP new params (if needed - for more info see perldoc
> > > Net::LDAP) $Self->{'AuthModule::LDAP::Params'} = {
> > >         port => 389,
> > >         timeout => 120,
> > >         async => 0,
> > >         version => 3,
> > >     };
> > >
> > >     # UserSyncLDAPMap
> > >     # (map if agent should create/synced from LDAP to DB after login)
> > >     $Self->{UserSyncLDAPMap} = {
> > >         #DB -> LDAP
> > >         Firstname => 'givenName',
> > >         Lastname => 'sn',
> > >         Email => 'suseMailAcceptAddress',
> > >         CustomerID => 'suseMailAcceptAddress',
> > >     };
> > >
> > > --
> > > Erol YILDIZ
> > > HEV OkullarÄ KemerkÃy IT DepartmanÄ
> > > http://www.kemerkoy.k12.tr
> > > _______________________________________________
> > > 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/

-- 
Erol YILDIZ
HEV OkullarÄ KemerkÃy IT DepartmanÄ
http://www.kemerkoy.k12.tr
_______________________________________________
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