You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/08/21 14:04:52 UTC

[whimsy] branch master updated: add authentication to secretary workbench

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  c76c8db   add authentication to secretary workbench
c76c8db is described below

commit c76c8db0d1f606d583e88f0a89cf5ac35892611e
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Aug 21 10:04:33 2016 -0400

    add authentication to secretary workbench
---
 MACOSX.md          | 10 +++-------
 config/whimsy.conf |  9 +++++++++
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/MACOSX.md b/MACOSX.md
index 20b4737..5e226dc 100644
--- a/MACOSX.md
+++ b/MACOSX.md
@@ -243,8 +243,7 @@ Configure whimsy.local vhost
 ----------------------------
 
 
-**Note**: At the present time, nothing is ever written to the error log, even
-when services fail.  This is being debugged.
+**Note**: At the present time, LDAP authentication fails, apparently without writing any errors to any log.  This is being debugged.
 
 Once again, Edit `/etc/apache2/httpd.conf` using sudo and your favorite text editor.
 
@@ -277,13 +276,10 @@ Verify:
 Visit [http://whimsy.local/](http://whimsy.local).  You should see the
 whimsy home page.
 
-**Note**: If you navigate to
+**Note**: If you navigate to an URL that requires authentication like
 [http://whimsy.local/board/agenda](http://whimsy.local/board/agenda), you will
 be prompted for your apache user and password.  Once you have authenticated,
-you will see an Internal Server Error, which isn't surprising as that
-application isn't yet set up.  What is surprising is that there is nothing in
-`/var/log/apache2/whimsy_error.log`.
-when services fail.  This is being debugged.
+you will see an Internal Server Error.  This is being debugged.
 
 Additional (application specific) configuration
 -----------------------------------------------
diff --git a/config/whimsy.conf b/config/whimsy.conf
index ac796b6..5a726c2 100644
--- a/config/whimsy.conf
+++ b/config/whimsy.conf
@@ -101,4 +101,13 @@
     Require all granted
   </Directory>
 
+  <Directory /Users/rubys/git/whimsy/www/secretary>
+    AuthType Basic
+    AuthName "ASF Secretarial Team"
+    AuthBasicProvider ldap
+    AuthLDAPUrl "ldaps://ldap-lb-us.apache.org:636 ldap1-us-west.apache.org:636/ou=people,dc=apache,dc=org?uid"
+    AuthLDAPGroupAttribute member
+    AuthLDAPGroupAttributeIsDN on
+    Require ldap-group cn=asf-secretary,ou=groups,ou=services,dc=apache,dc=org
+  </Directory>
 </VirtualHost>

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].