nslcd.conf
authorOwen Smith <owen@omsmith.ca>
Wed, 15 May 2013 05:57:58 +0000 (01:57 -0400)
committerOwen Smith <owen@omsmith.ca>
Wed, 15 May 2013 05:57:58 +0000 (01:57 -0400)
bootstrap.sh
templates/nslcd.conf [new file with mode: 0644]

index 2a6ae19..157c2f9 100755 (executable)
@@ -47,3 +47,6 @@ if [[ $DIST = "Debian" ]] ; then
        ln -s /etc/ldap/ldap.conf /etc/sudo-ldap.conf
 fi
 
+# nslcd
+cp ./templates/nslcd.conf /etc/nslcd.conf
+
diff --git a/templates/nslcd.conf b/templates/nslcd.conf
new file mode 100644 (file)
index 0000000..5220fb1
--- /dev/null
@@ -0,0 +1,21 @@
+# /etc/nslcd.conf
+# nslcd configuration file. See nslcd.conf(5)
+# for details.
+
+# The user and group nslcd should run as.
+uid nslcd
+gid nslcd
+
+# The location at which the LDAP server(s) should be reachable.
+uri ldap://ldap1.csclub.uwaterloo.ca
+#uri ldap://ldap2.csclub.uwaterloo.ca/
+
+# The search base that will be used for all queries.
+base dc=csclub, dc=uwaterloo, dc=ca
+
+# SSL options
+#ssl off
+#tls_reqcert demand
+
+# use the uniqueMember attribute for group membership
+map group member uniqueMember