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
1
vote
0 answers

AdLdap LDAP PHP , Exception retrieving user information: Undefined variable: username

I have tried these configuration using Laravel 5.1 enterprise starter kit: http://www.forumsys.com/en/tutorials/integration-how-to/ldap/online-ldap-test-server/ Server: ldap.forumsys.com Port: 389 Bind DN: cn=read-only-admin,dc=example,dc=com Bind…
1
vote
1 answer

Certificate trust issues with adldap authentication

Trying to use SSL with LDAP authentication, I keep seeing connection attempts failing in the server log: May 18 23:52:49 lemongrab slapd[5666]: conn=162733 fd=21 ACCEPT from IP=192.168.244.129:52174 (IP=0.0.0.0:636) May 18 23:52:49 lemongrab…
miken32
  • 42,008
  • 16
  • 111
  • 154
1
vote
1 answer

Composer unable to find dependencies when installing adldap2/adldap2-laravel

I am trying to replace the strebl/l5-ldap-auth and strebl/adldap packages with adldap2/adldap2-laravel and adldap2/adldap2, however am getting the following error when trying to install using Composer: Your requirements could not be resolved to an…
Jack
  • 269
  • 1
  • 4
  • 11
1
vote
3 answers

Installing yii2-adldap-module

I am trying to install yii2-adldap-module by following the steps in https://github.com/edvler/yii2-adldap-module . When I try to install it by php composer.phar require edvlerblog/yii2-adldap-module "v1.0.0", I am getting the following error Your…
user7282
  • 5,106
  • 9
  • 41
  • 72
1
vote
0 answers

Sporadic Results from adLDAP

I have installed and configured adLDAP. I have a very small script that simply outputs the groups a user belongs to. The issue I am having is that about every other call to the groups method fails. My code is:
Keith Clark
  • 609
  • 1
  • 7
  • 19
1
vote
0 answers

Laravel 5 with dsdevbe/ldap-connector Auth::check() returns false

I use dsdevbe/ldap-connector for Laravel authentication. For this purpose I used the default AuthController and added the postLogin method from AuthenticatesAndRegistersUsers with following changes: public function postLogin(Request $request) { …
user4374647
1
vote
1 answer

adLDAP -- How to retrieve user's Group Membership?

I'm new to LDAP concepts and also now starting with adLDAP for PHP. Now everything is ok upto authentication. Then how can i get the "Group Membership" (the Group Name where the member is existing) of a user after logged in, by knowing "only" the…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
1
vote
2 answers

AdLDAP -- Failed testing the authentication. Is it essentially need SSL?

I'm testing the AdLDAP Library with my PHP. As i'm a new to LDAP overall, i'm not sure what is wrong. This is how i initiated the class: $adldap = new adLDAP( array( 'base_dn'=>'DC=xxxx,DC=xxxx,DC=sg', 'account_suffix'=>'@xxxx.xxxx.sg', …
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
0
votes
1 answer

Error when trying to list of users from active directory (AD LDS)

I'm trying to get a list of all users from my active directory (AD LDS/ADAM) However, I keep getting the following error: Lookup failed: javax.naming.NameNotFoundException: [LDAP: error code 32 - 000020 8D: NameErr: DSID-031522C9, problem 2001…
Andreas
  • 2,007
  • 5
  • 26
  • 37
0
votes
1 answer

LDAP Authentication only for Admin account

i"ve written code for Active directory LDAP user's authentication . It authenticates all users account in AD, But i want only Administrator account authentication not other user account(see below code). And also find domain name of connecting…
soundy
  • 307
  • 4
  • 8
  • 25
0
votes
1 answer

What does dsget use to query the directory?

I am in an organization with an Active Directory with a very deep nested group structure. I would like to query the directory to recursively find user members of a group from a Linux machine. On a Windows machine, dsget group "dn_of_group"…
Jeff Mc
  • 3,723
  • 1
  • 22
  • 27
0
votes
1 answer

php ldap password reset while respecting password policies

I am successful in resetting a user's password, using the adldap http://adldap.sourceforge.net/ Is there a way to detect the password the user is trying to reset to, is the same of the last 5 passwords they have in the password history? We have a…
Brad
  • 12,054
  • 44
  • 118
  • 187
0
votes
1 answer

Can't contact LDAP server - unable to get local issuer certificate

I am trying to connect to the LDAP server with Laravel-Adldap2. The same config works on another server and on local machine. I am using secured LDAPS connection (port 636). But on one of the test servers, I get: Can't contact LDAP server. I have…
pileup
  • 1
  • 2
  • 18
  • 45
0
votes
2 answers

Errors trying to install adldap2-laravel

I try to install the package adldap2/adldap2-laravel with the command composer require adldap2/adldap2-laravel but I get these errors: Info from https://repo.packagist.org: #StandWithUkraine Using version ^6.1 for…
MrPython
  • 162
  • 1
  • 8
0
votes
1 answer

Laravel Adldap2 - Update If Email Exist

I still have users table, and It has records. I want to login users If they matched with their AD informations. If their AD informations not exist on my database, then create new record. But Adldap2 always try to create new record If objectguId…
TCS
  • 629
  • 3
  • 11
  • 32