2015-07-02 05:38:43 -05:00
|
|
|
#
|
|
|
|
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
|
|
|
#
|
|
|
|
|
|
|
|
'''
|
|
|
|
This base platform module exports platform dependant constants.
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
class BaseConstantsNamespace(object):
|
2016-01-19 07:18:30 -06:00
|
|
|
DS_USER = 'dirsrv'
|
|
|
|
DS_GROUP = 'dirsrv'
|
2015-10-06 08:02:37 -05:00
|
|
|
HTTPD_USER = "apache"
|
2016-12-13 09:32:32 -06:00
|
|
|
HTTPD_GROUP = "apache"
|
2016-11-29 10:10:22 -06:00
|
|
|
GSSPROXY_USER = "root"
|
2015-07-01 08:05:45 -05:00
|
|
|
IPA_DNS_PACKAGE_NAME = "freeipa-server-dns"
|
2016-03-18 05:22:33 -05:00
|
|
|
KDCPROXY_USER = "kdcproxy"
|
2015-10-06 08:27:21 -05:00
|
|
|
NAMED_USER = "named"
|
2016-03-18 05:22:33 -05:00
|
|
|
NAMED_GROUP = "named"
|
2017-03-29 10:17:28 -05:00
|
|
|
NAMED_DATA_DIR = "data/"
|
|
|
|
NAMED_ZONE_COMMENT = ""
|
2016-01-19 07:18:30 -06:00
|
|
|
PKI_USER = 'pkiuser'
|
|
|
|
PKI_GROUP = 'pkiuser'
|
2015-10-06 10:46:00 -05:00
|
|
|
# ntpd init variable used for daemon options
|
|
|
|
NTPD_OPTS_VAR = "OPTIONS"
|
|
|
|
# quote used for daemon options
|
|
|
|
NTPD_OPTS_QUOTE = "\""
|
2016-03-18 05:22:33 -05:00
|
|
|
ODS_USER = "ods"
|
|
|
|
ODS_GROUP = "ods"
|
2015-10-06 08:35:24 -05:00
|
|
|
# nfsd init variable used to enable kerberized NFS
|
|
|
|
SECURE_NFS_VAR = "SECURE_NFS"
|
2017-05-18 10:23:54 -05:00
|
|
|
SELINUX_BOOLEAN_ADTRUST = {
|
|
|
|
'samba_portmapper': 'on',
|
|
|
|
}
|
2017-05-18 10:19:23 -05:00
|
|
|
SELINUX_BOOLEAN_HTTPD = {
|
|
|
|
'httpd_can_network_connect': 'on',
|
|
|
|
'httpd_manage_ipa': 'on',
|
|
|
|
'httpd_run_ipa': 'on',
|
|
|
|
'httpd_dbus_sssd': 'on',
|
|
|
|
}
|
2016-03-18 05:22:33 -05:00
|
|
|
SSSD_USER = "sssd"
|
2018-02-06 03:05:49 -06:00
|
|
|
# WSGI module override, only used on Fedora
|
|
|
|
MOD_WSGI_PYTHON2 = None
|
|
|
|
MOD_WSGI_PYTHON3 = None
|
2018-02-09 04:50:32 -06:00
|
|
|
# high ciphers without RC4, MD5, TripleDES, pre-shared key, secure
|
|
|
|
# remote password, and DSA cert authentication.
|
|
|
|
TLS_HIGH_CIPHERS = "HIGH:!aNULL:!eNULL:!MD5:!RC4:!3DES:!PSK:!SRP:!aDSS"
|
2018-02-06 03:05:49 -06:00
|
|
|
|
2017-10-11 05:09:30 -05:00
|
|
|
|
|
|
|
constants = BaseConstantsNamespace()
|