summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net-nds/pamldapd/files/pamldapd.json9
-rw-r--r--net-nds/pamldapd/pamldapd-0.3.ebuild5
2 files changed, 14 insertions, 0 deletions
diff --git a/net-nds/pamldapd/files/pamldapd.json b/net-nds/pamldapd/files/pamldapd.json
new file mode 100644
index 0000000..9d70e46
--- /dev/null
+++ b/net-nds/pamldapd/files/pamldapd.json
@@ -0,0 +1,9 @@
+{
+ "listen": "/var/lib/pamldapd/sock",
+ "network": "unix",
+ "pamservicename": "pamldapd",
+ "peopledn": "ou=people,dc=localhost,dc=localdomain",
+ "groupsdn": "ou=groups,dc=localhost,dc=localdomain",
+ "bindadmindn": "uid=adminuser,dc=localhost,dc=localdomain",
+ "bindadminpassword": "password"
+}
diff --git a/net-nds/pamldapd/pamldapd-0.3.ebuild b/net-nds/pamldapd/pamldapd-0.3.ebuild
index db8c233..64db484 100644
--- a/net-nds/pamldapd/pamldapd-0.3.ebuild
+++ b/net-nds/pamldapd/pamldapd-0.3.ebuild
@@ -32,6 +32,11 @@ src_install() {
keepdir /var/log/pamldapd
fowners pamldapd:pamldapd /var/log/pamldapd
fperms 750 /var/log/pamldapd
+ keepdir /var/lib/pamldapd
+ fowners pamldapd:pamldapd /var/lib/pamldapd
+ fperms 755 /var/lib/pamldapd
+ insinto /etc
+ newins "${FILESDIR}/pamldapd.json" pamldapd.json
newinitd "${FILESDIR}/pamldapd.initd" pamldapd
dobin pamldapd
default