summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-05-06 13:54:58 +0200
committerRob Crittenden <rcritten@redhat.com>2011-05-11 17:54:37 -0400
commite2aab9636e66e66edd72a3cdc9c29ff0033e7eaf (patch)
tree157ed8c768dc031576053b5fc3a86b78f5130b9d /ipaserver
parentda1d2f5a0d59756df11d1536318a9c1e1712d211 (diff)
downloadfreeipa-e2aab9636e66e66edd72a3cdc9c29ff0033e7eaf.zip
freeipa-e2aab9636e66e66edd72a3cdc9c29ff0033e7eaf.tar.gz
freeipa-e2aab9636e66e66edd72a3cdc9c29ff0033e7eaf.tar.xz
Let selinux-policy handle port 7390
Since selinux-policy-3.9.16-5.fc15 is out, the dogtag port 7390 is handled via selinux-policy and there is no need to manage it in FreeIPA installer. https://fedorahosted.org/freeipa/ticket/1205
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/cainstance.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
index 2ada2b7..5b88253 100644
--- a/ipaserver/install/cainstance.py
+++ b/ipaserver/install/cainstance.py
@@ -339,15 +339,6 @@ class CADSInstance(service.Service):
dsdb.create_pin_file()
def enable_ssl(self):
- (stdout, stderr, rc) = ipautil.run(["/usr/sbin/semanage",
- "port", "-a",
- "-t", "ldap_port_t",
- "-p", "tcp",
- "7390"], raiseonerr=False)
- if rc != 0:
- if stderr.find('already defined') == -1:
- logging.critical("Failed to add SELinux rule for port 7390")
-
conn = ipaldap.IPAdmin("127.0.0.1", port=DEFAULT_DSPORT)
conn.simple_bind_s("cn=directory manager", self.dm_password)
@@ -423,15 +414,6 @@ class CADSInstance(service.Service):
logging.critical("failed to delete user %s" % e)
self.service_name = sav_name
- (stdout, stderr, rc) = ipautil.run(["/usr/sbin/semanage",
- "port", "-d",
- "-t", "ldap_port_t",
- "-p", "tcp",
- "7390"], raiseonerr=False)
- if rc != 0:
- if stderr.find('not defined') == -1:
- logging.critical("Failed to remove SELinux rule for port 7390")
-
class CAInstance(service.Service):
"""
In the self-signed case the CA exists in the NSS_DB database.