| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# This file is part of Scapy |
| 3 |
|
| 4 |
# Contains the configuration of our OpenLDAP test server |
| 5 |
|
| 6 |
# Configure LDAPS |
| 7 |
dn: cn=config |
| 8 |
changetype: modify |
| 9 |
add: olcTLSCACertificateFile |
| 10 |
olcTLSCACertificateFile: {{CAFILE}} |
| 11 |
|
| 12 |
dn: cn=config |
| 13 |
changetype: modify |
| 14 |
replace: olcTLSCertificateKeyFile |
| 15 |
olcTLSCertificateKeyFile: {{KEYFILE}} |
| 16 |
|
| 17 |
dn: cn=config |
| 18 |
changetype: modify |
| 19 |
replace: olcTLSCertificateFile |
| 20 |
olcTLSCertificateFile: {{CRTFILE}} |
| 21 |
|
| 22 |
dn: cn=config |
| 23 |
changetype: modify |
| 24 |
add: olcTLSVerifyClient |
| 25 |
olcTLSVerifyClient: never |
| 26 |
|
| 27 |
# Set channel bindings to 'tls-endpoint', like it would be on Windows |
| 28 |
dn: cn=config |
| 29 |
changetype: modify |
| 30 |
replace: olcSaslCbinding |
| 31 |
olcSaslCbinding: tls-endpoint |