Git Product home page Git Product logo

authsplit's People

Contributors

bug avatar moobyfr avatar pief avatar schplurtz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

authsplit's Issues

new user not created in secondary auth backend plugin

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']
));

API compatibility to DokuWiki Release 2017-02-19a "Frusterick Manners"

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

Auto-create users should lowercase usernames

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?

modifyUser not working correctly

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

Call to a member function logOff() issue

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?

Lack of some user data on "Recent Changes" page

User data (email or real name) are not presented on the "recent changes" page. Only IP address is shown.
Conditions:

  • Dokuwiki version: 2014-05-05 "Ponder Stibbons"
  • Parameter "showuseras" is set to value other than "loginname"
  • primary_authplugin: authad
  • secondary_authplugin: authplain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.