Penguin
Annotated edit history of LDAP version 11, including all changes. View license author blame.
Rev Author # Line
8 AristotlePagaltzis 1 An [Acronym] for __L__ightweight __D__irectory __A__ccess __P__rotocol.
1 WikiAdmin 2
8 AristotlePagaltzis 3 A [Protocol] for accessing hierarchical data. Kinda like [SQL] except it has "fixed" schemata (you can define your own, but not quite as easily as you do in [SQL]) and it's for HierarchicalDataBase~s rather than RelationalDataBase~s. It is often used for directories, so [LDAP] implementations are commonly optimised for reading much more than for modifying/inserting data.
1 WikiAdmin 4
8 AristotlePagaltzis 5 Products which speak [LDAP] include the [Free] [OpenLDAP], NetWare's [NDS], and MicrosoftCorporation's ActiveDirectory.
9 PerryLorier 6
7 Definitions of terms:
8 ;BASEDN:This is the base of your ldap tree. Often it's made up from your domain name (if your domain name is foo.example.org then your basedn is often dc=foo,dc=example,dc=org), or from your organisation name (ou=''organisationname'',c=''ISO country code'').
9 ;BINDDN:This is the "username" you bind to the ldap tree as. Often cn=''<username>'',ou=Users,''<BASEDN>''
10
11 When trying to use ldapsearch(1) try:
11 JohnMcPherson 12 <pre>
13 ldapsearch -x -h ''ldapservername'' -B ''binddn'' -W -b ''basedn''
14 </pre>
9 PerryLorier 15 This can often be simplified and defaults provided in <tt>/etc/ldap/ldap.conf</tt> or <tt>/etc/openldap/ldap.conf</tt>
16
10 PerryLorier 17 <?plugin OldStyleTable
18 |^__Short name__|^__Long name__|^__Use__
9 PerryLorier 19 |cn|commonName|A common ("readable") name of a resource
20 |ou|organisationalUnit|Some unit (or grouping).
21 |uid|userId|A username
10 PerryLorier 22 ?>
9 PerryLorier 23
1 WikiAdmin 24
8 AristotlePagaltzis 25 See also:
26 * [LDAPNotes]
27 * [LDAPURLs]
28 * [LDAPAuthentication]
29 * OpenLdapAccessControls
30 * ''[LDAP] System Adminstration'', available to [WLUG] members from the [WlugLibrary:15]
31 * DanielLawson, our local [LDAP] guru. If you've got the problem, he's got the solution. :)
3 DanielLawson 32
2 PerryLorier 33 ----
34 CategoryProtocols