From 355c11db638dbcb055c65956d1050ce2579f06f9 Mon Sep 17 00:00:00 2001 From: Miroslav Grepl Date: Mon, 23 Jul 2012 17:32:58 +0200 Subject: [PATCH] Fix nsswitch_booleans list in genman --- genman.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/genman.py b/genman.py index 17232fa4..e652ba7d 100755 --- a/genman.py +++ b/genman.py @@ -230,7 +230,7 @@ SELinux policy is customizable based on least access required. %s policy is ext def nsswitch_domain(self): nsswitch_types = [] - nsswitch_booleans = ['authlogin_nsswitch_use_ldap', 'allow_kerberos','allow_ypbind'] + nsswitch_booleans = ['authlogin_nsswitch_use_ldap', 'kerberos_enabled'] nsswitchbooltext = "" if "nsswitch_domain" in all_attributes: self.fd.write(""" @@ -302,7 +302,6 @@ SELinux %(domainname)s policy is very flexible allowing users to setup their %(d The following port types are defined for %(domainname)s:""" % {'domainname':self.domainname}) for p in self.ports: - print p self.fd.write(""" .EX @@ -314,7 +313,6 @@ The following port types are defined for %(domainname)s:""" % {'domainname':self once = True for prot in ( "tcp", "udp" ): if (p,prot) in portrecs: - print (p,prot) if once: self.fd.write("""