Fix nsswitch_booleans list in genman
This commit is contained in:
parent
1c38921365
commit
355c11db63
@ -230,7 +230,7 @@ SELinux policy is customizable based on least access required. %s policy is ext
|
|||||||
|
|
||||||
def nsswitch_domain(self):
|
def nsswitch_domain(self):
|
||||||
nsswitch_types = []
|
nsswitch_types = []
|
||||||
nsswitch_booleans = ['authlogin_nsswitch_use_ldap', 'allow_kerberos','allow_ypbind']
|
nsswitch_booleans = ['authlogin_nsswitch_use_ldap', 'kerberos_enabled']
|
||||||
nsswitchbooltext = ""
|
nsswitchbooltext = ""
|
||||||
if "nsswitch_domain" in all_attributes:
|
if "nsswitch_domain" in all_attributes:
|
||||||
self.fd.write("""
|
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})
|
The following port types are defined for %(domainname)s:""" % {'domainname':self.domainname})
|
||||||
|
|
||||||
for p in self.ports:
|
for p in self.ports:
|
||||||
print p
|
|
||||||
self.fd.write("""
|
self.fd.write("""
|
||||||
|
|
||||||
.EX
|
.EX
|
||||||
@ -314,7 +313,6 @@ The following port types are defined for %(domainname)s:""" % {'domainname':self
|
|||||||
once = True
|
once = True
|
||||||
for prot in ( "tcp", "udp" ):
|
for prot in ( "tcp", "udp" ):
|
||||||
if (p,prot) in portrecs:
|
if (p,prot) in portrecs:
|
||||||
print (p,prot)
|
|
||||||
if once:
|
if once:
|
||||||
self.fd.write("""
|
self.fd.write("""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user