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
1 answer

Can column values be modified during sync using adldap2-laravel

Have been tasked with moving authentication for an existing web-app from Laravel auth to LDAP. For existing users it works well except some small issues because of an already populated user table. An employee # format we use is different between…
Loom
  • 83
  • 9
0
votes
1 answer

How to troubleshoot authentication with ActiveDirectory server

I am trying to make authentication with ActiveDirectory using ldaprecord-laravel. I followed the documentation and made required changes in files. However, I ended up with only php artisan ldap:test working and php artisan ldap:import ldap showing…
Danatela
  • 349
  • 8
  • 28
0
votes
1 answer

How to get all user displayname record form active directory using adldap php?

I would like to get all user displayname record form active directory using adldap php? this code can get the single record. if ($adldap->authenticate($username, $password)){ $result=$adldap->user()->infoCollection("$username",…
francoleung
  • 237
  • 1
  • 7
  • 19
0
votes
1 answer

Adlap2 - update "Batch Modify: Insufficient access"

Using Adldap2 package (https://adldap2.github.io/Adldap2/#/) and to be more accurate laravel version (https://github.com/Adldap2/Adldap2-Laravel) and having some issues with add/update some attributes after creation. To be more specific, I will try…
0
votes
2 answers

Laravel LDAP (Adldap2) Can't authenticate,username is null into guard->attempt

Morning, I keep getting the message "A username must be specified." when trying to login my app. Connection to LDAP is OK, sync also, in my database/table users i see all username with password. But can't login with anyone username. Trying to…
Black-Rabbit
  • 67
  • 1
  • 9
0
votes
2 answers

Adldap: Eloquent Query, "where not in group"

I have a query where I'm returning an awful lot of rows, so need to limit which fields I'm calling back, so I'm using select and a where method. However I also would like to limit it further by ignoring those in certain groups. I currently…
Fred
  • 69
  • 9
0
votes
0 answers

How to use Active directory LDAP using Spring boot just to find a user, no need to authenticate him

I have Spring boot project that is already using Spring security for Admin panel. In the front-end, I just want to use AD LDAP just to check if the user is present in the company's active directory or not. No login page is required for front-end…
sac2811
  • 1
  • 3
0
votes
0 answers

Create an LDAP Server on Windows Server 2012

I want to create an LDAP server exactly like this http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ I have already setup my LDAP on Windows Server. However, I still don't understand how to create an LDAP server, so…
0
votes
1 answer

The 'email' key is missing from the given credentials array

after updating my Laravel and Adldap2 to version 6.0,i'm receiving this error when i'm trying to authenticate, ** The 'email' key is missing from the given credentials array ** what is the reason behind that ? i haven't changed anything in my…
0
votes
1 answer

PHP: ldap_bind gives 500 Internal Server Error when binding with SSL but not regular bind

I have a Laravel application on a Windows Server 2016, with IIS 10 and PHP 7.2. The application is required to do Active Directory authentication. For this I use https://github.com/Adldap2/Adldap2-Laravel. Authentication was working for a regular…
0
votes
0 answers

Laravel testing, working when filtered but not as group

I'm running the fallback option of adldap2 in laravel, I didnt override the setupUp or tearDown functions , my tests looks like this: /** @test */ public function login_via_created_user_and_logout() { $user =…
Nico Moya
  • 31
  • 1
  • 4
0
votes
1 answer

ADLDAP openLDAP authentication - Session not stored - returning to login page

My environment is a laravel 5.8 with adldap2 in version 6.0.8 web app and an openLDAP directory. After hours, I finally could authenticate my user against the openLDAP directory and also the database import into the users table works: Id name…
Stephan
  • 335
  • 3
  • 12
0
votes
1 answer

Adldap2 - openLdap - Can't contact LDAP server

I am running four docker container on my local machine: ldap: container_name: openldap image: osixia/openldap:latest app: build: image: digitalocean.com/php container_name: app webserver: image: nginx:alpine …
Stephan
  • 335
  • 3
  • 12
0
votes
1 answer

adldap2 laravel it is only returning 'false'

I'm trying to use the adldap2 to access an adldap server. it's everything ok with the server, i have used the Apache Directory Studio to test it. I have followed all these instructions but withou success. All of my requests are returning 'false' or…
Jhonatan Morais
  • 169
  • 1
  • 14
0
votes
1 answer

yii2-adldap does not authenticate AD users

I am trying to login using yii2-adldap module but I am getting "Wrong password error". The password is correct. Here is my code: public function validatePassword($attribute, $params) { if (!$this->hasErrors()) { $user =…
moerpheus
  • 1
  • 4