Questions tagged [adldap]

A PHP package that provides LDAP authentication and directory management tools. It can be use with a lot of LDAP providers like Active Directory, OpenLDAP or FreeIPA.

adldap is intended to help PHP developers overcome hurdles integrating with Active Directory on Linux.

Key features:

  • User authentication
  • Group management
  • User management
  • Contact management
  • Exchange mailbox creation

Official site.

80 questions
0
votes
0 answers

Laravel 5.6 authentication with JWT and ADLDAP

I have both my ldap server set up (with adldap2/adldap2-laravel) and my JWT set up (with tymon/jwt-auth) for a SPA built with Vue/Vuetify and Laravel api backend. The JWT is all set up to the point where if I leave my provider as eloquent, I can get…
Matt Larsuma
  • 1,456
  • 4
  • 20
  • 52
0
votes
0 answers

class 'Adldap\Laravel\AdldapServiceProvider' not found error in laravel 5.5

I want to add Ldap authentication for my Laravel 5.5 Application. I have add ldap providers, 'providers' => [ ... Adldap\Laravel\AdldapServiceProvider::class, Adldap\Laravel\AdldapAuthServiceProvider::class, ], 'aliases' => [ ... …
BGK
  • 1
  • 1
0
votes
1 answer

Yii: How to validatePassword with Edvlerblog\Adldap2 using userprincipalname instead of samaccountname

Question Currently looking for how other people handled the validate password function when they need to authenticate with the userprincipalname instead of the Edvlerblog\Adldap2 validatePassword function which uses samaccountname. Please provide…
Jairus
  • 816
  • 8
  • 27
0
votes
1 answer

Laravel 5.4 VueJS 2 adldap2 authentication

I'm new in VueJS and have a problem: I can authenticate a user with adldap2 in php. But how can I check in VueJS whether the user is authenticated? The login expires after 2 hours and the user should not be able to interact with the website when not…
Luca Braun
  • 57
  • 3
  • 8
0
votes
2 answers

Laravel 5.4 - Adldap - Call to undefined method Adldap\Adldap::search()

I have an issue with my Laravel installation and the use of Adldap... The error message I receive : FatalThrowableError in UserCreationController.php line 100: Class 'App\Http\Controllers\Adldap' not found I have installed/deployed Adldap according…
0
votes
1 answer

How to install ldap2 using xampp?

I have been trying to install ldap2 by following the instruction from this. I have already done this step: "Adldap2 utilizes composer for installation. Insert "adldap2/adldap2": "6.1.*" in your composer.json file: "require": { "adldap2/adldap2":…
0
votes
1 answer

BindException: Local Error Laravel Adldap2/Adldap2

I am totally new with laravel and more with AD authentication. I've been following the tutorial of these and I encountered the following problem, which can not find solution when trying to launch the application. I have set the ' auto_connect '=>…
Skipydie
  • 23
  • 1
  • 7
0
votes
2 answers

Adldap 2 can connect and find a user but cannot authenticate

Question: why can I not authenticate a known registered user through Adldap despite being able to access information about the user using Adldap on laravel 5.2? I am attempting to use Adldap on laravel 5.2 to authenticate users at a university. I…
Collin Craige
  • 109
  • 1
  • 8
0
votes
1 answer

Symfony2 (.7) : Users in firewall with active directory

I searched for this kind of connection but all the bundles do not work with symfony security 2.7 (Composer says packages problems) and symfony 3.0. Note : I actually use Silex Framework. I want to return a true or false response if the user is…
Emy Blacksmith
  • 755
  • 1
  • 8
  • 27
0
votes
1 answer

Can't contact LDAP server

I am Using Adldap to Auth login in php But it gives error: Can't contact LDAP server. user()->authenticate('AliNasiri', '******'); if ($authUser == true) { …
AliNasiri
  • 137
  • 1
  • 3
  • 11
0
votes
1 answer

Retrieving list of sub-OUs within a specific OU using ADLDAP2

I'm working on a project using PHP Adldap2 Library (https://github.com/Adldap2/Adldap2) and I need to retrieve a list of sub-OUs within a specific OU from Active Directory. That's what I tried: $ad->search() ->whereEquals( …
Bakanyaka
  • 11
  • 3
0
votes
1 answer

Laravel 5.1 adldap - Can't access user properties

I'm trying to setup Active Directory authentication in Laravel 5.1, which I was able to get authenticating successfully using this package. The problem I'm encountering is that I cannot access any of the user properties or groups for the logged in…
Brock B.
  • 367
  • 1
  • 13
0
votes
1 answer

Unable to catch adLDAP Exception on Laravel 5.1?

When I get an exception while running the below code, it does not return the exception message but loads Laravel’s error handling page. I’m trying to return the exception error message. try { $adldap = new…
AlGallaf
  • 627
  • 6
  • 15
  • 28
0
votes
1 answer

Display logged on users name using adLDAP

I'm using adLDAP to logon to an intranet-site I'm building. I've just startet with LDAP integration, and I am relatively fresh in this game. I've managed to authenticate and log on using the adLDAP library, but I want to display the users full name…
Tngld
  • 153
  • 13
0
votes
1 answer

Display all users under all OUs in active directory using adLDAP?

How can i display all users under all OUs in active directory using adLDAP? I am using adLDAP of php.
user7282
  • 5,106
  • 9
  • 41
  • 72