Update of /cvsroot/phpslash/phpslash-dev/public_html
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16664
Modified Files:
config-dist.ini.php
Log Message:
added ldap variables
Index: config-dist.ini.php
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.ini.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** config-dist.ini.php 21 Oct 2004 18:58:31 -0000 1.19
--- config-dist.ini.php 26 Oct 2004 06:15:25 -0000 1.20
***************
*** 145,149 ****
;;;
! ;; Database variables
;;
;; Make sure you initialize the database with one of the sql scripts in
--- 145,149 ----
;;;
! ;; SQL Database variables
;;
;; Make sure you initialize the database with one of the sql scripts in
***************
*** 153,160 ****
DB_User = "<DB_USER>"
DB_Password = "<DB_PASSWORD>"
! ;; end of database variables
;;;
;;;
;; PHPLIB configuration
;;
--- 153,180 ----
DB_User = "<DB_USER>"
DB_Password = "<DB_PASSWORD>"
! ;; end of sql database variables
;;;
;;;
+ ;; LDAP Database variables
+ ;;
+ ;; You might need to initiate a database with the sample ldif and add
+ ;; some users using
+ ;;
+ ;; LDAP_Host format: ldap[s]://domain[:389|:636] or hostname
+ LDAP_Host = "<LDAP_HOST>"
+ ;; LDAP_Port format: 389|636 (Optional: needed only if LDAP_HOST is given as 'hostname' and not as URI
+ LDAP_Port = "<LDAP_PORT>"
+ ;; LDAP_Base format: dc=domain,dc=local or o=Group or CN=Users,dc=domain. Consult your db with ldapsearch (see: man ldapsearch)
+ LDAP_Base = "<LDAP_BASE>"
+ ;; TODO: user's needed to create new users (future):
+ ;; LDAP_User format (bind_dn): uid=user,dc=domain,dc=local
+ LDAP_User = "<LDAP_USER>"
+ ;; LDAP_PASSWORD format: {MD5}string or {SHA1}string ... etc...
+ LDAP_Password = "<LDAP_PASSWORD>"
+ ;; end of ldap database variables
+ ;;;
+
+ ;;;
;; PHPLIB configuration
;;
***************
*** 253,262 ****
;; Authorization mode:
;; 'CR' - Authorize by Challenge Response [default]
! ;; 'LDAP' -
auth.type = "CR"
;;;;;;
;; Registration mode:
! ;; 'reg' - allow users to register themselves and create accounts on your site
;; 'log' - restrict the creation of new accounts to administrators
auth.mode = "reg"
--- 273,282 ----
;; Authorization mode:
;; 'CR' - Authorize by Challenge Response [default]
! ;; 'LDAP' - Authorize against an LDAP repository (objectclass=inetOrgPerson,posixAccount,shadowAccount)
auth.type = "CR"
;;;;;;
;; Registration mode:
! ;; 'reg' - allow users to register themselves and create accounts on your site (not for LDAP)
;; 'log' - restrict the creation of new accounts to administrators
auth.mode = "reg"
|