From 21c295e22a8128f1f0ae8486621326bafc5a028a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 6 Jun 2024 20:47:12 +0200 Subject: pamldapd: default config file --- net-nds/pamldapd/files/pamldapd.json | 9 +++++++++ net-nds/pamldapd/pamldapd-0.3.ebuild | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 net-nds/pamldapd/files/pamldapd.json (limited to 'net-nds') 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 -- cgit v1.2.3