PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, August 13, 2022

[FIXED] How do I resolve the Can't contact LDAP server issue in Laravel 8?

 August 13, 2022     laravel, php, xampp     No comments   

Issue

I have a Laravel 8 installation using LDAP Authentication. I'm running it locally using artisan serve/xampp. I am getting the 'can't contact ldap server' error when attempting to log in. The error occurs on adldap2\src\Auth\Guard.php:

if (@$this->connection->bind($username, $password) === true) {....

All settings are the same and working on a colleagues computer, so assume this is a local issue? I've ensured the ldap extension is in my php.ini file. Please could someone advise what else I need to check? I feel it's something to do with my xampp settings?


Solution

the solution was to connect to the vpn



Answered By - jkstallard
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing