[debian-edu-commits] debian-edu/ 05/12: Add cf3/cf.ldapscripts to customize ldapaddmachine.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Fri Feb 9 14:49:13 UTC 2018


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-config.

commit 3c6793269f58b6c909caa406fd4a0b24e82e5304
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Fri Feb 9 15:33:56 2018 +0100

    Add cf3/cf.ldapscripts to customize ldapaddmachine.
---
 cf3/cf.ldapscripts | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/cf3/cf.ldapscripts b/cf3/cf.ldapscripts
new file mode 100644
index 0000000..2d10958
--- /dev/null
+++ b/cf3/cf.ldapscripts
@@ -0,0 +1,24 @@
+bundle agent ldapscripts
+{
+
+files:
+
+  debian.server.installation::
+    "/etc/ldapscripts/ldapscripts.conf"
+      edit_line => conf_edu;
+
+}
+
+bundle edit_line conf_edu
+{
+
+  insert_lines:
+
+  "##";
+  "# Debian Edu specifics for adding Samba machines; not suited to add users!";
+  "MTEMPLATE=\"/etc/ldapscripts/debian-edu.addmachine.template\"";
+  "MSUFFIX=\"ou=winstations,ou=systems\"";
+  "LDAPBINOPTS=\"-Z\"";
+  "BINDDN=\"cn=smbadmin,ou=samba,dc=skole,dc=skolelinux,dc=no\"";
+  "BINDPWDFILE=\"/etc/ldapscripts/debian-edu.ldapscripts.passwd\"";
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list