Changeset:
        95deadcd3d44
        
https://sourceforge.net/p/mrbs/hg-code/ci/95deadcd3d4425bc8e16d216ee0418c0813f7346
Author:
        John Beranek <[email protected]>
Date:
        Fri Oct 16 19:58:05 2015 +0100
Log message:

Improved systemdefautls.inc.php comments about new LDAP filter options.

diffstat:

 web/systemdefaults.inc.php |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 8556cc9ac42f -r 95deadcd3d44 web/systemdefaults.inc.php
--- a/web/systemdefaults.inc.php        Wed Oct 14 20:39:58 2015 +0100
+++ b/web/systemdefaults.inc.php        Fri Oct 16 19:58:05 2015 +0100
@@ -781,11 +781,14 @@
 // An example for Microsoft AD:
 //$ldap_filter = "memberof=cn=whater,ou=whatver,dc=example,dc=com";
 
-// If you need to filter a user by the group a user is in with OpenLDAP
-// you need to search for the groups they are in. If you want to do
-// this, define the following two variables, e.g.:
+// If you need to filter a user by the group a user is in with an LDAP
+// directory which stores group membership in the group object
+// (like OpenLDAP) then you need to search for the groups they are
+// in. If you want to do this, define the following two variables, an
+// an appropriate $ldap_filter. e.g.:
 // $ldap_filter_base_dn = "ou=Groups,dc=example,dc=com";
-$ldap_filter_user_attr = "cn";
+$ldap_filter_user_attr = "memberuid";
+// $ldap_filter = "cn=MRBS Users";
 
 // If you need to disable client referrals, this should be set to TRUE.
 // Note: Active Directory for Windows 2003 forward requires this.

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to