[Pkg-samba-maint] Bug#700768: Found solution

Michael Ott michael at king-coder.de
Sat Mar 9 19:52:45 UTC 2013


Hi!

I found a solution.
I used the following command:
~# samba-tool dbcheck --fix

I create a small patch:
diff -pbaur asdf/debian/samba4.postinst debian/samba4.postinst
--- asdf/debian/samba4.postinst	2013-02-13 04:14:02.000000000 +0100
+++ debian/samba4.postinst	2013-03-09 20:51:22.260887166 +0100
@@ -39,7 +39,7 @@ if [ "$1" = "configure" -a "$SERVER_ROLE
 	elif [ -e /var/lib/samba/private/sam.ldb ]; then
 		# Upgrade from previous Samba 4 installation
 		if [ -f /etc/samba/smb.conf ]; then
-			samba-tool dbcheck
+			samba-tool dbcheck --fix
 		fi
 	fi
 	# Provision from scratch if we need to

CU  
         
  Michael
          
-- 
    ,''`.   
   : :' :   Michael Ott 
   `. `'    e-mail: michael at king-coder dot de
     `-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20130309/65c1cdb6/attachment.pgp>


More information about the Pkg-samba-maint mailing list