diff options
author | Jan Cholasta <jcholast@redhat.com> | 2011-12-07 02:46:23 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-02-13 22:20:18 -0500 |
commit | 63ea0a304ec734a64d28e7c9b0f2b172224155d6 (patch) | |
tree | ccbd833a674931bedd7f64292ba8e8855b592d42 /install/updates | |
parent | 528a94f839c2fa17d2453860442d654250149ff7 (diff) | |
download | freeipa.git-63ea0a304ec734a64d28e7c9b0f2b172224155d6.tar.gz freeipa.git-63ea0a304ec734a64d28e7c9b0f2b172224155d6.tar.xz freeipa.git-63ea0a304ec734a64d28e7c9b0f2b172224155d6.zip |
Add LDAP schema for SSH public keys.
https://fedorahosted.org/freeipa/ticket/754
Diffstat (limited to 'install/updates')
-rw-r--r-- | install/updates/10-ssh.update | 21 | ||||
-rw-r--r-- | install/updates/50-ipaconfig.update | 1 | ||||
-rw-r--r-- | install/updates/Makefile.am | 1 |
3 files changed, 23 insertions, 0 deletions
diff --git a/install/updates/10-ssh.update b/install/updates/10-ssh.update new file mode 100644 index 00000000..8e52d59f --- /dev/null +++ b/install/updates/10-ssh.update @@ -0,0 +1,21 @@ +# Add the SSH schema +dn: cn=schema +add:attributeTypes: + ( 2.16.840.1.113730.3.8.11.31 NAME 'ipaSshPubKey' + DESC 'SSH public key' + EQUALITY octetStringMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 + X-ORIGIN 'IPA v3' ) +add:objectClasses: + ( 2.16.840.1.113730.3.8.12.11 NAME 'ipaSshGroupOfPubKeys' + ABSTRACT + MAY ipaSshPubKey + X-ORIGIN 'IPA v3' ) +add:objectClasses: + ( 2.16.840.1.113730.3.8.12.12 NAME 'ipaSshUser' + SUP ipaSshGroupOfPubKeys AUXILIARY + X-ORIGIN 'IPA v3' ) +add:objectClasses: + ( 2.16.840.1.113730.3.8.12.13 NAME 'ipaSshHost' + SUP ipaSshGroupOfPubKeys AUXILIARY + X-ORIGIN 'IPA v3' ) diff --git a/install/updates/50-ipaconfig.update b/install/updates/50-ipaconfig.update index 9ed24d6f..40ce9335 100644 --- a/install/updates/50-ipaconfig.update +++ b/install/updates/50-ipaconfig.update @@ -2,3 +2,4 @@ dn: cn=ipaConfig,cn=etc,$SUFFIX default:ipaSELinuxUserMapOrder: guest_u:s0$$xguest_u:s0$$user_u:s0-s0:c0.c1023$$staff_u:s0-s0:c0.c1023$$unconfined_u:s0-s0:c0.c1023 default:ipaSELinuxUserMapDefault: guest_u:s0 +add:ipaUserObjectClasses: ipasshuser diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am index 20a1ce3a..89d5aa12 100644 --- a/install/updates/Makefile.am +++ b/install/updates/Makefile.am @@ -7,6 +7,7 @@ app_DATA = \ 10-RFC4876.update \ 10-config.update \ 10-sudo.update \ + 10-ssh.update \ 19-managed-entries.update \ 20-aci.update \ 20-dna.update \ |