[racktables-users] Re: LDAPS authentication

  • From: David Serpa <dserpa@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Mon, 15 Jan 2018 14:57:06 -0500

Thanks everyone. I was able to get this to work by setting the following
option in secret.php:
'server' => 'ldaps://mydomain.com'
use_tls' => 0,         // 0 == don't attempt, 1 == attempt, 2 == require,
'port' => 636
This to generate certs:
http://wiki.glpi-project.org/doku.php?id=en:authautoad:tls
and adding the following the following to /etc/openldap/ldap.conf
TLS_CACERTDIR /etc//etc/ssl/certs
TLS_REQCERT never
Once I restarted httpd service it seems to be working so I assume it is
going over 636 as ldaps now. I appreciate the help from the community :)

On Mon, Jan 15, 2018 at 11:45 AM, Pablo Gonzalez <sector7gp@xxxxxxxxx>
wrote:

I had issued with LDAPS, is a certificate problem. Do you have a valid
certificate installed into the racktables server?
you could check to disable REQCERT..

try this, I think is the same: http://wiki.glpi-project.org/
doku.php?id=en:authautoad:tls


Modify ldap.conf

edit /etc/ldap/ldap.conf

TLS_CACERT /etc/ssl/certs/CA-cert.cer

TLS_CACERTDIR /etc/ssl/certs
TLS_REQCERT never



Pablo Gon
/////////////Media.Arts

sector7gp@xxxxxxxxx
www.sector7gp.com
+54 9 11 5763 9775 <+54%209%2011%205763-9775>
(bajar tarjeta electrónica) <http://www.sector7gp.com/Pablo_Gonzalez.vcf>

EOX

2018-01-13 10:29 GMT-03:00 Mark Frasa <mark@xxxxxxxxx>:

Hi,

It looks like there are some pointers for AD on the racktables LDAP wiki:

 - https://wiki.racktables.org/index.php/LDAP

iirc these settings should go in secret.php


//Mark

On Sat, Jan 13, 2018 at 1:59 PM, David Serpa <dserpa@xxxxxxxxx> wrote:

It's active directory.

Get Outlook for iOS <https://aka.ms/o0ukef>
------------------------------
*From:* racktables-users-bounce@xxxxxxxxxxxxx <
racktables-users-bounce@xxxxxxxxxxxxx> on behalf of Mark Frasa <
mark@xxxxxxxxx>
*Sent:* Saturday, January 13, 2018 7:40:44 AM
*To:* racktables-users@xxxxxxxxxxxxx
*Subject:* [racktables-users] Re: LDAPS authentication

Hi,

We have it running against openldap here for 5+ years now. Just remember
that ldaps is using port 636 instead of 389 like Anthony Pereira
pointed out.
Back in the day it helped us alot to increase the ldap logging to figure
out what was going on, while setting it up initially.

What ldap-backend are you connecting to?


Cheers,
Mark.

On Thu, Jan 11, 2018 at 8:57 PM, David Serpa <dserpa@xxxxxxxxx> wrote:

Has anyone had any success in configuring Racktables to use ldaps
versus ldap? I am having some issues and was looking for some guidance
regarding steps. The Wiki doesn't have very detailed instructions.
Thanks!
David





Other related posts: