Ldap Admin is a free Windows LDAP client and administration tool for LDAP directory management. This application lets you browse, search, modify, create and delete objects on LDAP server. It also supports more complex operations such as directory copy and move between remote servers and extends the common edit functions to support specific object types (such as groups and accounts).

Features

  • Browsing and editing of LDAP directories
  • Recursive operations on directory trees (copy, move and delete)
  • Modify operations on datasets
  • Binary attribute support
  • Schema browsing
  • Renaming of LDAP Entries
  • LDIF export and import
  • Password management (supports crypt, md5, sha, sha-crypt, samba)
  • Management of Posix Groups and Accounts
  • Management of Samba Accounts
  • Postfix MTA Support
  • LDAP SSL support (using Windows API)
  • Template support

使用

下载安装

下载地址: http://www.ldapadmin.org/download/ldapadmin.html, 下载完毕后直接解压即可使用。

连接配置

打开解压得到的LdapAdmin.exe,单击工具栏中的Connect按钮,点击New connection创建新的连接。

ldap new connection

配置中Host以及相关域名请根据自身配置调整,点击Test connection测试配置,测试成功后点击OK保存,双击刚刚生成的配置crscd连接LDAP服务器。

ldap connect

示例配置

dc=crscd,dc=org[ldap.crcd.org]处右击,选择”New->Organizational Unit”,创建新的组织research,点击OK确定。

ldap new organization

ou=research处右击,选择”New->User””,创建新员工。

ldap new user

此时我们可以在LDAP服务器中运行”ldapsearch -x“验证效果。

cuckoo@server0:~$ ldapsearch -x
# extended LDIF
#
# LDAPv3
# base <dc=crscd,dc=org> (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# crscd.org
dn: dc=crscd,dc=org
objectClass: top
objectClass: dcObject
objectClass: organization
o: CRSC
dc: crscd

# admin, crscd.org
dn: cn=admin,dc=crscd,dc=org
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator

# research, crscd.org
dn: ou=research,dc=crscd,dc=org
objectClass: top
objectClass: organizationalUnit
ou: research
description:: 56CU56m26Zmi

# cuckoo, research, crscd.org
dn: uid=cuckoo,ou=research,dc=crscd,dc=org
objectClass: posixAccount
objectClass: top
objectClass: inetOrgPerson
gidNumber: 0
givenName: Shan
sn: Yafeng
displayName: Shan Yafeng
uid: cuckoo
homeDirectory: /home/cuckoo
cn: Shan Yafeng
uidNumber: 31852

# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 4
文章目录
  1. 1. Features
  2. 2. 使用
    1. 2.1. 下载安装
    2. 2.2. 连接配置
    3. 2.3. 示例配置