Category : ldap

I’m trying to develop a login page in Laravel using LDAP. When I click on the login button, I’ve an error : ldap_bind(): Unable to bind to server: Invalid credentials I know it’s configuration but I don’t found the answer… My .env LDAP Part : LDAP_LOGGING=true LDAP_CONNECTION=default LDAP_HOST=ldap LDAP_PORT=389 LDAP_BASE_DN="dc=test,dc=fr" LDAP_SSL=false LDAP_TLS=false My docker-compose Ldap ..

Read more

Olá… Tudo bem com vocês? Estamos implementando o recurso LdapRecord em uma aplicação PHP Laravel + Voyager. Seguindo as orientações conforme https://ldaprecord.com/docs/laravel/installation/ já instalamos os passos: a) composer require directorytree/ldaprecord-laravel; b) php artisan vendor:publish –provider="LdapRecordLaravelLdapServiceProvider" c) configurações do file .env Agora … estamos tentando fazer quais os próximos passos (https://ldaprecord.com/docs/laravel/usage/), onde implementar, para usar em ..

Read more

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 but the authentication still not working and idk why… 🙁 Here is my code : The LoginController <?php namespace AppHttpControllersAuth; use AppHttpControllersController; ..

Read more

I have 3 tables: Ad_users Ad_groups Ad_usersxad_groups Ad_usersxad_groups is the junction table for the other two. Now, I’m working in a lumen/laravel project and we are using eloquent model. I have the following models for ad_users table and ad_groups table: ad_user.php <?php namespace App; use IlluminateDatabaseEloquentModel; class Ad_user extends Model { /** * The attributes ..

Read more