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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!- $Id: LDAP-doc.html,v 1.3 1999/03/29 12:43:22 hop Exp $ ->
<HTML>
<HEAD>
<TITLE>LDAP support for Pike and Roxen</TITLE>
</HEAD>
<BODY bgcolor="#ffffff" link="#ff0000" vlink="#000099" alink="#009900" text="#000000">
<H1 align=center>LDAP support<br>for<br>Pike and Roxen</H1>
<P><BR>
This document discusses the following topics:
<UL>
<LI> <A href="#abstract">Abstract</A>
<LI> <A href="#location">Location</A>
<LI> <A href="#files">Package files</A>
<LI> <A href="#copyleft">Copyleft</A>
<LI> <A href="#ldapintro">Ldap Intro</A>
<LI> <A href="#requirements">Requiremnts</A>
<LI> <A href="#compilation">Compilation</A>
<LI> <A href="Protocols.LDAP-doc.html">Pike objects</A>
<LI> <A href="Roxen_modules-doc.html">Roxen modules</A>
<LI> <A href="#limitations">Limitations</A>
<LI> <A href="#feedback">Feedback</A>
</UL>
<P><RIGHT><FONT size=-2>
© <A href="mailto:hop@unibase.cz">Honza Petrous</A>, v1.3
</FONT></RIGHT>
<HR>
<P><BR>
<A name="abstract"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Abstract</H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD > This package added LDAP client capabilities to Pike and Roxen.
<P>
<UL>
<LI>The LDAP operation is performed by the version 2 of LDAP protocol (RFC 1777).
<LI>You can use the LDAP interface in Pike programs and with Roxen server
in HTML code too.
Document describes package version 1.5
</UL>
<P><BR></TD>
</TR>
</TABLE>
<A name="location"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Location and Documentation</H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD > The latest version of this package can be found at:<BR>
<A href="http://cirilla.unibase.cz/ftpserver/src/Roxen/">
http://cirilla.unibase.cz/ftpserver/src/Roxen/</A> (my home site)<BR>
<P><BR></TD>
</TR>
</TABLE>
<A name="files"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Package files</H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD > The package contains following files:
<PRE>
COPYING
FILES
INSTALL
NEWS
QREF
TODO
lib/Protocols.pmod/LDAP.pmod/ldap_errors.h
lib/Protocols.pmod/LDAP.pmod/ldap_globals.h
lib/Protocols.pmod/LDAP.pmod/ldap_privates.pmod
lib/Protocols.pmod/LDAP.pmod/protocol.pike
lib/Protocols.pmod/LDAP.pmod/client.pike
doc/
doc/LDAP.client
doc/LDAP.client.result
doc/LDAP-doc.html <- You are here ;-)
doc/Protocols.LDAP-doc.html
doc/LDAP-roxen_modules-doc.html
pike/scripts/cvsimport.pike
pike/scripts/ldapsearch.pike
pike/scripts/monitor.pike
roxen/scripts/lsd3.pike
roxen/scripts/searchuser.pike
roxen/modules/ldapuserauth.pike <- Roxen module
roxen/modules/ldaptag.pike <- Roxen module
</PRE>
</TR>
</TABLE>
<A name="copyleft"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Copyright and Disclaimer of Warranty</H2></TD>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD > This software and the accompanying documentation are © 1998-99
Honza Petrous <<A href="mailto:hop@unibase.cz">hop@unibase.cz</A>>.
Use, reproduction and distribution are allowed under the terms of the
GNU General Public License version 2 or, at your option, any later
version. Use of the software implies you know all the terms therein
explained and that you agree to these terms.<P>
This program is distributed in the hope that it will be useful,
but <B>WITHOUT ANY WARRANTY</B>; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
<P><BR></TD>
</TR>
</TABLE>
<A name="ldapintro"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>The Lightweight Directory Access Protocol<H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD >
<H3>Definition:</H3>
LDAP is a directory service protocol that runs over TCP/IP.
A directory service is a standards-based information database that is
used to organize various objects (users, groups, devices, etc.) and
their properties (users name, user telephone number, a device type).
Directory services are becoming increasingly important as a way to
automatically share information about a person, group or device among
various applications and network services. LDAP has emerged as the most
popular directory service for TCP/IP networks and the Internet.
<P>
<HR>
<H3>Benefit:</H3>
LDAP is rapidly becoming an information standard throughout the
computer industry. Because of the rapid growth in complexity of
networks, a directory service is needed to manage the thousands or
millions of users and devices that interact on both intranets and
the Internet.
<P>
<HR>
<P>
Excellent Intro to LDAP is in <A href=ldapdoc1.html>part of
"Administrator's Guide for SLAPD nad SLURPD"</A>.
<P>
For more detailed information see:
<UL>
<LI>
<A href="http://www.OpenLDAP.org/">OpenLDAP</A> project.
<LI>
<A href="http://elvira.innosoft.com/ldapworld">
LDAPWorld web page</A> at Critical Angle's successor Innosoft Inc.
<LI>
<A href="http://www.umich.edu/~dirsvcs/ldap/index.html">
LDAP Pages</A> at University of Michigan.
<LI>
<A href="http://www.kingsmountain.com/ldapRoadmap.shtml">
An LDAP Roadmap & FAQ</A>
</UL>
<P><BR></TD>
</TR>
</TABLE>
<A name="requirements"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Requirements</H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD > Good news: there are no special requirements for binary libraries!
<P>
<A href="http://pike.idonex.se">Pike</A> <U>must be version 0.6 or
higher </U>(with module Standards.ASN1) and<BR>
<A href="http://www.roxen.com">Roxen</A> must be version 1.3.24 or
higher.<BR>
<P><BR></TD>
</TR>
</TABLE>
<A name="compilation"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Compilation</H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD > Only one need: copy module directory lib/Protocols.pmod/LDAP.pmod/
to the Pike's module location.
<P>
That's it!
<P><BR></TD>
</TR>
</TABLE>
<A name="limitations"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Limitations</H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD > Yes, of course this package have many limitations, Sorry.
<P>
<OL>
<LI><B>LDAP operations</B><BR>
There is some unimplemented functions:<BR>
<UL>
<LI><B>modrn</B><BR>
Modify the RDN of an entry
<LI><B>dn2ufn</B><BR>
User friendly format of DN
</UL>
<P>
And some data limitation:<BR>
<UL>
<LI><B>search</B><BR>
Search filter can't understand '\*', '\=', '\>' ...
</UL>
<P>
<LI><B>Authentication and data privacy</B><BR>
Bind operation uses cleartext password. But I plan add
SSL3 encrypted chanel.
<P>
<LI><B>Binary capabilities</B><BR>
I had never probe operations with binary data, but this should
works (Pike is 8-bit clear!).
<P>
<LI><B>International support</B><BR>
I'm working on this. It is No.1, for me - I'm from Central Europe!
<BR><BR>
There is one not very easy solved problem: T.61, UTF-8 or both?
<P>
</OL><P>
</TR>
</TABLE>
<A name="feedback"></A>
<TABLE align=center width="100%">
<TR>
<td bgcolor=#ffdead align=center><H3>Feedback and final notes</H3></td>
</TR>
</TABLE>
<P>
<TABLE width="100%">
<TR>
<TD width=50></td>
<TD> This module, the accompanying documentation and tools are <B>free
software</B>. That means, you can use, copy, distribute them freely.
Don't send me money, please ;-)
<p>
Many thank for helping me with testing package, for many geniuous ;-)
ideas and interesting notes to Matthew Brooks <matt@broadcom.ie>
<p>
and
<p>
Wim Bonis <bonis@kiss.de> for his ldapuserauth module improvements.
<p>
I'm looking for any feedback regarding this package or how
you use this package.
<BR>
Write me if you find this code usefull.
<BR>
<DIV align=right>
Sincerely,<BR>
<ADDRESS><A href="mailto:hop@unibase.cz">Honza Petrous</A></ADDRESS>
</DIV>
<P><BR></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|