[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#687021: marked as done (unblock: samba4/4.0.0~beta2+dfsg1-3)



Your message dated Sat, 08 Sep 2012 15:35:46 +0100
with message-id <1347114946.8753.41.camel@jacala.jungle.funky-badger.org>
and subject line Re: Bug#687021: unblock: samba4/4.0.0~beta2+dfsg1-3
has caused the Debian Bug report #687021,
regarding unblock: samba4/4.0.0~beta2+dfsg1-3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
687021: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687021
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package samba4

Hello,

There are a couple of fixes in the Samba 4 package in sid that would
be good to have in wheezy. 

I have included a debdiff for the changes between -1 (currently in
wheezy) and -3 (in sid). These changes are fairly small and fix three
important bugs:

 * 681048: Provisioning fails if there is no domain set
     This changes it to fall back to "localdomain".
 * 679678: Use old style Samba 4 file system support
     Newer versions of Samba 4 integrate with Samba 3 for file system
     suppport. This integration is still fairly new and untested in beta2,
     and requires a newer version of Samba 3 than is currently in
     wheezy or sid.
 * 681050: Samba4's provision script will create smb.conf if it
   doesn't exist; don't attempt to modify the nonexisting smb.conf
   file from postinst in this case.

diff -Nru samba4-4.0.0~beta2+dfsg1/debian/changelog samba4-4.0.0~beta2+dfsg1/debian/changelog
--- samba4-4.0.0~beta2+dfsg1/debian/changelog	2012-06-21 22:47:14.000000000 +0200
+++ samba4-4.0.0~beta2+dfsg1/debian/changelog	2012-08-08 22:04:53.000000000 +0200
@@ -1,3 +1,17 @@
+samba4 (4.0.0~beta2+dfsg1-3) unstable; urgency=low
+
+  * Fix setup when no domain is set. Closes: #681048
+
+ -- Jelmer Vernooij <jelmer@debian.org>  Sun, 05 Aug 2012 16:52:02 +0200
+
+samba4 (4.0.0~beta2+dfsg1-2) unstable; urgency=low
+
+  * Use ntvfs while debian ships an old version of Samba 3. Closes: #679678
+  * Don't attempt to add shares to the configuration if it doesn't
+    exist. Closes: #681050
+
+ -- Jelmer Vernooij <jelmer@debian.org>  Tue, 10 Jul 2012 11:52:44 +0200
+
 samba4 (4.0.0~beta2+dfsg1-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru samba4-4.0.0~beta2+dfsg1/debian/samba4.config samba4-4.0.0~beta2+dfsg1/debian/samba4.config
--- samba4-4.0.0~beta2+dfsg1/debian/samba4.config	2012-06-21 22:47:14.000000000 +0200
+++ samba4-4.0.0~beta2+dfsg1/debian/samba4.config	2012-08-08 22:04:53.000000000 +0200
@@ -15,6 +15,10 @@
 if [ -z "$REALM" ]; then
 	REALM=`hostname -d | tr 'a-z' 'A-Z'`
 fi
+if [ -z "$REALM" ]; then
+	# Default to localdomain if there are no good alternatives.
+	REALM=localdomain
+fi
 db_set samba4/realm "$REALM"
 
 #
diff -Nru samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst
--- samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst	2012-06-21 22:47:14.000000000 +0200
+++ samba4-4.0.0~beta2+dfsg1/debian/samba4.postinst	2012-08-08 22:04:53.000000000 +0200
@@ -14,11 +14,10 @@
 	if [ -f "/etc/samba/smb.conf" ]; then
 		/usr/share/samba/setoption.py "realm" "${REALM}"
 		/usr/share/samba/setoption.py "server role" "${SERVER_ROLE}"
-	fi
-
-	if [ "$SERVER_ROLE" = "domain controller" ]; then
-		/usr/share/samba/addshare.py sysvol /var/lib/samba/sysvol
-		/usr/share/samba/addshare.py netlogon "/var/lib/samba/sysvol/$REALM/scripts"
+		if [ "$SERVER_ROLE" = "domain controller" ]; then
+			/usr/share/samba/addshare.py sysvol /var/lib/samba/sysvol
+			/usr/share/samba/addshare.py netlogon "/var/lib/samba/sysvol/$REALM/scripts"
+		fi
 	fi
 
 	# See if we're upgrading from Samba 3
@@ -43,7 +42,7 @@
 		# Install from scratch
 		# samba-common.postinst takes care of setting the work group.
 		/usr/share/samba/setup/provision --realm="$REALM" --domain="$DOMAIN" \
-		    --server-role="$SERVER_ROLE"
+		    --server-role="$SERVER_ROLE" --use-ntvfs
 	fi
 fi
 

unblock samba4/4.0.0~beta2+dfsg1-3

-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal'), (100, 'quantal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-13-generic (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
On Sat, 2012-09-08 at 16:16 +0200, Jelmer Vernooij wrote:
> There are a couple of fixes in the Samba 4 package in sid that would
> be good to have in wheezy. 
> 
> I have included a debdiff for the changes between -1 (currently in
> wheezy) and -3 (in sid). These changes are fairly small and fix three
> important bugs:

Unblocked.

Regards,

Adam

--- End Message ---

Reply to: