	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 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

	http://www.fml.org/home/fukachan/ja/links.ldap.html

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 ?

	http://www.fml.org/home/fukachan/ja/links.ldap.html

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

