# HG changeset patch # User Alessio Caiazza # Date 1245492021 -7200 # Node ID 7dbee4a1e6517eb8e898904233f75db6c3aaf25d # Parent a9da0895ed684523db634f08ad9723035f4fa096 ldap instruction diff -r a9da0895ed684523db634f08ad9723035f4fa096 -r 7dbee4a1e6517eb8e898904233f75db6c3aaf25d ldap_installation_doc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ldap_installation_doc Sat Jun 20 12:00:21 2009 +0200 @@ -0,0 +1,59 @@ +Added instruction how to configure ldap + +diff --git a/README b/README +--- a/README ++++ b/README +@@ -9,6 +9,53 @@ + 5. edit config/ldap.yml + 6. enjoy yourself + ++=== LDAP configuration ++ ++Install and configure a ldap server, make sure to include all schemas provided under /doc/ldap_schema and to comment out misc.schema ++ ++If you are using your LDAP tree for personal use, create an organizationalUnit (ou=lilik) for this app. ++Here follow an example schema that uses ou=lilik,dc=kaiman,dc=l0g,dc=in as base dn for this app. ++ ++==== init.ldif ++version: 1 ++ ++# Esportazione LDIF per: ou=lilik,dc=kaiman,dc=l0g,dc=in ++# Generato da phpLDAPadmin ( http://phpldapadmin.sourceforge.net/ ) su June 20, 2009 9:46 am ++# Server: My LDAP Server (127.0.0.1) ++# Campo di Ricerca: sub ++# Filtro di Ricerca: (objectClass=*) ++# Voci Totali: 4 ++ ++dn: ou=lilik,dc=kaiman,dc=l0g,dc=in ++objectClass: organizationalUnit ++objectClass: top ++ou: lilik ++ ++dn: o=Group,ou=lilik,dc=kaiman,dc=l0g,dc=in ++o: Group ++objectClass: organization ++objectClass: top ++ ++dn: o=hosting,ou=lilik,dc=kaiman,dc=l0g,dc=in ++o: hosting ++objectClass: organization ++objectClass: top ++ ++dn: o=People,ou=lilik,dc=kaiman,dc=l0g,dc=in ++o: People ++objectClass: organization ++objectClass: top ++ ++==== ldap.yml ++ ++For the above configuration, your ldap.yml shoul looks like ++ ++development: ++ host: 127.0.0.1 ++ base: ou=lilik,dc=kaiman,dc=l0g,dc=in ++ bind_dn: cn=superman,dc=kaiman,dc=l0g,dc=in ++ password: iH4t3StupidP4zzw0rd ++ + + == Web Servers + diff -r a9da0895ed684523db634f08ad9723035f4fa096 -r 7dbee4a1e6517eb8e898904233f75db6c3aaf25d series --- a/series Sat Jun 20 10:28:08 2009 +0200 +++ b/series Sat Jun 20 12:00:21 2009 +0200 @@ -1,1 +1,2 @@ +ldap_installation_doc # Placed by Bitbucket