[Pkg-samba-maint] r4084 - trunk/samba/debian

bubulle at alioth.debian.org bubulle at alioth.debian.org
Thu May 10 17:00:43 UTC 2012


Author: bubulle
Date: 2012-05-10 17:00:42 +0000 (Thu, 10 May 2012)
New Revision: 4084

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/samba-common.postinst
Log:
Drop code that was modifying a deprecated "passdb backend" setting
in smb.conf for pre-squeeze versions of the package (in 
samba-common.config).

Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2012-05-10 16:57:45 UTC (rev 4083)
+++ trunk/samba/debian/changelog	2012-05-10 17:00:42 UTC (rev 4084)
@@ -40,6 +40,9 @@
     from squeeze).
   * Drop code that was moving files around in samba.postinst for
     pre-squeeze version of the package.
+  * Drop code that was modifying a deprecated "passdb backend" setting
+    in smb.conf for pre-squeeze versions of the package (in 
+    samba-common.config).
 
  -- Christian Perrier <bubulle at debian.org>  Mon, 07 May 2012 22:16:32 +0200
 

Modified: trunk/samba/debian/samba-common.postinst
===================================================================
--- trunk/samba/debian/samba-common.postinst	2012-05-10 16:57:45 UTC (rev 4083)
+++ trunk/samba/debian/samba-common.postinst	2012-05-10 17:00:42 UTC (rev 4084)
@@ -71,14 +71,6 @@
 		}' "$CONFIG"
 	fi
 
-	if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.0.23b-2 \
-	   && grep -qi "^[[:space:]]*passdb backend[[:space:]]*=.*guest" "$CONFIG"
-	then
-		sed -i -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
-			/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ \
-			        s/^\([[:space:]]*passdb backend[[:space:]]*=[^,]*\),\?[[:space:]]*guest[[:space:]]*$/\1/i" \
-			"$CONFIG"
-	fi
 }
 
 





More information about the Pkg-samba-maint mailing list