Changeset - 16ec0de22bf3
[Not reviewed]
0 3 0
Branko Majic (branko) - 4 years ago 2020-05-07 18:59:45
branko@majic.rs
MAR-152: Switch to /run path in backup_server, ldap_server, and xmpp_server roles.
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
roles/backup_server/files/backup-sshd_config-stretch
Show inline comments
 
@@ -62,13 +62,13 @@ Subsystem sftp internal-sftp
 

	
 
# Use PAM. But thanks to PasswordAuthentication being set to "no", PAM will be
 
# used just for session stuff.
 
UsePAM yes
 

	
 
# Specify a dedicated PID file for the backup SSH.
 
PidFile /var/run/sshd-backup.pid
 
PidFile /run/sshd-backup.pid
 

	
 
# Users logging-in are forced to use the SFTP server.
 
ForceCommand internal-sftp
 

	
 
# Chroot logged-in users to their home directories.
 
ChrootDirectory %h
roles/ldap_server/molecule/default/tests/test_default.py
Show inline comments
 
@@ -29,13 +29,13 @@ def test_ldap_server_service_sockets_and_ports(host):
 
    """
 
    Tests if LDAP server has been configured to listen on correct sockets.
 
    """
 

	
 
    assert host.socket('tcp://389').is_listening
 
    assert host.socket('tcp://636').is_listening
 
    assert host.socket('unix:///var/run/slapd/ldapi').is_listening
 
    assert host.socket('unix:///run/slapd/ldapi').is_listening
 

	
 

	
 
def test_ldap_server_service(host):
 
    """
 
    Tests if the LDAP service is enabled and running.
 
    """
roles/xmpp_server/templates/prosody.cfg.lua.j2
Show inline comments
 
@@ -53,13 +53,13 @@ legacy_ssl_ports = { 5223 }
 
c2s_require_encryption = true
 

	
 
-- Disable certificate validation for server-to-server connections.
 
s2s_secure_auth = false
 

	
 
-- Path to Prosody's PID file.
 
pidfile = "/var/run/prosody/prosody.pid"
 
pidfile = "/run/prosody/prosody.pid"
 

	
 
-- Authentication backend.
 
authentication = "ldap"
 
ldap_server = "{{ xmpp_ldap_server }}"
 
ldap_rootdn = "cn=prosody,ou=services,{{ xmpp_ldap_base_dn }}"
 
ldap_password = "{{ xmpp_ldap_password }}"
0 comments (0 inline, 0 general)