]>
Commit | Line | Data |
---|---|---|
1 | { fetchurl, openldap }: | |
2 | let | |
3 | kerberosSchema = fetchurl { | |
4 | url = "https://raw.githubusercontent.com/krb5/krb5/master/src/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"; | |
5 | sha256 = "17fnkkf6s3lznsl7wp6914pqsc78d038rh38l638big8z608ksww"; | |
6 | }; | |
7 | puppetSchema = fetchurl { | |
8 | url = "https://raw.githubusercontent.com/puppetlabs/puppet/master/ext/ldap/puppet.schema"; | |
9 | sha256 = "11bjf5zfvqlim7p9vddcafs0wiq3v8ys77x8h6fbp9c6bdfh0awh"; | |
10 | }; | |
11 | schemas = [ | |
12 | "${openldap}/etc/schema/core.schema" | |
13 | "${openldap}/etc/schema/cosine.schema" | |
14 | "${openldap}/etc/schema/inetorgperson.schema" | |
15 | "${openldap}/etc/schema/nis.schema" | |
16 | puppetSchema | |
17 | kerberosSchema | |
18 | ./immae.schema | |
19 | ]; | |
20 | in | |
21 | builtins.concatStringsSep "\n" (map (v: "include ${v}") schemas) |