OTRS LDAP 设置问题

与 OTRS 相关的各种安装配置等问题

Moderator: never

terrychen
OTRS newbie
Posts: 9
Joined: 07 Jan 2013, 10:49
OTRS Version?: 3.1.11
Real Name: Terry
Company: CITIC

OTRS LDAP 设置问题

Postby terrychen » 07 Jan 2013, 11:57

各位,请教一个问题:
在配置otrs(3.1.11) Ldap 的时候,出现以下错误,不知道如何解决,请指点:

--- 错误代码 start ----
First bind failed! 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece

00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece

--- 错误代码 end ----



---- LDAP 设置代码 ---

## Customer config

# Basic LDAP info



$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';

$Self->{'Customer::AuthModule::LDAP::Host'} = '192.xx.xxx.xxx';

$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'DC=office,DC=xxx,DC=com';

$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';

$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'terrychen@xxx.com';

$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'xxxxx';







# config

$Self->{CustomerUser} = {

Name => 'terrychen',

Module => 'Kernel::System::CustomerUser::LDAP',

Params => {

Host => '192.xxx.xxx.xxx',

BaseDN => 'DC=office,DC=xxx,DC=com',

SSCOPE => 'sub',

UserDN => 'terrychen@xxx.com',

UserPW => 'xxxxx',

AlwaysFilter => '',

Params => {

port => 389,

timeout => 120,

async => 0,

version => 3,

},

},



CustomerKey => 'sAMAccountName',

CustomerID => 'mail',

#CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],

CustomerUserListFields => ['cn', 'mail'],

CustomerUserSearchFields => [ 'sAMAccountName', 'cn', 'mail'],

#CustomerUserSearchPrefix => '',

#CustomerUserSearchSuffix => '*',

CustomerUserSearchListLimit => 250,

CustomerUserPostMasterSearchFields => ['mail'],

CustomerUserNameFields => ['givenname', 'sn'],

CustomerUserExcludePrimaryCustomerID => 0,

AdminSetPreferences => 0,

Map => [

[ 'UserSalutation', 'Title', 'title', 1, 0, 'var', '', 0 ],

[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', '', 0 ],

[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', '', 0 ],

[ 'UserLogin', 'Username', 'sAMAccountName', 1, 1, 'var', '', 0 ],

[ 'UserEmail', 'Email', 'mail', 1, 1, 'var', '', 0 ],

[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', '', 0 ],

[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var', '', 0 ],

[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var', '', 0 ],

[ 'UserComment', 'Comment', 'description', 1, 0, 'var', '', 0 ],

],

};

sggggy
OTRS newbie
Posts: 25
Joined: 13 Feb 2011, 15:12
OTRS Version?: 2.4.9

Re: OTRS LDAP 设置问题

Postby sggggy » 07 Jan 2013, 13:18

我看好像是UserDN写错了,给你一个参考例子看看 http://sggggy.wiki.zoho.com/OTRS-FAQ-Wi ... BE%8B.html
OTRS 3.3.6::ITSM OS:Centos 6.3 on VMware ESXi 5.1 hypervisior
MEM:1G CPU:E5530 HDisk:30G
DB:MYSQL 5.0.77
OTRS 中文社区:http://ask.otrs.org.cn


Return to “安装和使用”

Who is online

Users browsing this forum: No registered users and 1 guest