summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-08-24 17:28:22 -0400
committerRob Crittenden <rcritten@redhat.com>2011-08-24 15:22:14 -0400
commit40c60c89efb9723edbe4394080b1f5c080cabacf (patch)
tree81e40376f1cd6b0d5a003cc58bb003daab266b20 /install
parenta6cf44bd6538788a20fd6021b802443d4b0c63d9 (diff)
downloadfreeipa-40c60c89efb9723edbe4394080b1f5c080cabacf.zip
freeipa-40c60c89efb9723edbe4394080b1f5c080cabacf.tar.gz
freeipa-40c60c89efb9723edbe4394080b1f5c080cabacf.tar.xz
Add additional pam ftp services to HBAC, and a ftp HBAC service group
This adds proftpd, pure-ftpd, vsftpd and gssftp. https://fedorahosted.org/freeipa/ticket/1703
Diffstat (limited to 'install')
-rw-r--r--install/updates/50-hbacservice.update43
-rw-r--r--install/updates/Makefile.am1
2 files changed, 44 insertions, 0 deletions
diff --git a/install/updates/50-hbacservice.update b/install/updates/50-hbacservice.update
new file mode 100644
index 0000000..22c3b64
--- /dev/null
+++ b/install/updates/50-hbacservice.update
@@ -0,0 +1,43 @@
+dn: cn=vsftpd,cn=hbacservices,cn=hbac,$SUFFIX
+default:objectclass: ipahbacservice
+default:objectclass: ipaobject
+default:cn: vsftpd
+default:description: vsftpd
+default:ipauniqueid:autogenerate
+
+dn: cn=proftpd,cn=hbacservices,cn=hbac,$SUFFIX
+default:objectclass: ipahbacservice
+default:objectclass: ipaobject
+default:cn: proftpd
+default:description: proftpd
+default:ipauniqueid:autogenerate
+
+dn: cn=pure-ftpd,cn=hbacservices,cn=hbac,$SUFFIX
+default:objectclass: ipahbacservice
+default:objectclass: ipaobject
+default:cn: pure-ftpd
+default:description: pure-ftpd
+default:ipauniqueid:autogenerate
+
+dn: cn=gssftp,cn=hbacservices,cn=hbac,$SUFFIX
+default:objectclass: ipahbacservice
+default:objectclass: ipaobject
+default:cn: gssftp
+default:description: gssftp
+default:ipauniqueid:autogenerate
+
+dn: cn=ftp,cn=hbacservicegroups,cn=hbac,$SUFFIX
+default:objectClass: ipaobject
+default:objectClass: ipahbacservicegroup
+default:objectClass: nestedGroup
+default:objectClass: groupOfNames
+default:objectClass: top
+default:cn: ftp
+default:ipauniqueid:autogenerate
+default:description: Default group of ftp related services
+default:member: cn=ftp,cn=hbacservices,cn=hbac,$SUFFIX
+default:member: cn=proftpd,cn=hbacservices,cn=hbac,$SUFFIX
+default:member: cn=pure-ftpd,cn=hbacservices,cn=hbac,$SUFFIX
+default:member: cn=vsftpd,cn=hbacservices,cn=hbac,$SUFFIX
+default:member: cn=gssftp,cn=hbacservices,cn=hbac,$SUFFIX
+
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
index a50adca..cf29e3f 100644
--- a/install/updates/Makefile.am
+++ b/install/updates/Makefile.am
@@ -21,6 +21,7 @@ app_DATA = \
45-roles.update \
50-lockout-policy.update \
50-groupuuid.update \
+ 50-hbacservice.update \
50-suppress-upg.update \
$(NULL)