summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/ldap.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/ldap.conf b/etc/ldap.conf
new file mode 100644
index 0000000..60c816d
--- /dev/null
+++ b/etc/ldap.conf
@@ -0,0 +1,14 @@
+base dc=random,dc=lan
+uri ldap://auth.random.lan/
+scope one
+
+pam_password exop
+pam_filter objectclass=posixAccount
+pam_login_attribute uid
+pam_member_attribute memberuid
+
+nss_base_passwd ou=People,dc=random,dc=lan
+nss_base_shadow ou=People,dc=random,dc=lan
+nss_base_group ou=Groups,dc=random,dc=lan
+nss_base_hosts ou=Hosts,dc=random,dc=lan
+