Samba4 broken since Upgrade 4.0.6 to 4.0.14

Christian Vielhauer c.vielhauer at
Wed Jan 29 05:18:06 MST 2014


Ubuntu 12.04.4 LTS (GNU/Linux 3.5.0-45-generic x86_64)

I have upgraded my Samba4 DC followed by Wiki and upgrading-samba4.txt from git.

Before upgrade i was able to to wbinfo -u and get all users.
In ps ax were some samba -D processes….
Now after upgrade i was able to start using init script by „start samba“ but just one samba -D process is running and two smbd processes "/usr/local/samba/sbin/smbd --option=server role check:inhibit=yes —foreground“ .

Here is what I have done:
cd /opt/samba-v4-0-stable
git pull
./configure --enable-debug --enable-selftest

samba -V
Version 4.0.6

stop samba4
cd /usr/local/samba
tar cf $HOME/backup.tar private etc var sysvol
cd /opt/samba-v4-0-stable
make install

start samba
samba4 start/running, process 1313

ps ax
1314 ?        S      0:00 /usr/local/samba/sbin/samba -D
1316 ?        Ss     0:00 /usr/local/samba/sbin/smbd --option=server role check:inhibit=yes —foreground
1330 ?        S      0:00 /usr/local/samba/sbin/smbd --option=server role check:inhibit=yes —foreground

samba -V
Version 4.0.14

samba-tool dbcheck 
Checking 545 objects
Checked 545 objects (0 errors)

stop samba

# Global parameters
        workgroup = HS
        realm = HS.LOCAL
        netbios name = AD1
        server role = active directory domain controller
        dns forwarder =
        log file = /var/log/samba/log.%m
        log level = 7

        path = /usr/local/samba/var/locks/sysvol/hs.local/scripts
        read only = No

        path = /usr/local/samba/var/locks/sysvol
        read only = No

/var/log/samba/log.smbd: ends with following after start samba
[2014/01/29 13:12:36.625155,  2] ../source3/smbd/server.c:941(smbd_parent_loop)
  waiting for connections
[2014/01/29 13:12:36.627870,  0] ../source3/printing/print_cups.c:151(cups_connect)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2014/01/29 13:12:36.628401,  5] ../source3/printing/print_cups.c:512(cups_async_callback)
  cups_async_callback: callback received for printer data. fd = 9
[2014/01/29 13:12:36.628616,  0] ../source3/printing/print_cups.c:528(cups_async_callback)
  failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/01/29 13:12:36.630339,  6] ../source3/printing/queue_process.c:181(bq_sig_chld_handler)
  Bq child process 1547 terminated with 0

/var/log/samba/log.%m:  ends with following after start samba 
[2014/01/29 13:12:36.127713,  3] ../source4/dsdb/dns/dns_update.c:340(dnsupdate_check_names)
  Calling DNS name update script
[2014/01/29 13:12:36.130099,  3] ../source4/dsdb/dns/dns_update.c:355(dnsupdate_check_names)
  Calling SPN name update script

Hope someone can help me… system reboot is useless.

Regards Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4136 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list