pief / authsplit Goto Github PK
View Code? Open in Web Editor NEWSplit Dokuwiki authentication among auth plugins
Split Dokuwiki authentication among auth plugins
Tested authmysql and authplain combination. I have to change function checkpass() line 115 to 117 in auth.php like bellow:
$result = $this->authplugins['secondary']->triggerUserMod('create', array(
$user, $pass, $params['name'], $params['mail'], $params['grps']
));
With the current DokuWiki release 2017-02-19a "Frusterick Manners" and PHP7.0 I get the following warning using authsplit:
Warning: Declaration of auth_plugin_authsplit::getUserData($user) should be compatible with DokuWiki_Auth_Plugin::getUserData($user, $requireGroups = true) in .../lib/plugins/authsplit/auth.php on line 12
I'm using a splitted LDAP/plain config. I see some mixed case login names populated by split in the users.auth.php file. For example:
loginname:xxxxxxx:Happy User:login@domain:users,othergroup,onemore
Loginname:xxxxxxx:Happy User:login@domain:users
First line was added manually, second is added by split. Shouldn't split lowercase the login before writing it to the users.auth.php file and thus in a case as above not add a line to the users file as there is already one there?
Hi,
in line 390 (current auth.php) you are using '+' as string concatenator, which fails ;-)
Also, the ability to modify the username is called 'modLogin', not 'modUser', unfortunately, so the trick you used isn't that tricky at all.
But, nevertheless, I have to thank you for your work. I used it as a template/inspiration for my own splitting auth plugin.
Regards
Sascha Klopp
Hi
I cloned an installed wiki on a new VPS and get a fatal error I never had before:
PHP Fatal error: Call to a member function logOff() on a non-object in /www/docs/lib/plugins/authsplit/auth.php on line 294
I'm using an authsplit between ldap and plain, but as said it's a cloned wiki, so config is known to be ok, versions of DokuWiki (stable) and php also are the same. Any idea where that could come from?
User data (email or real name) are not presented on the "recent changes" page. Only IP address is shown.
Conditions:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.