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
     `-

Attachment: signature.asc
Description: Digital signature

Reply via email to