51e92298 | 28-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
first go at recursive group memberships |
534f2ebf | 22-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
spelling fixes |
89065833 | 22-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
improved the philosophy document |
3db5bf34 | 21-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
upped version |
49b4734a | 21-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
remove basically unused filter converter |
5da7f46b | 21-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
remove commented default methods |
22654fde | 21-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
disable logout for SSO setups |
bf69b89c | 21-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
first go at SSO
This basically copies the functionality from authAD |
1085a5fd | 20-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
Added philosophy document |
0cddcb29 | 15-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
proper german group name |
e7c3e817 | 15-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
another workaround for preg quoting |
9b7cfb1a | 15-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
added missing metadata |
1a4f0e1f | 15-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
avoid duplicating defaults
We need the defaults in the Client for better testability, but instead of defining them twice, we can simply load the defaults file ourselves. |
c2500b44 | 15-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
make the primary group configurable
Because the Domain Users group can be localized, this makes it configurable. The authAD library had a config to use "real" primary groups where it would look up t
make the primary group configurable
Because the Domain Users group can be localized, this makes it configurable. The authAD library had a config to use "real" primary groups where it would look up the primary group by calculating the SID and doing another check. We could copy that mechanism if needed later on.
show more ...
|
204fba68 | 15-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
group handling improvements
* properly handle uppercase group names * use constants for filter types * properly handle Domain Users lookups |
5b424de3 | 15-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
test spaced group |
c872f0e3 | 08-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
improve logging mechanisms
Makes use of the new error logging mechanism when running on master, uses allowdebug to print end user messages. |
a1128cc0 | 08-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
rework username handling
Background Info ---------------
Active Directory has at least three different way how users are identified:
1) sAMAccountName: user
The sAMAccountName is what users usual
rework username handling
Background Info ---------------
Active Directory has at least three different way how users are identified:
1) sAMAccountName: user
The sAMAccountName is what users usually know as their username. It's what they usually log in with on their workstation. It is however lacking the actual domain to which to login. Typically it is prefixed by a netbios domain for login. Eg. DOMAIN\user
Note: The samaccount name is also limited to 20 characters because of legacy reasons.
2) userPrincipalName: user@domain.something
The userPrincipalName contains something that looks like a domain. But it may be actually different to the Domain managed by the AD. Because of... reasons? See https://serverfault.com/a/928116
3) bind ID: user@domain.ext
Now, loggin in (eg. doing a LDAP bind) can use different mechanisms. The userPrincipalName works, user@domain (different from the UPN) should work too.
DokuWiki requirements: ----------------------
In DokuWiki we need a unique username, that stays the same on every login. (logging in with or without the domain part should identify the same user).
We also need this name to be usable to run additional LDAP queries. Eg. find groups with this user name.
We also want users to be able to login without having to type the domain part.
This patch ----------
So with this patch we use the samaccount name to identify a user. For logging in, we add the configured account suffix (aka the domain). After that we only use the domainless user name everywhere.
In a future update we may (re)introduce the multidomain support from authAD. When we do, this will probably force us to use the suffix part in the usernames to different different domain users (something the authAD plugin doesn't do which is probably wrong). But for most people the single suffix approach should be fine.
show more ...
|
9c590892 | 07-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
only fetch the attributes we need
this should lower the memory requirements and might speed things up a bit |
b914569f | 07-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
allow fetching of additional user attributes
Currently we reuqest all attributes from the server and only filter later. This needs fixing. |
4b0f7b75 | 07-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
make page size configurable
The default of 1000 will quickly exhaust the memory available on typical PHP setups. This lowers it to 150 which should be fine as is for virtuallly everyone. |
fce018da | 07-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
clean up group filter strings
As mentioned in splitbrain/dokuwiki#3028 the data passed in filters is ill defined currently. This is a very very simple workaround for strings passed by cosmocode/grou
clean up group filter strings
As mentioned in splitbrain/dokuwiki#3028 the data passed in filters is ill defined currently. This is a very very simple workaround for strings passed by cosmocode/groupusers
show more ...
|
9446f9ef | 07-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
fix admin user access |
8b2677ed | 07-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
give hint on failing admin access |
fd0855ec | 07-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
dependency update |