瀏覽代碼

use the latest authLDAP with GroupSeparator option

Girish Ramakrishnan 9 年之前
父節點
當前提交
be2b57896d
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      Dockerfile
  2. 1 0
      start.sh

+ 1 - 1
Dockerfile

@@ -18,7 +18,7 @@ RUN chmod +x /app/code/wp
 RUN echo "<?php function wp_new_blog_notification() {} ?>" > /run/wordpress/disable-new-blog-notification.php
 
 # Get the plugins
-RUN curl -L -o /app/code/authLdap.zip https://github.com/cloudron-io/authLdap/archive/59879841bc0c444907a88bdd70f840bf1db8267a.zip
+RUN curl -L -o /app/code/authLdap.zip https://github.com/cloudron-io/authLdap/archive/e8dca3553ad57de3e7c0310d4760f413e93dd8d7.zip
 RUN curl -L -o /app/code/disable-wordpress-updates.zip https://downloads.wordpress.org/plugin/disable-wordpress-updates.1.4.7.zip
 RUN curl -L -o /app/code/wp-mail-smtp.zip https://downloads.wordpress.org/plugin/wp-mail-smtp.0.9.5.zip
 

+ 1 - 0
start.sh

@@ -87,6 +87,7 @@ ldapConfig=$(cat <<EOF
     "MailAttr"      : "mail",
     "WebAttr"       : "",
     "Groups"        : { "administrator" : "cn=admins,${LDAP_GROUPS_BASE_DN}" },
+    "GroupSeparator": ";",
     "Debug"         : false,
     "GroupAttr"     : "memberof",
     "GroupFilter"   : "(|(mail=%1\$s)(username=%1\$s))",