Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt-ldap-server [2013/10/30 08:34]
abelbeck [Introduction to LDAP]
userdoc:tt-ldap-server [2019/08/08 10:48] (current)
mkeuter
Line 7: Line 7:
 !!Note: AstLinux 1.1.4 or later is required!! !!Note: AstLinux 1.1.4 or later is required!!
  
-==== General Configuration ====+===== General Configuration ​=====
  
 The AstLinux Web Interface is used for configuration,​ click on **Configure LDAP Server**\\ The AstLinux Web Interface is used for configuration,​ click on **Configure LDAP Server**\\
Line 45: Line 45:
 !!Note ->!! Successful password changes will be noted in the syslog. !!Note ->!! Successful password changes will be noted in the syslog.
  
-==== Introduction to LDAP ====+===== Introduction to LDAP =====
  
 LDAP is a complex subject. ​ Technically,​ LDAP is just a protocol that defines the method by which directory data is accessed. Necessarily,​ it also defines and describes how data is represented in the directory service. Finally, it defines how data is loaded (imported) into and saved (exported) from a directory service using [[wp>​LDAP_Data_Interchange_Format|LDIF]]. ​ LDAP does not define how data is stored or manipulated. Data storage and access methods are '​automagical'​ processes as far as the standard is concerned and are generally handled by back-end modules within any specific LDAP implementation. LDAP is a complex subject. ​ Technically,​ LDAP is just a protocol that defines the method by which directory data is accessed. Necessarily,​ it also defines and describes how data is represented in the directory service. Finally, it defines how data is loaded (imported) into and saved (exported) from a directory service using [[wp>​LDAP_Data_Interchange_Format|LDIF]]. ​ LDAP does not define how data is stored or manipulated. Data storage and access methods are '​automagical'​ processes as far as the standard is concerned and are generally handled by back-end modules within any specific LDAP implementation.
Line 54: Line 54:
 !!Tip ->!! This Open Source Guide [[http://​www.zytrax.com/​books/​ldap|LDAP for Rocket Scientists]] is about LDAP, OpenLDAP 2.x and ApacheDS on Linux and the BSD's. It is meant for newbies, Rocket Scientist wannabees and anyone in between. !!Tip ->!! This Open Source Guide [[http://​www.zytrax.com/​books/​ldap|LDAP for Rocket Scientists]] is about LDAP, OpenLDAP 2.x and ApacheDS on Linux and the BSD's. It is meant for newbies, Rocket Scientist wannabees and anyone in between.
  
-=== LDAP Client Tools ===+==== LDAP Client Tools ====
  
 A brief, and far from complete list of LDAP client tools and applications an AstLinux administrator may find useful is listed below. A brief, and far from complete list of LDAP client tools and applications an AstLinux administrator may find useful is listed below.
  
 +  * [[http://​sourceforge.net/​projects/​ldapaddrbook|LDAP Address Book]] ​ An LDAP Client, written in Java by John Dawson, designed to act as the front end for a global address book implemented as an LDAP directory. Supports full read/​update/​delete access to directory entries. Fully configurable for all schemas.
 +  * [[http://​jxplorer.org|JXplorer]] JXplorer is a cross platform LDAP browser and editor.\\ !!Note ->!! For Mac OS X execute: ''​chmod 755 jxplorer-3.3.02.app/​Contents/​MacOS/​jxplorer''​ to correct the wrong permissions.
  
-==== LDAP Address Book ====+ 
 +===== LDAP Address Book =====
  
 Default address book schema: Default address book schema:
Line 90: Line 93:
 This is automatic for any Export LDIF ''​.ldif.txt''​ file to be imported later. This is automatic for any Export LDIF ''​.ldif.txt''​ file to be imported later.
  
-=== vCard Export from Applications ===+==== vCard Export from Applications ​====
  
-To import your contacts into the LDAP Addressbook you need to export your contacts as a single ​multi-contact vCard file (*.vcf):+To import your contacts into the LDAP Addressbook you need to export your contacts as a __single ​multi-contact vCard file__ ​(*.vcf):
  
   * In the OS X **Apple Contacts**/​Addressbook application you can easily export a group of contacts\\ ​ by right-clicking on a groupname and selecting "​Export Group vCard…"​   * In the OS X **Apple Contacts**/​Addressbook application you can easily export a group of contacts\\ ​ by right-clicking on a groupname and selecting "​Export Group vCard…"​
Line 101: Line 104:
 You need to fix those formats before you import the *.vcf file into OpenLDAP, because the vCard-Import-Filter would change this number to "​+49-0-89-12345678"​ which would be wrong. - MK You need to fix those formats before you import the *.vcf file into OpenLDAP, because the vCard-Import-Filter would change this number to "​+49-0-89-12345678"​ which would be wrong. - MK
  
-==== Example LDAP Phone Configurations ====+===== Example LDAP Phone Configurations ​=====
  
 **Yealink SIP-T28P:​**\\ **Yealink SIP-T28P:​**\\
Line 113: Line 116:
 {{:​userdoc:​ldap-example-spa942.jpg?​nolink|SPA942}} {{:​userdoc:​ldap-example-spa942.jpg?​nolink|SPA942}}
  
-==== CLI LDAP Command Examples ====+**snom 360:**\\ 
 +Firmware: 8.7.3.19 
 + 
 +{{:​userdoc:​ldap-example-snom.jpg?​nolink|snom 360}} 
 + 
 +===== CLI LDAP Command Examples ​=====
  
 Below is a quick reference for common LDAP operations via the CLI.  The examples assume the Base DN is "​dc=ldap",​ adjust accordingly. Below is a quick reference for common LDAP operations via the CLI.  The examples assume the Base DN is "​dc=ldap",​ adjust accordingly.