Added some parameters to LSC

This commit is contained in:
Tobias Herre 2020-08-25 23:35:42 +02:00
parent 084a99d8f6
commit 1f3d3156d5
3 changed files with 14 additions and 4 deletions

View File

@ -33,6 +33,12 @@ Examples:
rootpw => "123", rootpw => "123",
} }
class{"wmdeit_ldap::lsc":
rootdn => "cn=admin,dc=wikimedia,dc=de",
rootpw => "123",
ldap => "ldap://localhost:389/dc=wikimedia,dc=de",
}
class {"wmdeit_ldap::lam": class {"wmdeit_ldap::lam":
master_password => "1234", master_password => "1234",
master_password_salt => "5678", master_password_salt => "5678",

View File

@ -1,6 +1,10 @@
# #
class wmdeit_ldap::lsc () class wmdeit_ldap::lsc (
$rootdn,
$rootpw,
$ldap,
)
inherits wmdeit_ldap inherits wmdeit_ldap
{ {

View File

@ -18,11 +18,11 @@
<ldapConnection> <ldapConnection>
<name>ldap-conn</name> <name>ldap-conn</name>
<!-- ./url mandatory, the JNDI URL --> <!-- ./url mandatory, the JNDI URL -->
<url>ldap://localhost:389/dc=wikimedia,dc=de</url> <url><%= @ldap %></url>
<!-- ./username mandatory, the DN to bind with --> <!-- ./username mandatory, the DN to bind with -->
<username>cn=admin,dc=wikimedia,dc=de</username> <username><%= @rootdn %></username>
<!-- ./password mandatory, credentials to bind with --> <!-- ./password mandatory, credentials to bind with -->
<password>123</password> <password><%= @rootpw %></password>
<!-- ./authentication mandatory, must contain either <!-- ./authentication mandatory, must contain either
ANONYMOUS, SIMPLE, SASL, GSSAPI or DIGEST_MD5 --> ANONYMOUS, SIMPLE, SASL, GSSAPI or DIGEST_MD5 -->
<authentication>SIMPLE</authentication> <authentication>SIMPLE</authentication>