Chinaunix

标题: 紧急求救windows下ldap数据导出报错ldap_bind: Invalid credentials [打印本页]

作者: juan0815    时间: 2010-08-24 19:07
标题: 紧急求救windows下ldap数据导出报错ldap_bind: Invalid credentials
本帖最后由 juan0815 于 2010-08-24 19:13 编辑

在网上查了一圈下来,方法都尝试过了不行。不知道是操作系统的问题。安装在window操作系统下。
ldapsearch.exe -h ip -p 389 -D "cn=Directory Manager" -w 12345678 -b "o=xxx.cn, o=isp" uid=*
报错:ldap_bind: Invalid credentials
配置文件slapd.conf如下
########################################################################
# d:\iPlanet\Server5\slapd-mail\config\slapd.conf
# Netscape Directory Server global configuration file
# Do not modify this file while ns-slapd is running
########################################################################
instancedir        "d:/iPlanet/Server5/slapd-mail"
errorlog        "d:/iPlanet/Server5/slapd-mail/logs/errors"
errorlog-logging-enabled        on
plugin syntax on "Telephone Syntax" "d:/iPlanet/Server5/lib/syntax-plugin.dll" tel_init
plugin matchingRule on "Internationalization Plugin" "d:/iPlanet/Server5/lib/liblcoll.dll" orderingRule_init  "d:/iPlanet/Server5/slapd-mail/config/slapd-collations.conf"
plugin syntax on "Integer Syntax" "d:/iPlanet/Server5/lib/syntax-plugin.dll" int_init
plugin syntax on "Distinguished Name Syntax" "d:/iPlanet/Server5/lib/syntax-plugin.dll" dn_init
plugin syntax on "Case Ignore String Syntax" "d:/iPlanet/Server5/lib/syntax-plugin.dll" cis_init
plugin syntax on "Case Exact String Syntax" "d:/iPlanet/Server5/lib/syntax-plugin.dll" ces_init
plugin syntax on "Binary Syntax" "d:/iPlanet/Server5/lib/syntax-plugin.dll" bin_init
return_exact_case        off
include        "d:/iPlanet/Server5/slapd-mail/config/slapd.at.conf"
include        "d:/iPlanet/Server5/slapd-mail/config/slapd.oc.conf"
include        "d:/iPlanet/Server5/slapd-mail/config/ns-schema.conf"
readonly        off
timelimit        3600
sizelimit        2000
lastmod        on
idletimeout        0
ntsynch        off
ntsynch-port        5009
ntsynchusessl        on
port        389
secure-port        636
schemacheck        on
enquote_sup_oc        on
security        off
userat        "d:/iPlanet/Server5/slapd-mail/config/slapd.user_at.conf"
useroc        "d:/iPlanet/Server5/slapd-mail/config/slapd.user_oc.conf"
accesslog        "d:/iPlanet/Server5/slapd-mail/logs/access"
auditfile        "d:/iPlanet/Server5/slapd-mail/logs/audit"
localhost        mail.xxx.cn
rootdn        "cn=Directory Manager"
rootpw        {SHA}fCIvspJ9goryL1khNOiTJIBjfA0=
rootpwstoragescheme        SHA
orcauto        off
threadnumber        20
maxthreadsperconn        5
reservedescriptors        128
ioblocktimeout        1800000
accesscontrol        on
result_tweak        off
nagle        off
attribute_name_exceptions        0
pw_storagescheme        SHA
pw_change        on
pw_must_change        off
pw_syntax        off
pw_minlength        6
pw_exp        off
pw_maxage        8640000
pw_minage        0
pw_warning        86400
pw_history        off
pw_inhistory        6
pw_lockout        off
pw_maxfailure        3
pw_unlock        on
pw_lockduration        3600
pw_resetfailurecount        600
accessloglevel        256
logbuffering        on
accesslog-logging-enabled        on
accesslog-maxNumOfLogsPerDir        10
accesslog-maxlogsize        100
accesslog-logrotationtime        1
accesslog-logrotationtimeunit        day
accesslog-maxlogdiskspace        500
accesslog-minfreediskspace        5
accesslog-logexpirationtime        1
accesslog-logexpirationtimeunit        month
errorlog-maxNumOfLogsPerDir        1
errorlog-maxlogsize        100
errorlog-logrotationtime        1
errorlog-logrotationtimeunit        week
errorlog-maxlogdiskspace        100
errorlog-minfreediskspace        5
errorlog-logexpirationtime        1
errorlog-logexpirationtimeunit        month
auditlog-logging-enabled        off
auditlog-maxNumOfLogsPerDir        1
auditlog-maxlogsize        100
auditlog-logrotationtime        1
auditlog-logrotationtimeunit        week
auditlog-maxlogdiskspace        100
auditlog-minfreediskspace        5
auditlog-logexpirationtime        1
auditlog-logexpirationtimeunit        month
dynamicconf        "d:/iPlanet/Server5/slapd-mail/config/slapd.ldbm.conf"
作者: forxy    时间: 2010-08-24 23:52
试试    使用简单认证
作者: hsconan    时间: 2010-09-17 15:51
试一试加 -x 这个参数。另外,我怀疑你那个绑定用户的身份不对了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2