Topic: openldap for win32的怎么配置、使用? |
Print this page |
1.openldap for win32的怎么配置、使用? | Copy to clipboard |
Posted by: 九佰 Posted on: 2004-04-30 11:46 openldap-2_0_7-win32-20010308 |
2.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: linux_china Posted on: 2004-04-30 12:00 斑竹,这个问题我能回答! 我找找资料,以前使用过,看看有没有留下文档。 |
3.Re:openldap for win32的怎么配置、使用? [Re: linux_china] | Copy to clipboard |
Posted by: wes109 Posted on: 2004-04-30 12:03 linux_china wrote: 老兄,还荣幸在Google上碰到你 |
4.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: linux_china Posted on: 2004-04-30 12:10 配置openldap下的slapd.conf文件,如设定域名,管理员密码,包含的schema,数据库文件存放目录等,具体信息请参考openldap文档规范。 以下是我的配置信息: 域名:bit82.edu.cn 文件存放目录: openldap主目录下openldap-ldbm,directory openldap-ldbm schema包含如下: include schema/core.schema include schema/cosine.schema include schema/misc.schema include schema/inetorgperson.schema --window下的安装步骤: 1 检查一下数据目录,保证没有数据文件(不要启动ldap服务) 2 创建domain.ldif,内容如下(根据具体情况进行相应的更改): dn:dc=bit82,dc=edu,dc=cn objectclass:dcObject objectclass:organization o:companyinfo dc:bit82 3 运行命令: slapadd -f slapd.conf -l domain.ldif (不要启动ldap服务!!!) 4 启动ldap服务(运行slapd)。可使用客户端工具(jxplorer)进行测试。 以上步骤在openldap 2.0.19 for window上成功测试过。 |
5.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: 九佰 Posted on: 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文档规范那里有? |
6.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: 九佰 Posted on: 2004-04-30 13:59 解决了! |
7.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: 九佰 Posted on: 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 配置文件文档 |
8.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: floater Posted on: 2004-04-30 22:50 softerra ldap browser |
9.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: hefish Posted on: 2004-05-24 16:15 openldap跑在win32平台上会死人的。。。。 |
10.Re:openldap for win32的怎么配置、使用? [Re: 九佰] | Copy to clipboard |
Posted by: floater Posted on: 2004-05-24 21:35 Hehe, I like this comment, although not for development, |
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 |