[chris@f26s ~]$ sudo smbstatus -d10
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
Processing section "[global]"
doing parameter server min protocol = SMB2
doing parameter workgroup = COLOR
doing parameter server string = Samba Server Version %v
doing parameter interfaces = lo enp3s0 wlp2s0
doing parameter use sendfile = yes
doing parameter write cache size = 2097152
doing parameter min receivefile size = 16384
doing parameter getwd cache = true
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 50
doing parameter security = user
doing parameter passdb backend = tdbsam
pm_process() returned Yes
lp_servicenumber: couldn't find homes
messaging_dgm_ref: messaging_dgm_init returned Success
messaging_dgm_ref: unique = 3305123493411509480
Registering messaging pointer for type 2 - private_data=(nil)
Registering messaging pointer for type 9 - private_data=(nil)
Registered MSG_REQ_POOL_USAGE
Registering messaging pointer for type 11 - private_data=(nil)
Registering messaging pointer for type 12 - private_data=(nil)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Registering messaging pointer for type 1 - private_data=(nil)
Registering messaging pointer for type 5 - private_data=(nil)
messaging_init_internal: my id: 21471
lp_load_ex: refreshing parameters
Freeing parametrics:
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
Processing section "[global]"
doing parameter server min protocol = SMB2
doing parameter workgroup = COLOR
doing parameter server string = Samba Server Version %v
doing parameter interfaces = lo enp3s0 wlp2s0
doing parameter use sendfile = yes
doing parameter write cache size = 2097152
doing parameter min receivefile size = 16384
doing parameter getwd cache = true
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 50
doing parameter security = user
doing parameter passdb backend = tdbsam
pm_process() returned Yes
lp_servicenumber: couldn't find homes

Samba version 4.6.5
PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing              
----------------------------------------------------------------------------------------------------------------------------------------
messaging_dgm_ref: messaging_dgm_get_unique returned Success
messaging_dgm_ref: unique = 3305123493411509480
Registering messaging pointer for type 2 - private_data=(nil)
Registering messaging pointer for type 9 - private_data=(nil)
Registered MSG_REQ_POOL_USAGE
Registering messaging pointer for type 11 - private_data=(nil)
Registering messaging pointer for type 12 - private_data=(nil)
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Registering messaging pointer for type 1 - private_data=(nil)
Registering messaging pointer for type 5 - private_data=(nil)
messaging_init_internal: my id: 21471
21390   chris        chris        192.168.1.118 (ipv4:192.168.1.118:56480)  SMB3_11           -                    partial(AES-128-CMAC)
20936   chris        chris        192.168.1.118 (ipv4:192.168.1.118:55860)  SMB3_11           -                    partial(AES-128-CMAC)

Service      pid     Machine       Connected at                     Encryption   Signing     
---------------------------------------------------------------------------------------------
most         20936   192.168.1.118 Sat Jul  8 11:49:35 AM 2017 MDT  -            -           
scratch      21390   192.168.1.118 Sat Jul  8 02:49:21 PM 2017 MDT  -            -           

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
21390        1000       DENY_NONE  0x120116    WRONLY     NONE             /srv/scratch   wl_apsta (copy).o   Sat Jul  8 14:49:34 2017
21390        1000       DENY_NONE  0x120089    RDONLY     NONE             /srv/scratch   wl_apsta.o   Sat Jul  8 14:49:34 2017

[chris@f26s ~]$ 


[chris@f26s ~]$ sudo strace -p 21390
strace: Process 21390 attached
getpid()                                = 21390
getrusage(RUSAGE_SELF, {ru_utime={tv_sec=0, tv_usec=64254}, ru_stime={tv_sec=0, tv_usec=155300}, ...}) = 0
getpid()                                = 21390
epoll_wait(3, [], 1, 580)               = 0
getpid()                                = 21390
getrusage(RUSAGE_SELF, {ru_utime={tv_sec=0, tv_usec=64254}, ru_stime={tv_sec=0, tv_usec=156249}, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
setgroups(0, NULL)                      = 0
setresgid(-1, 0, -1)                    = 0
getegid()                               = 0
setresuid(0, 0, -1)                     = 0
geteuid()                               = 0
clock_gettime(CLOCK_BOOTTIME, {tv_sec=537152, tv_nsec=747206834}) = 0
stat("", 0x7ffe332ddd60)                = -1 ENOENT (No such file or directory)
umask(022)                              = 000
open("/var/log/samba/log.f26h", O_WRONLY|O_CREAT|O_APPEND, 0644) = 37
fcntl(37, F_GETFD)                      = 0
fcntl(37, F_SETFD, FD_CLOEXEC)          = 0
close(9)                                = 0
umask(000)                              = 022
dup2(37, 2)                             = 2
stat("/etc/samba/smb.conf", {st_mode=S_IFREG|0644, st_size=12446, ...}) = 0
geteuid()                               = 0
fstat(37, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
getpid()                                = 21390
epoll_wait(3, ^Cstrace: Process 21390 detached
 <detached ...>
[chris@f26s ~]$
