[Samba] Permission denied to reply to ping_message

Alex Korobkin korobkin+smb at gmail.com
Thu Mar 31 17:02:26 UTC 2016

Hi all,

I use this command on my servers to test locally that Samba is alive and

smbcontrol smbd ping

However, it suddenly stop working on one of the several identical servers,
and I cannot figure out why. ping command says "no replies received", while
log.smbd says that it received a ping message, but cannot reply because
permission is denied. Which permission?

$ sudo /usr/bin/smbcontrol -d 3 smbd ping
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
fcntl_lock: fcntl lock gave errno 11 (Resource temporarily unavailable)
fcntl_lock: lock failed at offset 0 count 1 op 6 type 0 (Resource
temporarily unavailable)
No replies received

[2016/03/31 10:00:27.153110,  1] ../source3/lib/messages.c:81(ping_message)
  INFO: Received PING message from PID 30727 []
[2016/03/31 10:00:27.153252,  2]
  message to process 30727 failed - Permission denied

System is Ubuntu 14.04 x64, Samba 4.1.22.
This is all done by root, apparmor is enabled but doesn't indicate any
denied operations.

More information about the samba mailing list