User Tools

Site Tools


ldap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
ldap [2011/10/04 10:27]
alex created
ldap [2011/10/04 10:38]
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 ​====
 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"​
  
 ==== Importing a Schema ==== ==== Importing a Schema ====
-Palmed wisdom from [[http://​www.zarafa.com/​wiki/​index.php/​OpenLdap:​_Switch_to_dynamic_config_backend_(cn%3Dconfig)#​Convert_schema_files_for_import]]:​+Palmed wisdom from [[http://​www.zarafa.com/​wiki/​index.php/​OpenLdap:​_Switch_to_dynamic_config_backend_(cn%3Dconfig)#​Convert_schema_files_for_import|Zarafa'​s LDAP wiki pages]]:
   root@marmot:​~#​ wget http://​openssh-lpk.googlecode.com/​files/​openssh-lpk_openldap.schema   root@marmot:​~#​ wget http://​openssh-lpk.googlecode.com/​files/​openssh-lpk_openldap.schema
   root@marmot:​~#​ echo '​include openssh-lpk_openldap.schema'​ > schema_convert.conf   root@marmot:​~#​ echo '​include openssh-lpk_openldap.schema'​ > schema_convert.conf
Line 17: 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 ​Data Directly ====+==== Editing ​The Configuration ​Directly ====
   root@marmot:​~#​ ldapvi -Y EXTERNAL -h ldapi:/// -b "​cn=config"​   root@marmot:​~#​ ldapvi -Y EXTERNAL -h ldapi:/// -b "​cn=config"​
ldap.txt · Last modified: 2011/11/22 10:34 by alex