Discussion:
[PVE-User] PVE and Active Directory...
Dmitry Petuhov
2018-05-21 13:30:55 UTC
Permalink
To be able to use LDAPS, your client machine (PVE) must trust server's
certificate. Sign LDAP server's SSL certificate with some CA (private CA
is ok) and place that CA certificate to /usr/local/share/ca-certificates
in PEM format with .crt extension on PVE and run
`update-ca-certificates` to make system trust it.
I've tried to setup my AD domain (with samba!) as authentication
source.
It works, but i was not able to setup SSL, and i was forced to disable
ldap server require strong auth = no
Realm: LNFFVG
Domain: AD.FVG.LNF.IT
Server: <my server>
Fallback Server: <another server>
Port: empty
SSL: is not editable
TFA: empty/none
if i (un)set Port:, eg keep the default, AND i put 'ldap server require strong auth =
no' in smb.conf auth work.
If i set Port: 636, does not work.
Someone have some hint?! Thanks.
Marco Gaiarin
2018-05-21 15:20:35 UTC
Permalink
Mandi! Dmitry Petuhov
In chel di` si favelave...
Post by Dmitry Petuhov
To be able to use LDAPS, your client machine (PVE) must trust server's
certificate. Sign LDAP server's SSL certificate with some CA (private CA is
ok) and place that CA certificate to /usr/local/share/ca-certificates in PEM
format with .crt extension on PVE and run `update-ca-certificates` to make
system trust it.
Good point, libldap. I've added to /etc/ldap/ldap.conf:

TLS_REQCERT never

but nothing changed, still does not work.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Loading...