13 |
// from where to include auth_*.php modules? |
// from where to include auth_*.php modules? |
14 |
// $gblIncDir = "/home/httpd/docman"; |
// $gblIncDir = "/home/httpd/docman"; |
15 |
|
|
16 |
|
// do we want to force download? (leave it at 1) |
17 |
|
$gblForceDownload = 1; |
18 |
|
|
19 |
// username/password should not be system |
// username/password should not be system |
20 |
// usernames/passwords !! |
// usernames/passwords !! |
21 |
|
|
68 |
|
|
69 |
// Where are users stored? |
// Where are users stored? |
70 |
// default is to user .htusers file |
// default is to user .htusers file |
71 |
// $gblUsers = "htusers_file"; |
$gblUsers = "htusers_file"; |
72 |
|
|
73 |
// use sql handler |
// use sql handler |
74 |
$gblUsers = "htusers_sql"; |
// $gblUsers = "htusers_sql"; |
75 |
// this are options if you use htusers_sql (there are no default |
// this are options if you use htusers_sql (there are no default |
76 |
// in docman.php, so you have to use docman.conf file and enter |
// in docman.php, so you have to use docman.conf file and enter |
77 |
// data here |
// data here |
78 |
// $dbi = "pgsql:db:user:password" |
// $dbi = "pgsql:db:user:password"; |
79 |
// $dbi_sql = "select login,full_name,password,email from users"; |
// $dbi_sql = "select login,full_name,password,email from users"; |
80 |
|
|
81 |
|
// htusers_ldap options: needs the following lines filled in |
82 |
|
// $gblUsers = "htusers_ldap"; |
83 |
|
// $ldapServer = "x.x.x.x"; // dotted notation or a FQDN |
84 |
|
// $ldapServerPort = "389"; // default port |
85 |
|
// $basedn = "o=CompanyName"; // branch of tree to start search |
86 |
|
// $bind="cn=Manager, o=CompanyName"; // login for password searching |
87 |
|
// $bindpw=""; // password for the above account |
88 |
|
|
89 |
|
// htusers_union options: use more than one htusers method |
90 |
|
// $gblUsers = "htusers_union"; |
91 |
|
// $htusers_union[]="htusers_header"; |
92 |
|
// $htusers_union[]="htusers_sql"; |
93 |
|
// $htusers_union[]="htusers_file"; |
94 |
|
|
95 |
|
?> |