From 58479c3055cd5c46f698b6acfe4212c9ba4cab52 Mon Sep 17 00:00:00 2001 From: Henrique de Andrade Date: Fri, 18 Nov 2016 10:52:22 -0200 Subject: [PATCH] Update README.md adding scope search docs --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f150ab7..16459fc 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,9 @@ To check group membership before authenticating: * define( 'LDAPAUTH_GROUP_ATTR', 'memberof' ); // (optional) LDAP groups attr * define( 'LDAPAUTH_GROUP_REQ', 'the-group;another-admin-group'); // (only if LDAPAUTH_GROUP_REQ set) Group/s user must be in. Allows multiple, semicolon delimited +To define the scope of group req search: + * define( 'LDAPAUTH_GROUP_SCOP', 'sub' ); // if not defined the default is 'sub', and will check for the user in all the subtree. The other option is 'base', that will search only members of the exactly req + To define the type of user cache used: * define( 'LDAPAUTH_USERCACHE_TYPE', 0); // (optional) Defaults to 1, which caches users in the options table. 0 turns off cacheing. Other values are currently undefined, but may be one day