[Pkg-samba-maint] r1122 - trunk

Peter Eisentraut petere at costa.debian.org
Sat Aug 12 18:33:27 UTC 2006


Author: petere
Date: 2006-08-12 18:33:24 +0000 (Sat, 12 Aug 2006)
New Revision: 1122

Modified:
   trunk/changelog
   trunk/samba-common.postinst
Log:
* Remove no longer functioning "guest" value from "passdb backend"
  setting in smb.conf on upgrade. Closes: #382296


Modified: trunk/changelog
===================================================================
--- trunk/changelog	2006-08-11 15:23:54 UTC (rev 1121)
+++ trunk/changelog	2006-08-12 18:33:24 UTC (rev 1122)
@@ -6,8 +6,12 @@
   * Updated Basque. Closes: #382456
   * Added Simplified Chinese. Closes: #382489
 
- -- Noèl Köthe <noel at debian.org>  Tue, 08 Aug 2006 22:52:57 +0200
+  [ Peter Eisentraut ]
+  * Remove no longer functioning "guest" value from "passdb backend"
+    setting in smb.conf on upgrade. Closes: #382296
 
+ -- Peter Eisentraut <petere at debian.org>  Sat, 12 Aug 2006 19:21:59 +0200
+
 samba (3.0.23b-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/samba-common.postinst
===================================================================
--- trunk/samba-common.postinst	2006-08-11 15:23:54 UTC (rev 1121)
+++ trunk/samba-common.postinst	2006-08-12 18:33:24 UTC (rev 1122)
@@ -136,4 +136,8 @@
 
 db_stop
 
+if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.0.23b-2; then
+	sed -i -e 's/^\([[:space:]]*passdb backend[[:space:]]*=[[:space:]]*[[:alpha:]][[:alpha:]]*\) guest$/\1/' /etc/samba/smb.conf
+fi
+
 #DEBHELPER#




More information about the Pkg-samba-maint mailing list