-
Hi everyone, I was able to test locally on my machine the connection between my Laravel app and a self-hosted OpenLdap server. The problem is, when testing on the client's machine (which is using an Active Directory server), the The environment variables are set up like this:
They can successfully connect to the LDAP server through telnet by running Some additional information that might help:
'providers' => [
'users' => [
'driver' => 'ldap',
'model' => LdapRecord\Models\ActiveDirectory\User::class,
'database' => [
'model' => App\Models\User::class,
'sync_passwords' => false,
'sync_attributes' => [
'name' => 'cn',
'username' => 'uid',
'email' => 'mail',
],
],
],
], Since I have no access to the shell, I can't quite easily test any changes so I haven't tried the What seems to be the issue here? I can give additional details if needed. Any help is welcome! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @frog28437, The documentation for I've personlly had to do this on Windows computers in an Active Directory environment. |
Beta Was this translation helpful? Give feedback.
Thank you so much for the quick reply @stevebauman !
After a lot of trial and error we figured that the
LDAP_BASE_DN
was missing some parts and that was the cause for not being able to connect to the server.Still, thank you for the help!