免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3759 | 回复: 2
打印 上一主题 下一主题

[ldap] 紧急求救windows下ldap数据导出报错ldap_bind: Invalid credentials [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-08-24 19:07 |只看该作者 |倒序浏览
本帖最后由 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"

论坛徽章:
0
2 [报告]
发表于 2010-08-24 23:52 |只看该作者
试试    使用简单认证

论坛徽章:
0
3 [报告]
发表于 2010-09-17 15:51 |只看该作者
试一试加 -x 这个参数。另外,我怀疑你那个绑定用户的身份不对了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP