Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Application Server
» Other AS
打印话题 寄给朋友 订阅主题 |
作者 | openldap for win32的怎么配置、使用? |
九佰
版主 发贴: 983 积分: 126 |
于 2004-04-30 11:46
openldap-2_0_7-win32-20010308 http://www.teamlet.org 海纳百川,有容乃大 壁立千仞,无欲则刚 智者不惑,勇者无惧 止戈为武,仁者无敌 |
作者 | Re:openldap for win32的怎么配置、使用? [Re:九佰] |
linux_china
版主 发贴: 752 积分: 240 |
于 2004-04-30 12:00
斑竹,这个问题我能回答! 我找找资料,以前使用过,看看有没有留下文档。 |
作者 | Re:openldap for win32的怎么配置、使用? [Re:linux_china] |
wes109
以梦为马 CJSDN高级会员 发贴: 857 积分: 60 |
于 2004-04-30 12:03
linux_china wrote: 老兄,还荣幸在Google上碰到你 |
作者 | Re:openldap for win32的怎么配置、使用? [Re:九佰] |
九佰
版主 发贴: 983 积分: 126 |
于 2004-04-30 13:14
schema apitest.exe apitest_r.exe dtest.exe etest.exe hs_regex.dll ldapdelete.exe ldapmodify.exe ldapmodrdn.exe ldappasswd.exe ldapsearch.exe libdb.dll libsasl.dll LICENSE.db LICENSE.openldap LICENSE.regex LICENSE.sasl ltest.exe ltest_r.exe msvcirt.dll msvcrt.dll passwd.exe slapadd.exe slapcat.exe slapd.conf slapd.exe slapindex.exe testavl.exe ud.exe 解压后的文件和目录 没有其他的目录 openldap文档规范那里有? http://www.teamlet.org 海纳百川,有容乃大 壁立千仞,无欲则刚 智者不惑,勇者无惧 止戈为武,仁者无敌 |
作者 | Re:openldap for win32的怎么配置、使用? [Re:九佰] |
九佰
版主 发贴: 983 积分: 126 |
于 2004-04-30 13:59
解决了! http://www.teamlet.org 海纳百川,有容乃大 壁立千仞,无欲则刚 智者不惑,勇者无惧 止戈为武,仁者无敌 |
作者 | Re:openldap for win32的怎么配置、使用? [Re:九佰] |
九佰
版主 发贴: 983 积分: 126 |
于 2004-04-30 14:21
假设ldap解压到d:\ldap中 1.在ldap(d:\ldap)目录中创建openldap-ldbm目录 2.修改slapd.conf文件 slapd.conf如下,需要修改的地方有注释 ############################################# # $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18 kurt Exp $ # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # #===================================== # 修改%SYSCONFDIR%为openldap所在目录 # 即 slapd.conf 所在目录 d:\ldap #===================================== include %SYSCONFDIR%/schema/core.schema # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org #============================================= # 修改%LOCALSTATEDIR%为openldap所在目录 # 即 slapd.conf 所在目录 d:\ldap #============================================= pidfile %LOCALSTATEDIR%/slapd.pid argsfile %LOCALSTATEDIR%/slapd.args # Load dynamic backend modules: # modulepath %MODULEDIR% # moduleload back_ldap.la # moduleload back_ldbm.la # moduleload back_passwd.la # moduleload back_shell.la ####################################################################### # ldbm database definitions ####################################################################### database ldbm #=========================================== # 修改 suffix中的值和domain.ldif中的第一行一致 # dn:dc=bit82,dc=edu,dc=cn #=========================================== suffix "dc=bit82,dc=edu,dc=cn" #suffix "o=My Organization Name, c=US" rootdn "cn=Manager, dc=my-domain, dc=com" #rootdn "cn=Manager, o=My Organization Name, c=US" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw secret # The database directory MUST exist prior to running slapd AND # should only be accessable by the slapd/tools. Mode 700 recommended. #========================================= # 修改%LOCALSTATEDIR%为openldap所在目录 # 即 slapd.conf 所在目录 d:\ldap #========================================= directory %LOCALSTATEDIR%/openldap-ldbm # Indices to maintain index objectClass eq 3.创建domain.ldif文件,内容 如下 domain.ldif dn:dc=bit82,dc=edu,dc=cn objectclass:dcObject objectclass:organization o:companyinfo dc:bit82 4.slapadd -f slapd.conf -l domain.ldif 5.启动ldap服务:运行slapd 感谢linux_china~! http://www.openldap.org/doc/admin20/slapdconfig.html 配置文件文档 http://www.teamlet.org 海纳百川,有容乃大 壁立千仞,无欲则刚 智者不惑,勇者无惧 止戈为武,仁者无敌 |
作者 | Re:openldap for win32的怎么配置、使用? [Re:九佰] |
hefish
发贴: 0 积分: 0 |
于 2004-05-24 16:15
openldap跑在win32平台上会死人的。。。。 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |