This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ldap [2011/10/04 11:30] alex |
ldap [2011/11/22 10:34] (current) alex |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== LDAP Management ====== | ====== LDAP Management ====== | ||
- | ===== Handy Hints ==== | + | ===== Generic ===== |
+ | Handy traditional tools to use are: | ||
+ | * ldapsearch, ldapmodify, ldapadd, etc | ||
+ | * editors | ||
+ | * ldapvi | ||
+ | * [[http://jxplorer.org/|jxplorer]] | ||
+ | |||
+ | ===== Configuration ==== | ||
==== Browsing ==== | ==== Browsing ==== | ||
To look at the LDAP server configuration: | To look at the LDAP server configuration: | ||
root@marmot:~# ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=config" | root@marmot:~# ldapsearch -Y EXTERNAL -H ldapi:/// -b "cn=config" | ||
- | | ||
- | Sometimes it is easier to digest an LDAP directory using a GUI tool, a suitable one I found is [[http://jxplorer.org/|jxplorer]]. | ||
==== Importing a Schema ==== | ==== Importing a Schema ==== | ||
Line 20: | Line 25: | ||
adding new entry "cn=openssh-lpk_openldap,cn=schema,cn=config" | adding new entry "cn=openssh-lpk_openldap,cn=schema,cn=config" | ||
| | ||
- | + | ==== Editing The Configuration Directly ==== | |
- | ==== Editing Data Directly ==== | + | |
root@marmot:~# ldapvi -Y EXTERNAL -h ldapi:/// -b "cn=config" | root@marmot:~# ldapvi -Y EXTERNAL -h ldapi:/// -b "cn=config" |