summaryrefslogtreecommitdiffstats
path: root/net-nds/pamldapd
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-06-06 20:47:12 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-06-06 20:47:12 +0200
commit21c295e22a8128f1f0ae8486621326bafc5a028a (patch)
treeee7eafb918b0142ea7a7cf39992ebcf473b0c33a /net-nds/pamldapd
parentpamldapd 0.5 bump (diff)
downloadg-21c295e22a8128f1f0ae8486621326bafc5a028a.tar
g-21c295e22a8128f1f0ae8486621326bafc5a028a.tar.gz
g-21c295e22a8128f1f0ae8486621326bafc5a028a.tar.bz2
g-21c295e22a8128f1f0ae8486621326bafc5a028a.tar.lz
g-21c295e22a8128f1f0ae8486621326bafc5a028a.tar.xz
g-21c295e22a8128f1f0ae8486621326bafc5a028a.tar.zst
g-21c295e22a8128f1f0ae8486621326bafc5a028a.zip
Diffstat (limited to 'net-nds/pamldapd')
-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