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