[Samba] Samba4 quit working after update

lingpanda101 at gmail.com lingpanda101 at gmail.com
Tue Apr 19 17:52:16 UTC 2016


On 4/19/2016 1:08 PM, Thomas Smith wrote:
> I set the Samba debug level to 4 a bit ago, so the logs are a bit 
> noisy--before that, there didn't seem to be much log activity when I 
> produced that error.
>
> So with the debug level at 4, these entries kind of stand out a bit:
>
> [2016/04/19 09:55:27.662721,  2] 
> ../source4/smbd/process_standard.c:123(standard_child_pipe_handler)
>   Child 16336 (winbindd) exited with status 1
>
> These entries repeat numerous times:
> [2016/04/19 09:55:27.732104,  0] 
> ../lib/util/util_runcmd.c:328(samba_runcmd_io_handler)
>   /usr/sbin/samba_dnsupdate: not adding non-broadcast interface as0t15
> [2016/04/19 09:55:27.732124,  0] 
> ../lib/util/util_runcmd.c:328(samba_runcmd_io_handler)
>   /usr/sbin/samba_dnsupdate: added interface eth0 ip=x.x.x.x 
> bcast=x.x.x.255 netmask=255.255.255.0
> [2016/04/19 09:55:29.533765,  4] 
> ../source4/lib/socket/interface.c:121(add_interface)
>   added interface eth0 ip=x.x.x.x bcast=x.x.x.255 netmask=255.255.255.0
> [2016/04/19 09:55:31.630708,  3] 
> ../source4/nbt_server/register.c:154(nbtd_register_name_handler)
>   Registered SERVER<00> with x.x.x.x on interface x.x.x.255
>
> There are a ton of other entries, mostly from "dns_query.c" but also 
> from dreplsrv_*.
>
> Does this help? I can paste all of the log entries surrounding the 
> time when I get the error, but there are quite a few--thought it might 
> be too long to post.
>
> On Tue, Apr 19, 2016 at 9:34 AM lingpanda101 at gmail.com 
> <mailto:lingpanda101 at gmail.com> <lingpanda101 at gmail.com 
> <mailto:lingpanda101 at gmail.com>> wrote:
>
>     On 4/19/2016 12:10 PM, Thomas Smith wrote:
>     > I have multiple Samba server (different customers, separate
>     installations)
>     > and they've all quit working after an apparent automatic update
>     to Ubuntu
>     > 14.04 LTS. The symptoms are identical:
>     >
>     >     - None of the shares are browsable.
>     >     - Authentication seems to be working, at least on the
>     Kerberos side.
>     >     - When running `smbclient -L localhost -UAdministrator` from
>     the server,
>     >     the following error is generated: "session setup failed:
>     >     NT_STATUS_OBJECT_NAME_NOT_FOUND"
>     >     - `id Administrator` returns the Administrator account and group
>     >     memberships.
>     >
>     > I'm at a bit of a lost now as to how to proceed--I've been
>     researching now
>     > for several hours and haven't made any headway.
>     >
>     > Can anyone help with this please?
>     >
>     > Thank you,
>     >
>     > ~ Tom
>     Does the samba log itself provide any insight?
>
>     --
>     -James
>
>
>     --
>     To unsubscribe from this list go to the following URL and read the
>     instructions: https://lists.samba.org/mailman/options/samba
>
I normally start with log level 0 and restart samba. Go up to level 3 if 
needed and look for anything that throws and error. Normally at start up 
right after the following.

[2016/04/15 10:52:35.252674,  0, pid=892, effective(0, 0), real(0, 0)] 
../source4/smbd/server.c:373(binary_smbd_main)
   samba version 4.4.2 started.
   Copyright Andrew Tridgell and the Samba Team 1992-2016
[2016/04/15 10:52:35.761965,  0, pid=976, effective(0, 0), real(0, 0)] 
../source4/smbd/server.c:485(binary_smbd_main)
   samba: using 'standard' process model
[2016/04/15 10:52:35.793428,  0, pid=976, effective(0, 0), real(0, 0)] 
../lib/util/become_daemon.c:124(daemon_ready)
   STATUS=daemon 'samba' finished starting up and ready to serve connections

How are you running Samba?(ie. Domain Controller). Was it a Ubuntu 
update or a Samba update? A few things to try is view recently install 
Ubuntu updates

cat /var/log/apt/history.log

Also check if Samba is running correctly.

ps axf | egrep "samba|smbd|nmbd|winbindd"

What samba version are you running?

samba -V


-- 
-James



More information about the samba mailing list