	Access to LDAP (Leightweight Directory Access Protocol)

------------------------------------------------------------
1	概要
1.1	Books
1.2	links

Appendix A	おもちゃのモデル

Appendix B	Objectclass
Appendix B.1	objectclass: inetOrgPerson

Appendix C	links ?
Appendix C.1	LDAP and NIS
Appendix C.2	misc

Appendix D	もろもろ
Appendix D.1	NetBSD の場合の注意
Appendix D.2	データベースの設計についての２、３の考察…
------------------------------------------------------------


1	概要

リレーショナルデータベースの呼び出しについては 
PostgreSQL は RDBMS 1
MySQL は RDBMS 2
を参照して下さい。

1.1	Books

"Understanding and Deploying Ldap Directory Services"
(MacMillan Network Architecture and Development Series)

1.2	links

Netscape Communicator
	http://developer.netscape.com/docs/manuals/communicator/ldap45.htm

on LDAP
	http://www.ldapcentral.com/
	http://www.openldap.org/
	http://www.kingsmountain.com/ldapRoadmap.shtml
	http://www.umich.edu/~dirsvcs/ldap/doc/guides/slapd/
	http://www.padl.com/
	http://www.rage.net/ldap/
	http://www.terminator.net/ldapconf/ldap.html
	http://people.netscape.com/bjm/whyLDAP.html
	http://developer.netscape.com/docs/manuals/ldap/
	http://www.sakata.org/ldap/

[LDAP Browser]
	http://www.iit.edu/~gawojar/ldap/

NOTE:

Netscape ldap is downloadable and extremely easy to setup and configure.
Additionally, it doesn't require licenseing for a small amount of users.

RFC's

rfc2255.txt rfc2849.txt rfc2789.txt

Appendix A	おもちゃのモデル

	../examples/ldap-toymodel.pl

config.ph で設定するデータベースの部分の例(差分)

	../examples/ldap-config.ph

    # Database general definition
    $USE_DATABASE            = 1;
    $DATABASE_METHOD         = 'LDAP';
    $DATABASE_DRIVER         = 'databases/ldap/toymodel.pl';
    
    # LDAP specific
    $LDAP_SERVER_HOST        = "ldap.fml.org";
    $LDAP_SEARCH_BASE        = 'cn=elena, dc=fml, dc=org';
    $LDAP_SEARCH_BIND        = "cn=root, dc=fml, dc=org";
    $LDAP_SEARCH_PASSWORD    = $NULL;
    $LDAP_SEARCH_CERT_FILE   = $NULL;
    $LDAP_QUERY_FILTER       = "(objectclass=*)";
    
    1;

Appendix B	Objectclass

Appendix B.1	objectclass: inetOrgPerson

rfc2798.txt	

    4.  Example of an inetOrgPerson Entry
    
       The following example is expressed using the LDIF notation defined in
       [LDIF].
    
       version: 1
       dn: cn=Barbara Jensen,ou=Product Development,dc=siroe,dc=com
       objectClass: top
       objectClass: person
       objectClass: organizationalPerson
       objectClass: inetOrgPerson
       cn: Barbara Jensen
       cn: Babs Jensen
       displayName: Babs Jensen
       sn: Jensen
       givenName: Barbara
       initials: BJJ
       title: manager, product development
       uid: bjensen
       mail: bjensen@siroe.com
       telephoneNumber: +1 408 555 1862
       facsimileTelephoneNumber: +1 408 555 1992
       mobile: +1 408 555 1941
       roomNumber: 0209
       carLicense: 6ABC246
       o: Siroe
       ou: Product Development
       departmentNumber: 2604
       employeeNumber: 42
       employeeType: full time
       preferredLanguage: fr, en-gb;q=0.8, en;q=0.7
       labeledURI: http://www.siroe.com/users/bjensen My Home Page

Appendix C	links ?

Appendix C.1	LDAP and NIS

	http://www.padl.com/software.html

Appendix C.2	misc

	http://www.ldapcentral.com/
	http://www.openldap.org/
	http://www.kingsmountain.com/ldapRoadmap.shtml
	http://www.umich.edu/~dirsvcs/ldap/doc/guides/slapd/
	http://www.padl.com/
	http://www.rage.net/ldap/
	http://www.terminator.net/ldapconf/ldap.html
	http://people.netscape.com/bjm/whyLDAP.html
	http://developer.netscape.com/docs/manuals/ldap/

	http://developer.iplanet.com/docs/technote/ldap/
	http://www.umich.edu/~dirsvcs/ldap/doc/guides/
	ftp://ftp.debian.org/debian/dists/frozen/main/source/doc/openldap-guide_19991007.orig.tar.gz

NOTE:

Netscape ldap is downloadable and extremely easy to setup and configure.
Additionally, it doesn't require licenseing for a small amount of users.

ディレクトリ情報をXML文書として記述するための DTD

	http://www.dsml.org/

PGP (?)
	http://rednest.rosinter.ru/pgp_ldap_server.htm

Browser ?
	http://www.iit.edu/~gawojar/ldap/

入門用のドキュメント ?

	http://www.openldap.org/doc/admin/
	http://www.interq.or.jp/earth/inachi/openldap/admin/index-ja.html

LDAP 関連 RFC の日本語版

	http://www.cysols.com/JLDAPdocs/

OID
	http://www.openldap.org/doc/admin/schema.html

iplanet 
	http://ja.iplanet.com/products/dir_srvr/solarisfaq_enduser.html
	http://www.sun.co.jp/solaris/binaries/package.html

?
	http://www.arsdigita.com/

auth_ldap module
	http://www.rudedog.org/auth_ldap/1.4/auth_ldap.html

some project

        RFC 2968
        Title:	    Mesh of Multiple DAG servers - Results from TISDAG

        RFC 2969
        Title:	    Wide Area Directory Deployment - Experiences from

        RFC 2970
        Title:	    Architecture for Integrated Directory Services -

Appendix D	もろもろ

Appendix D.1	NetBSD の場合の注意

openldap ではなく /usr/pkgsrc/devel/ldapsdk/ をいれる。

	% LDAPSDKDIR=/usr/pkg perl Makefile.PL 
	% make
	# make install

Appendix D.2	データベースの設計についての２、３の考察…

データベースの構造をいかに設計するべきかが肝心な点だとおもうんですが、
斜め読みのせいかもしれないんですが…
やっぱり肝心な点が今一つ素人にはわからないっす(素人過ぎ？)ねぇ。

LDAP Schema Example:

     cn=$file,dc=$ml,dc=$FQDN

     cn=actives,dc=elena,dc=fml.org
     cn=members,dc=elena,dc=fml.org

              $suffix (content prefix)
                |
              o=fml,org
                |
              cn=$domain
                |
              ml=$ml
             /    |
     cn=actives   cn=members


		INDEX

