[debian-edu-commits] r79852 - in branches/wheezy/debian-edu-config: debian testsuite

pere at alioth.debian.org pere at alioth.debian.org
Mon Apr 29 20:38:56 UTC 2013


Author: pere
Date: 2013-04-29 20:38:56 +0000 (Mon, 29 Apr 2013)
New Revision: 79852

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/testsuite/samba
Log:
Extend testsuite to detect if winbind and libpam-winbind is active.  We do not want nor need them.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-04-29 17:02:50 UTC (rev 79851)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-04-29 20:38:56 UTC (rev 79852)
@@ -1,3 +1,10 @@
+debian-edu-config (1.704~svn79806) UNRELEASED; urgency=low
+
+  * Extend testsuite to detect if winbind and libpam-winbind is
+    active.  We do not want nor need them.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Mon, 29 Apr 2013 22:24:30 +0200
+
 debian-edu-config (1.704~svn79805) wheezy-test; urgency=low
 
   [ Petter Reinholdtsen ]

Modified: branches/wheezy/debian-edu-config/testsuite/samba
===================================================================
--- branches/wheezy/debian-edu-config/testsuite/samba	2013-04-29 17:02:50 UTC (rev 79851)
+++ branches/wheezy/debian-edu-config/testsuite/samba	2013-04-29 20:38:56 UTC (rev 79852)
@@ -11,6 +11,20 @@
     . /etc/debian-edu/config
 fi
 
+# Make sure winbind isn't installed
+if deb_installed winbind ; then
+    echo "error: $0: winbind is installed"
+else
+    echo "success: $0: winbind is not installed"
+fi
+
+# Make sure winbind PAM module isn't active
+if grep -q pam_winbind.so /etc/pam.d/common-auth; then
+    echo "error: $0: winbind PAM module is active"
+else
+    echo "success: $0: winbind PAM module is not active"
+fi
+
 # Only Main-Server install samba
 if echo "$PROFILE" | egrep -q 'Main-Server' ; then
     :




More information about the debian-edu-commits mailing list