Giter Site home page Giter Site logo

active-directory-authenticate's People

Contributors

milewski-jaroslaw avatar unholyknight avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

active-directory-authenticate's Issues

Ignored option does not work properly

I'm working on cakephp 3.5.5. When I'm setting ignored fields then script merge my field list with default list so i can't get "dn" field for user.

Warning when user has no groups

It gives a warning in the logs when a user authenticates but isn't in any groups besides "Domain Users"

2018-12-19 02:14:10 Warning: Warning (2): Invalid argument supplied for foreach() in [home_dir/public_html/vendor/unholyknight/active-directory-authenticate/src/Auth/AdldapAuthenticate.php, line 72]
Request URL: /users/login?redirect=%2F
Referer URL: https://domainname/users/login?redirect=%2F
Client IP: x.x.x.x
Trace:
Cake\Error\BaseErrorHandler::handleError() - CORE/src/Error/BaseErrorHandler.php, line 159
ActiveDirectoryAuthenticate\Auth\AdldapAuthenticate::_cleanGroups() - ROOT/vendor/unholyknight/active-directory-authenticate/src/Auth/AdldapAuthenticate.php, line 72
ActiveDirectoryAuthenticate\Auth\AdldapAuthenticate::findAdUser() - ROOT/vendor/unholyknight/active-directory-authenticate/src/Auth/AdldapAuthenticate.php, line 132
ActiveDirectoryAuthenticate\Auth\AdldapAuthenticate::authenticate() - ROOT/vendor/unholyknight/active-directory-authenticate/src/Auth/AdldapAuthenticate.php, line 99
Cake\Controller\Component\AuthComponent::identify() - CORE/src/Controller/Component/AuthComponent.php, line 824
App\Controller\UsersController::login() - APP/Controller/UsersController.php, line 94
App\Controller\AppController::invokeAction() - ROOT/vendor/friendsofcake/crud/src/Controller/ControllerTrait.php, line 63
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 107
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98
[main] - ROOT/webroot/index.php, line 40

PHP Version 7.2.7-1+ubuntu14.04.1+deb.sury.org+1
unholyknight/active-directory-authenticate dev-master 73c34c5
adldap2/adldap2 v6.1.10
PHP ldap RCS Version $Id: 3839f871a91c293a52322c63329c68db23a0290a $
cakephp/cakephp 3.6.12

It may not be giving 'memberof' if there are no groups?

Select option does not work properly

I'm working on cakephp 3.5.5. It doesn't matter what I write inside "select". This settings are always ignored and are not forwarded do parent class properly. The adldap2 select is always empty, and downloading all user fields from AD.

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.