]> git.sur5r.net Git - contagged/blobdiff - inc/config.php
Configurable search fields
[contagged] / inc / config.php
index 5f8aaf4bf8546594bf7b9cb4549ddc08f9223fb3..c03cbc7e5232570b44f4ce26dbccf48df77b90f6 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
   // LDAP URL; if set, takes precedence over ldapserver and ldapport
   #$conf['ldapurl']     = 'ldaps://ldap.example.com/';
   // 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;
 
-  // Should the additional schema ldapab.schema be used? (0|1)
-  // Note: openxchange and extended are currently exclusive, do not use both at the same time!
-  $conf['extended']    = 1;
-
-  // Should we use some parts of the openxchange.schema? (0|1)
-  // Note: openxchange and extended are currently exclusive, do not use both at the same time!
-  $conf['openxchange'] = 0;
-
   // Should we try to login using the username and password provided by httpd? (0|1)
   $conf['httpd_auth']  = 0;
 
-  // Dateformat for birthdays when using extended schema
+  // Store the first 4 tags in Thunderbird's custom fields when using ldapab.schema
+  $conf['tbtaghack']   = 1;
+
+  // Dateformat for birthdays and anniversary
   // see http://www.php.net/manual/en/function.strftime.php
   $conf['dateformat']  = '%Y/%m/%d';
   #$conf['dateformat']  = '%d.%m.%Y';