aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/www/davical/config/config.php.dav_server
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-15 23:35:53 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-15 23:35:53 -0400
commit145668c3dd67c5271eddcb62d1e7843487d768a7 (patch)
tree4c7d563e9d320e6b122ee3dbf048d93eee6776c3 /files/usr/local/www/davical/config/config.php.dav_server
parentb2af400a1098ebf445575d169e11a6717867045f (diff)
downloadinfrastructure-145668c3dd67c5271eddcb62d1e7843487d768a7.tar.gz
huge amount of fixes
Diffstat (limited to 'files/usr/local/www/davical/config/config.php.dav_server')
-rw-r--r--files/usr/local/www/davical/config/config.php.dav_server8
1 files changed, 6 insertions, 2 deletions
diff --git a/files/usr/local/www/davical/config/config.php.dav_server b/files/usr/local/www/davical/config/config.php.dav_server
index ec2cb26..3d1174d 100644
--- a/files/usr/local/www/davical/config/config.php.dav_server
+++ b/files/usr/local/www/davical/config/config.php.dav_server
@@ -20,8 +20,12 @@
'port' => '389',
'sasl' => 'yes',
'sasl_mech' => 'GSSAPI',
- 'baseDNUsers' => '${users_basedn}',
+ 'baseDNUsers' => '${people_basedn}',
'baseDNGroups' => '${groups_basedn}',
+ /* Must use scope=onelevel here because if davical picks up a user and group
+ * with the same name, then the group takes precedence and the user is lost.
+ * Sad for us because we store user private groups in LDAP.
+ */
'scope' => 'onelevel',
'protocolVersion' => 3,
'optReferrals' => 0,
@@ -44,6 +48,6 @@
'H' => array(8,2),
'M' => array(10,2),
'S' => array(12,2)),
- 'i_use_mode_kerberos' => 'i_know_what_i_am_doing',
+ 'i_use_mode_kerberos' => 'allow_fallback_to_ldap_auth',
);
include_once('drivers_ldap.php');