1.Right-click on the
ou=users node and select
New Entry. The
New Entry wizard appears.
2.In the
Entry Creation Method pane, you do not need to change any settings. Click
Next.
3.In the Object Classes pane, select
inetOrgPerson from the list of
Available object classes on the left and then click
Add to populate the list of
Selected object classes. Click
Next.
4.In the
Distinguished Name pane, complete the
RDN field, putting
uid in front and
jdoe after the equals sign. Click
Next.
5.Now fill in the remaining mandatory attributes in the
Attributes pane. Set the
cn (common name) attribute to
John Doe and the
sn (surname) attribute to
Doe. Click
Finish.
6.Add a
userPassword attribute to the user entry. In the
LDAP Browser view, you should now be able to see a new node,
uid=jdoe. Select the
uid=jdoe node. Now, right-click in the
Entry Editor view and select New Attribute. The
New Attribute wizard appears.
7.From the
Attribute type drop-down list, select
userPassword. Click Finish.
8.The
Password Editor dialog appears. In the
Enter New Password field, enter the password,
123456. Click
Ok.
9.To add more users, repeat steps 7 to 14.
10.To verify new created user and password, right-click the connection name, select
Properties, click on
Authentication, enter the username you just created and the password.
or you can test connection with apacheDS API, sample:
LdapConnection connection = new LdapNetworkConnection("192.168.71.82", 10389);
BindRequest bindRequest = new BindRequestImpl();
Dn dn = new Dn("uid=mike,ou=users,ou=system");
bindRequest.setDn(dn);
bindRequest.setCredentials("123456");
BindResponse bindResponse = connection.bind(bindRequest);
System.out.println(bindResponse.getLdapResult());
connection.unBind();
connection.close();
分享到:
相关推荐
描述怎么样使用 ldap+apacheDS in jxplorer
赠送jar包:apacheds-kerberos-codec-2.0.0-M15.jar; 赠送原API文档:apacheds-kerberos-codec-2.0.0-M15-javadoc.jar; 赠送源代码:apacheds-kerberos-codec-2.0.0-M15-sources.jar; 赠送Maven依赖信息文件:...
详细介绍apache目录服务器中的各种概念,以及如何把对象存入apacheds?如何在apacheds中搜索?等等....
apacheds,搭建集群所需,配置阿里大数据集群所需,用于辅助搭建
标签:apacheds-schema-archetype-1.0.2.jar.zip,apacheds,schema,archetype,1.0.2,jar.zip包下载,依赖包
apacheds-1.5.0.zip ldap apache 实现非exe打包版
对apacheds的安装,schema定义,导入至DIT进行了详细的说明。
赠送jar包:apacheds-kerberos-codec-2.0.0-M15.jar; 赠送原API文档:apacheds-kerberos-codec-2.0.0-M15-javadoc.jar; 赠送源代码:apacheds-kerberos-codec-2.0.0-M15-sources.jar; 包含翻译后的API文档:...
简单介绍了ApacheDS的相关信息,如介绍了ApacheDS下载后的简单配置及术语介绍。自己遇到的问题整理和重点知识总结。示例demo编写,因为word文档部分代码可能由于版本不匹配(我用的2.0.x),有的程序不能执行,所以...
apacheds官网连接工具,apacheds基本类似ldap,是一个较为安全的认证服务
标签:apacheds-protocol-kerberos-1.0.1.jar.zip,apacheds,protocol,kerberos,1.0.1,jar.zip包下载,依赖包
标签:apacheds-installers-1.5.4.jar,apacheds,installers,1.5.4,jar包下载,依赖包
标签:apacheds-jdbm-1.5.7.jar.zip,apacheds,jdbm,1.5.7,jar.zip包下载,依赖包
标签:apacheds-installers-1.5.4-sources.jar,apacheds,installers,1.5.4,sources,jar包下载,依赖包
apacheds程序,提供ldap服务,启动之后提供10389端口,不需要密码验证即可登录,客户端工具可使用apache directory studio
标签:apacheds-noarch-installer-1.5.5.jar,apacheds,noarch,installer,1.5.5,jar包下载,依赖包
标签:apacheds-launcher-2.0.0.v20120224.jar,apacheds,launcher,2.0.0.v20120224,jar包下载,依赖包
apacheds源码下载
标签:apacheds-launcher-2.0.0.v20130517-javadoc.jar,apacheds,launcher,2.0.0.v20130517,javadoc,jar包下载,依赖包
标签:apacheds-core-1.0.1.jar.zip,apacheds,core,1.0.1,jar.zip包下载,依赖包