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
10
votes
3 answers

Display thumbnailPhoto from Active Directory in PHP

I've set up a system to display everyone's name, email address and phone number from Active Directory however I can't get the 'thumbailPhoto' to work. I have searched around on the internet but haven't been able to find if this is possible or at the…
Sean
  • 269
  • 1
  • 6
  • 16
8
votes
5 answers

LDAP Constraint Violation When Changing Password in AD through ldapmodify

I currently try to change passwords in our Active Directory Envoirenment via LDAP on Linux since the users in question do not have access to a windows-machine and we want to keep it that way. In order to change the password I am currently stuck…
henryford
  • 113
  • 1
  • 1
  • 7
7
votes
1 answer

Php adLDAP Error - Unable to bind to server: Strong(er) authentication required

I am attempting to use PHP adLDAP version 4.04 to authenticate on a corporate network with no success yet. PHP Version 5.2.4 I tried this stackoverflow post PHP ldap - Strong(er) authentication required, no luck. I am NOT an admin on this domain…
Kellen Stuart
  • 7,775
  • 7
  • 59
  • 82
5
votes
0 answers

Get list of LDAP domain user names using Java

The ldap user names need to be displayed in the the input box as autocomplete feature. I am trying to get list of users as below: String ldapURL = "ldap://192.26.75.5:389/dc=northamerica,dc=company,dc=com"; String principalPrefix =…
Kumar
  • 95
  • 1
  • 1
  • 3
4
votes
1 answer

php ldap-bind expired password

I am using the adldap plugin to connect to a Windows Server AD but my issue is with php ldap_bind as far as I can tell. When a user types in an incorrect password, the error returned from ldap_error (which is used by adldap) is 'Invalid…
3
votes
1 answer

Active Directory LDS Exception

Hey stack! I just installed a AD LDS instance in my development machine. The config is the following:
Luis Aguilar
  • 4,331
  • 6
  • 36
  • 55
3
votes
1 answer

ADLDAP2 for Laravel 5.2 - Binding user to model

This is my first time using ADLDAP & I've only done some Laravel work, so I'm getting confused. The notes in the config file say this: /* |-------------------------------------------------------------------------- | Bind User to…
TH1981
  • 3,105
  • 7
  • 42
  • 78
3
votes
2 answers

Single Sign On with apache on windows 7 and mod_auth_sspi

I am running a apache (xampp 1.7.3) server on my local windows 7 PC. This PC is connected to a LAN and a Active Directory domain called "colours". My local username is CHRISTOPHER-PC/Christopher, and the domain username is COLOURS/Christopher. For…
horgen
  • 2,183
  • 10
  • 30
  • 34
2
votes
2 answers

Load users from Active Directory using ADLDAP

I'm using the ADLDAP library (http://adldap.sourceforge.net) to interact with Active Directory. I am using PHP. I would like to get all users from Active Directory and save them to array. Is there any way to do this?
pangi
  • 2,703
  • 6
  • 25
  • 35
2
votes
0 answers

Laravel LDAP Authentication not working - LdapRecord Package

I'm trying to implements an LDAP authentication in an application for my company. I'm using Laravel 5.8 and the LdapRecord package (https://github.com/DirectoryTree/LdapRecord-Laravel). I have succeed to connect the application with the LDAP server…
skywalskurt
  • 87
  • 1
  • 10
2
votes
1 answer

Invalid credentials adldap2/adldap2-laravel package

I am implementing LDAP authentication in laravel app. When I run this code I am getting an error. I don't know whether it is correct or not. I am totally new to LDAP and I don't know how it works by seeing the documentation I have done till…
matheen ulla
  • 526
  • 7
  • 27
2
votes
1 answer

How do I change AD user password by using Adldap2-laravel package?

I would like to change the password of a user in AD since there are no attribute for password in AD. Currently running laravel framework with Adldap2-laravel package in order to manage ADLDAP operations. Here's my ldap_auth.php
Haziq Asyraff
  • 37
  • 1
  • 5
2
votes
2 answers

5 second delay on ldap_bind() to Active Directory

I have a strange problem on a production server running Debian squeeze with Apache 2.2.16 and PHP 5.3.3-7 and Suhosin. On my development machine, Windows 7 64bit running XAMPP, I don't have the same problem. The problem is: I am using the adLDAP PHP…
George
  • 901
  • 9
  • 23
2
votes
1 answer

Adldap2-Laravel, where to put my logic

I need to use Adldap2-Laravel. My laravel app is based in Laravel-boilerplate 5. The only login() method that I see that the app is using is this one: vendor\laravel\framework\src\Illuminate\Foundation\Auth\AuthenticatesUsers.php I know it's a…
pmiranda
  • 7,602
  • 14
  • 72
  • 155
2
votes
2 answers

Issue with AdLdap2 at Laravel 5.5

I receiving an error when i am trying to use LDAP with Laravel 5.5 "Use of undefined constant LDAP_OPT_PROTOCOL_VERSION - assumed 'LDAP_OPT_PROTOCOL_VERSION'" However, i have enabled the PHP extension of LDAP $ php --ini |grep…
user7678643
1
2 3 4 5 6