]> git.sur5r.net Git - contagged/blobdiff - inc/config.php
fixed problem with login check
[contagged] / inc / config.php
index 782f9a4ed003537ce5aab3fd54fb09a72f22b397..811a3da60ba8af18d81d413ef41ed1ecfbcfbaee 100644 (file)
@@ -21,6 +21,9 @@
   // How to match users? %u is replaced by the given login
   $conf['userfilter']  = '(&(uid=%u)(objectClass=posixAccount))';
 
+  // Show the users as contacts, too?
+  $conf['displayusertree'] = 0;
+
   // Use these values to bind to the ldap directory when not logged in (leave blank for anonymous bind)
   $conf['anonbinddn']  = '';
   $conf['anonbindpw']  = '';
@@ -34,6 +37,9 @@
   // Where to store private contacts (relative to $conf['usertree'])
   $conf['privatebook'] = 'ou=contacts';
 
+  // What fields to look at when searching?
+  $conf['searchfields'] = array('uid','mail','name','givenname','o');
+
   // Should the public address book be viewable by logged in users only? (0|1)
   $conf['userlogreq']  = 0;
 
@@ -57,6 +63,6 @@
   );
 
   // Force recompilation of smarty templates?
-  $conf['smartycompile'] = 1;
+  $conf['smartycompile'] = 0;