]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - lib/config.original.php
[FEATURE] add LDAP authentication support for uploaders
[jirafeau_mojo42.git] / lib / config.original.php
index 1f2e8b7073b441454bea055c5843c876371085c5..7d221b701bf28806fba591f9202bfeb2ead0fe36 100644 (file)
@@ -222,3 +222,14 @@ $cfg['debug'] = false;
  * Set to 0 to remove limitation.
  */
 $cfg['max_upload_chunk_size_bytes'] = 100000000; // 100MB
+
+/** Enable LDAP authentication for uploaders
+ * Cannot be used with 'upload_password' or 'upload_ip_nopassword' options.
+ */
+$cfg['upload_ldap_auth'] = false;
+
+/** LDAP host to reach when 'upload_ldap_auth' is enabled */
+$cfg['upload_ldap_host'] = "";
+
+/** LDAP Base DN to authenticate users with 'upload_ldap_auth' option enabled*/
+$cfg['upload_ldap_base_dn'] = "dc=jirafeau,dc=net";

patrick-canterino.de