snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Can't connect to LDAP server

Open Jannik2017 opened this issue 6 years ago • 2 comments

I cant connect my SnipeIT to an active Dierectory LDAP Server i have written a PHP script that i can already bind to this ldap Server so i might be a Problem of SnipeIT i entered my Settings below


Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

  • fresh install
  • Version of Snipe-IT v5.0.9
  • Version of PHP 7.2
  • Debian 10 Apache 2
  • manual installation

LDAP_AD Settings_Connection_Failed.pdf

Jannik2017 avatar Nov 28 '20 17:11 Jannik2017

There doesn't seem to be a port number in your settings. I would expect you would need to configure the Ldap port number on your server/firewall to allow connection and add the port number into your configuration settings.

ldaps:\192.168.0.20:PORTNUMBER

Also check your error logs, They may indicate the reason you are unable to connect. The information you have supplied isnt much to go on, to provide a resolution to your problem.

gilesytheking avatar Nov 30 '20 08:11 gilesytheking

now it works but i got the error Unable to find user in LDAP directory! Error getting users from LDAP directory, error: ldap_search(): Search: Invalid DN syntax

Jannik2017 avatar Dec 12 '20 21:12 Jannik2017