File: book.xml

package info (click to toggle)
php-doc 20081024-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 57,752 kB
  • ctags: 3,858
  • sloc: xml: 686,554; php: 19,446; perl: 610; cpp: 500; makefile: 336; sh: 114; awk: 28
file content (119 lines) | stat: -rw-r--r-- 3,485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- Purpose: remote.other -->
<!-- Membership: bundled, external -->
 
<book xml:id="book.ldap" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Lightweight Directory Access Protocol</title>
 <titleabbrev>LDAP</titleabbrev>
 
 <!-- {{{ preface -->
 <preface xml:id="intro.ldap">
  &reftitle.intro;
  <para>
   LDAP is the Lightweight Directory Access Protocol, and is a
   protocol used to access "Directory Servers". The Directory is a
   special kind of database that holds information in a tree
   structure.  
  </para>
  <para> 
   The concept is similar to your hard disk directory structure,
   except that in this context, the root directory is "The world"
   and the first level subdirectories are "countries". Lower levels
   of the directory structure contain entries for companies,
   organisations or places, while yet lower still we find directory
   entries for people, and perhaps equipment or documents.
  </para>
  <para>
   To refer to a file in a subdirectory on your hard disk, you might
   use something like:
  </para>
  <literallayout>
   /usr/local/myapp/docs
  </literallayout>
  <para>
   The forwards slash marks each division in the reference, and the
   sequence is read from left to right.
  </para>
  <para> 
   The equivalent to the fully qualified file reference in LDAP is
   the "distinguished name", referred to simply as "dn". An example
   dn might be:
  </para>
  <literallayout>
   cn=John Smith,ou=Accounts,o=My Company,c=US
  </literallayout>
  <para>
   The comma marks each division in the reference, and the sequence
   is read from right to left. You would read this dn as:
  </para>
  <literallayout>
   country = US
   organization = My Company
   organizationalUnit = Accounts
   commonName = John Smith
  </literallayout>
  <para>
   In the same way as there are no hard rules about how you organise
   the directory structure of a hard disk, a directory server
   manager can set up any structure that is meaningful for the
   purpose. However, there are some conventions that are used. The
   message is that you can not write code to access a directory
   server unless you know something about its structure, any more
   than you can use a database without some knowledge of what is
   available.
  </para>
  <para>
   Lots of information about LDAP can be found at
  </para>

  <itemizedlist>
   <listitem>
    <para>
     <link xlink:href="&url.ldap.netscape;">Mozilla</link>
    </para>
   </listitem>
   <listitem>
    <para>
     <link xlink:href="&url.ldap.openldap;">OpenLDAP Project</link>
    </para>
   </listitem>
  </itemizedlist>

  <para>    
   The Netscape SDK contains a helpful
   <link xlink:href="&url.ldap.netscape.sdk.docs;">Programmer's Guide</link> in
   HTML format.
  </para>
 </preface>
 <!-- }}} -->
 
 &reference.ldap.setup;
 &reference.ldap.constants;
 &reference.ldap.using;
 &reference.ldap.examples;
 &reference.ldap.reference;

</book>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->