[otrs] Customer user backend - LDAP

Paul Dulaba screwgie at gmail.com
Fri Apr 20 15:56:54 GMT 2007


I don't want Customer Authentication. I just want a customer backend.

http://doc.otrs.org/2.1/en/html/x1482.html#customer-backend-ldap

On 4/20/07, Mike Conigliaro <conigliaro at getproactivenow.com> wrote:
> i dont see any customer authentification options in the config you posted:
>
> http://doc.otrs.org/2.1/en/html/x1553.html#customer-auth-backends
>
> Mike Conigliaro
> ProActive Technologies
> conigliaro at getproactivenow.com
> 203.239.0440 ext:317
> www.getproactivenow.com
>
>
> Paul Dulaba wrote:
> > I'm running OTRS 2.1.7 on a SLES 10 installation.
> >
> > I have LDAP authenitcation to eDirectory for Agent login, but I can't
> > get the Customer user backend to work.
> >
> > I can run a trace on the LDAP server, and when I go to Customer and do
> > a search, the request goes out, and the LDAP server responds, but OTRS
> > doesn't display the results. There are no errors in the log either.
> > There is no username/password required to bind to the LDAP server.
> >
> > Also of note. If I try to add a user manually, and the user exists in
> > LDAP, I see another request go out, and then I get the error saying
> > that the user already exists. So it seems like it is almost
> > working......but something is missing.
> >
> > Here is the Config.pm section:
> >
> > $Self->{CustomerUser} = {
> >        Name => 'CS_JUST LDAP',
> >        Module => 'Kernel::System::CustomerUser::LDAP',
> >        Params => {
> >            # ldap host
> >            Host => '192.168.0.1',
> >            # ldap base dn
> >            BaseDN => ' ',
> >            # search scope (one|sub)
> >            SSCOPE => 'sub',
> >            # 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,
> >                sizelimit => 0,   # disabling it
> >            },
> >        },
> > # customer uniq id
> >        CustomerKey => 'uid',
> >        # customer #
> >        CustomerID => 'mail',
> >        CustomerUserListFields => ['cn', 'mail'],
> >        CustomerUserSearchFields => ['uid', 'cn'],
> >        CustomerUserSearchPrefix => '',
> >        CustomerUserSearchSuffix => '*',
> >        CustomerUserSearchListLimit => 1000,
> >        CustomerUserPostMasterSearchFields => ['mail'],
> >        CustomerUserNameFields => ['givenName', 'sn'],
> >        # show now own tickets in customer panel, CompanyTickets
> >        CustomerUserExcludePrimaryCustomerID => 0,
> >        # add a ldap filter for valid users (expert setting)
> > #       CustomerUserValidFilter => '(!(description=gesperrt))',
> >        # admin can't change customer preferences
> >        AdminSetPreferences => 0,
> >        Map => [
> >            # note: Login, Email and CustomerID needed!
> >            # var, frontend, storage, shown (1=always,2=lite),
> > 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',      'mail',            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 ],
> >        ],
> >    };
> > _______________________________________________
> > 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/
>


More information about the otrs mailing list