• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.


Oct 12, 2008
1,588 (0.47/day)
Anybody here familiar with setting up OpenLDAP? I'm trying to set it up right now, and it's proving to be a royal PITA. There are no specific guides out there for it and the ones that are out there are all different from each other. I've pieced together a configuration that should work from the things I've read, but the main issue I'm running into is I am getting the error message

ldap_bind: Invalid credentials (49)

I get this when I do the ldapadd command or the ldapsearch command. Any insight on this? The log I have set in slapd.conf apparently isn't logging (set to log in /var/log/ldap.log so I can't see anything there. Slapd service is started, I've started and stopped it multiple times.

Easy Rhino

Linux Advocate
Nov 13, 2006
14,415 (3.52/day)
System Name VHOST01 | Desktop
Processor i7 980x | i5 7500 Kaby Lake
Motherboard Gigabyte x58 Extreme | AsRock MicroATX Z170M Exteme4
Cooling Prolimatech Megahelams | Stock
Memory 6x4 GB @ 1333 | 2x 8G Gskill Aegis DDR4 2400
Video Card(s) Nvidia GT 210 | Nvidia GTX 970 FTW+
Storage 4x2 TB Enterprise RAID5 |Corsair mForce nvme 250G
Display(s) N/A | Dell 27" 1440p 8bit GSYNC
Case Lian Li ATX Mid Tower | Corsair Carbide 400C
Audio Device(s) NA | On Board
Power Supply SeaSonic 500W Gold | Seasonic SSR-650GD Flagship Prime Series 650W Gold
Mouse N/A | Logitech G900 Chaos Spectrum
Keyboard N/A | Posiden Z RGB Cherry MX Brown
Software Centos 7 | Windows 10
have you tried samba5? i hear it has a much better ldap interface built in.