[Pkg-samba-maint] Bug#759579: dos filemode + acl results in empty file when overwriting from client

Joao Veiga jsveiga at rf.com.br
Thu Aug 28 18:01:22 UTC 2014


Package: samba
Version: 2:3.6.6-6+deb7u4
Severity: important

In a share with ACLs and "dos filemode = yes", when pasting a file from 
Windows 8 File Manager, if the file already exists in the share, windows 
shows an error (Network Error; There is a problem accessing 
\\server\share").

When this happens, the file in the share is emptied (0 size), so neither 
the original nor the intended copied file ends up in the share (quite 
dangerous). So it seems samba gets enough permissions to open the file 
to write but does not write to it.

This happens when the user has read-write access to the file/directory 
only via ACL. User can paste files which do not have same-named files in 
the share, and also delete the original file from the share. Only the 
"paste overwriting" action fails.

Removing "dos filemode = yes" from the share definition, killing the 
user session on the server, and reloading samba makes it possible to 
paste overwriting the same file.

Not using winbindd (no AD, no Domain, simple workgroup).

Reproducing:
(whole smb.conf attached, showing only the global and share section)

##smb.conf:
[global]
    workgroup = RFCOM
    server string = Linux-Samba Server
    socket address = 192.168.168.163
    socket options = TCP_NODELAY
    interfaces = 192.168.168.0/255.255.248.0,127.0.0.1
    smb ports = 139 445
    bind interfaces only = yes
    passdb backend = tdbsam
    passwd program = /usr/bin/passwd %u
    passwd chat = *new*password* %n\n *new*password* %n\n *updated*
    passwd chat timeout = 8
    unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/%m.log
    log level = 1
    max log size = 100
    name resolve order = host bcast
    time server = No
    load printers = No
    domain logons = No
    os level = 64
    preferred master = Yes
    domain master = Yes
    dns proxy = Yes
    ldap ssl = no
    usershare max shares = 0
    panic action = /usr/share/samba/panic-action %d
    invalid users = root
    printing = bsd
    printcap name = /dev/null
    veto files = /*lost+found/
    map readonly = permissions
    unix extensions = no
    security = user

full_audit:prefix = %u|%I|%m|%S
full_audit:success = rename unlink rmdir
full_audit:failure = none
full_audit:facility = local7
full_audit:priority = NOTICE

[swhw]
    comment = Software-Hardware
    path = /shared/swhw
    valid users = @users
    read only = no
    browseable = No
    wide links = yes
    #dos filemode = yes

## directory and file permissions:

zulu:/shared# ls -ld swhw
d---rwx---+ 11 thiago.alencar users 4096 Aug 28 11:45 swhw

zulu:/shared# getfacl swhw
# file: swhw
# owner: thiago.alencar
# group: users
user::---
group::---
group:swhw_ro:r-x
group:swhw_rw:rwx
mask::rwx
other::---
default:user::---
default:group::---
default:group:swhw_ro:r-x
default:group:swhw_rw:rwx
default:mask::rwx
default:other::---

zulu:/shared# ls -l swhw/version.h
-rwxrwxr--+ 1 thiago.alencar users 12465 Aug 28 13:40 swhw/version.h

zulu:/shared# getfacl swhw/version.h
# file: swhw/version.h
# owner: thiago.alencar
# group: users
user::rwx
group::r--
group:swhw_ro:r-x
group:swhw_rw:rwx
mask::rwx
other::r--

## user jsveiga is in the swhw_rw group (and "users" is the primary group):

zulu:/shared# grep swhw /etc/group
swhw_ro:x:1036:
swhw_rw:x:1037:jsveiga

## actions:
- /etc/init.d/samba reload
- kill jsveiga's smb sessions in the server
- jsveiga pastes a different version.h from windows 8 to the swhw share, 
confirm overwriting the original
- works as it should

zulu:/shared# ls -l swhw/version.h
-rwxrwxr--+ 1 thiago.alencar users 12515 May 15 15:54 swhw/version.h

zulu:/shared# getfacl swhw/version.h
# file: swhw/version.h
# owner: thiago.alencar
# group: users
user::rwx
group::r--
group:swhw_ro:r-x
group:swhw_rw:rwx
mask::rwx
other::r--

- edit smb.conf uncommenting the "dos filemode = yes"
- /etc/init.d/samba reload
- kill jsveiga's smb sessions in the server
- jsveiga pastes a new version.h from windows 8 to the swhw share, 
confirm overwritig the original
- windows shows "Network Error; There is a problem accessing 
\\zulu\swhw; Make sure you are connected to the network and try again"
- file in the server now has 0 bytes:

zulu:/shared# ls -l swhw/version.h
-rwxrwxr--+ 1 thiago.alencar users 0 Aug 28 13:53 swhw/version.h
zulu:/shared# getfacl swhw/version.h
# file: swhw/version.h
# owner: thiago.alencar
# group: users
user::rwx
group::r--
group:swhw_ro:r-x
group:swhw_rw:rwx
mask::rwx
other::r--

##NOTE:
. User jsveiga can delete the file in the swhw share, then paste the 
other file.
. User jsveiga can also change the file in the share from Windows 
(notepad) and save it.
. User jsveiga can change the file's ACL from windows (dos filemode is 
working correctly for this)
. Everything working as they should, apart from not being able to 
overwrite not-owned files when "dos filemode" is set.

I do need "dos filemode" for users to be able to change ACLs on files 
they have write access to.

Attaching two "loglevel 10" logs for each situation (with/without "dos 
filemode"), when trying the procedure above, and the smb.conf.

Thanks, and best regards,
Joao S Veiga



-- System Information:
Debian Release: 7.6
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.15
ii  libacl1                2.2.51-8
ii  libattr1               1:2.4.46-8
ii  libc6                  2.13-38+deb7u3
ii  libcap2                1:2.22-1.2
ii  libcomerr2             1.42.5-1.1
ii  libcups2               1.5.3-5+deb7u2
ii  libgssapi-krb5-2       1.10.1+dfsg-5+deb7u1
ii  libk5crypto3           1.10.1+dfsg-5+deb7u1
ii  libkrb5-3              1.10.1+dfsg-5+deb7u1
ii  libldap-2.4-2          2.4.31-1+nmu2
ii  libpam-modules         1.1.3-7.1
ii  libpam-runtime         1.1.3-7.1
ii  libpam0g               1.1.3-7.1
ii  libpopt0               1.16-7
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.10-2
ii  libwbclient0           2:3.6.6-6+deb7u4
ii  lsb-base               4.1+Debian8+deb7u1
ii  procps                 1:3.3.3-3
ii  samba-common           2:3.6.6-6+deb7u4
ii  update-inetd           4.43
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages samba recommends:
ii  logrotate  3.8.1-4
ii  tdb-tools  1.2.10-2

Versions of packages samba suggests:
pn  ctdb                              <none>
pn  ldb-tools                         <none>
ii  openbsd-inetd [inet-superserver]  0.20091229-2
pn  smbldap-tools                     <none>

-- Configuration Files:
/etc/cron.daily/samba [Errno 2] No such file or directory: 
u'/etc/cron.daily/samba'
/etc/logrotate.d/samba changed:
/var/log/samba/log.smbd {
     weekly
     missingok
     rotate 7
     postrotate
         /etc/init.d/samba reload > /dev/null
     endscript
     compress
     notifempty
}
/var/log/samba/log.nmbd {
     weekly
     missingok
     rotate 7
     postrotate
         [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat 
/var/run/samba/nmbd.pid`
     endscript
     compress
     notifempty
}
/var/log/samba/audit.log {
     weekly
     missingok
     rotate 7
    postrotate
       /etc/init.d/inetutils-syslogd reload >/dev/null
    endscript
     compress
     notifempty
}


-- debconf information:
   samba/nmbd_from_inetd:
* samba/run_mode: daemons
   samba/log_files_moved:
   samba/tdbsam: false
* samba/generate_smbpasswd: true
   samba-common/title:

-------------- next part --------------
[global]
	workgroup = RFCOM
	server string = Linux-Samba Server
   socket address = 192.168.168.163
   socket options = TCP_NODELAY
   interfaces = 192.168.168.0/255.255.248.0,127.0.0.1
   smb ports = 139 445
   bind interfaces only = yes
	passdb backend = tdbsam
	passwd program = /usr/bin/passwd %u
	passwd chat = *new*password* %n\n *new*password* %n\n *updated*
	passwd chat timeout = 8
	unix password sync = Yes
	syslog = 0
	log file = /var/log/samba/%m.log
   log level = 1
	max log size = 100
	name resolve order = host bcast
	time server = No
	load printers = No
	domain logons = No
	os level = 64
	preferred master = Yes
	domain master = Yes
	dns proxy = Yes
	ldap ssl = no
	usershare max shares = 0
	panic action = /usr/share/samba/panic-action %d
	invalid users = root
	printing = bsd
   printcap name = /dev/null
	veto files = /*lost+found/
	map readonly = permissions
   unix extensions = no
   security = user

full_audit:prefix = %u|%I|%m|%S
full_audit:success = rename unlink rmdir
full_audit:failure = none
full_audit:facility = local7
full_audit:priority = NOTICE

[homes]
	comment = Usuario
   hide dot files = yes
	read only = No
	force create mode = 0600
	directory mask = 0700
	browseable = No
   wide links = yes

[sys]
   vfs objects = full_audit
	comment = Sistemas Internos
	path = /shared/sys
	valid users = @users
	read only = No
	force create mode = 2775
	directory mask = 2775
   wide links = yes

[install]
	comment = Instalaveis
	path = /shared/install
	valid users = @users, @install
   writable = yes
	browseable = No
   wide links = yes

[backup]
	comment = Backups
	path = /mnt/backup/share
	valid users = @users
	browseable = No
   wide links = yes

[fax]
	comment = Fax
	path = /shared/docs/fax
	valid users = @users
	read only = No
	force create mode = 0640
	browseable = No
   wide links = yes

[letter]
	comment = Cartas
	path = /shared/docs/letter
	valid users = @users
	read only = No
	force create mode = 0640
	browseable = No
   wide links = yes

[public]
	comment = Publico
	path = /shared/public
	valid users = @users
	read only = No
	force create mode = 0660
	directory mask = 0770
	browseable = No
   wide links = yes

[readonly]
	comment = Modelos de Documentos
	path = /shared/docs/readonly
	valid users = @users
	write list = jsveiga
	force create mode = 0640
	browseable = No
   wide links = yes

[pdf]
	comment = Conversoes PDF
	path = /shared/pdf
	valid users = @users
   write list= @users
	read only = No
	create mask = 0660
	force create mode = 0660
   wide links = yes

[automation]
	comment = Area de trabalho de scripts
	path = /shared/automation
	valid users = @users
   write list = @users
   read only = No
	browseable = No
   wide links = yes

[big]
	comment = Big
	path = /big
	valid users = @users
	write list = jsveiga,marcio,eric.massarioli
	browseable = No
   wide links = yes

[swhw]
	comment = Software-Hardware
	path = /shared/swhw
   valid users = @users
   read only = no
	browseable = No
   wide links = yes
   dos filemode = yes

[prodimages]
	comment = Product Images
	path = /shared/rfitemsfiles/prodimages
   guest ok = yes
	write list = @prj
	force create mode = 0770
	directory mask = 0770
	browseable = no
   wide links = yes

[rfitemsfiles]
	comment = RFItems Files
	path = /shared/rfitemsfiles
	write list = @users
	force create mode = 0770
	directory mask = 0770
	browseable = No
   wide links = yes

[administrativo]
   vfs objects = full_audit
	comment = Dept. Administrativo
	path = /shared/administrativo
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[comercial]
   vfs objects = full_audit
	comment = Dept. Comercial
	path = /shared/comercial
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[contabilidade]
   vfs objects = full_audit
	comment = Dept. Contabilidade
	path = /shared/contabilidade
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[diretoria]
   vfs objects = full_audit
	comment = Dept. Diretoria
	path = /shared/diretoria
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[estoque]
   vfs objects = full_audit
	comment = Dept. Estoque
	path = /shared/estoque
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[financeiro]
   vfs objects = full_audit
	comment = Dept. Financeiro
	path = /shared/financeiro
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[fiscal]
   vfs objects = full_audit
	comment = Dept. Fiscal
	path = /shared/fiscal
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[industrial]
   vfs objects = full_audit
	comment = Dept. Industrial
	path = /shared/industrial
	valid users = @users
	read only = No
	force create mode = 0774
	directory mask = 0774
   wide links = yes

[infraestrutura]
   vfs objects = full_audit
	comment = Dept. Infraestrutura
	path = /shared/infraestrutura
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[planejamento]
   vfs objects = full_audit
	comment = Docs. Planejamento
	path = /shared/planejamento
	valid users = @users
   write list = wander.uechi, rafael.souza, flavio.abreu, monica.santos, willian.souza, eder.vinhas, vilmar.ribeiro
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[projetos]
   vfs objects = full_audit
	comment = Dept. Projetos
	path = /shared/projects
	valid users = @prj
	write list = @prj
	force group = prj
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[recursos_humanos]
   vfs objects = full_audit
	comment = Dept. Rec. Humanos
	path = /shared/recursos_humanos
	valid users = @users
	read only = No
	force create mode = 0770
	directory mask = 0770
   wide links = yes

[suprimentos]
   vfs objects = full_audit
	comment = Dept. Suprimentos
	path = /shared/suprimentos
	valid users = @users
   read only = No
	force create mode = 0774
	directory mask = 0770
   wide links = yes

[libcompanies]
   vfs objects = full_audit
	comment = Outras Empresas
	path = /shared/libcompanies
	valid users = @users
	write list = @adtcomfinsup, bruno.felix
	force create mode = 0660
	directory mask = 0770
   wide links = yes

[invoice]
   vfs objects = full_audit
	comment = Invoices e Expense Repots
	path = /shared/docs/invoice
	valid users = @users
	force create mode = 0770
	force directory mode = 0770
	browseable = No
   wide links = yes

[contratos]
   vfs objects = full_audit
	comment = Contratos
	path = /shared/contratos
   write list = @ctr 
	valid users = @users
	force create mode = 0660
	directory mask = 0770
   wide links = yes

[nfe]
   vfs objects = full_audit
   comment = Nota Fiscal Eletronica
   path = /shared/nfe
   valid users = @nfe
   write list = @nfe
   force group = nfe
	force create mode = 0660
	directory mask = 0770
   browseable = no
   wide links = yes

[gestao_programas]
   vfs objects = full_audit
	comment = Gestao de Programas
	path = /shared/gestao_programas
	valid users = @users
   write list = @users
   wide links = yes

[SSMA]
   vfs objects = full_audit
	comment = SSMA
	path = /shared/SSMA
	valid users = @users
   write list = @users
   wide links = yes

-------------- next part --------------
[2014/08/28 13:58:30.789647,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:30.790231, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:58:30.790263,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:58:30.790290,  3] smbd/process.c:1662(process_smb)
  Transaction 50 of length 45 (0 toread)
[2014/08/28 13:58:30.790315,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.790329,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=5824
  smt_wct=3
  smb_vwv[ 0]=13132 (0x334C)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:58:30.790506, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.790522,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.790550,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:30.790576,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:30.790922,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:30.791157,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:30.791186,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13132
[2014/08/28 13:58:30.791217, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.791248, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddcb0
[2014/08/28 13:58:30.791274, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.791315, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x15c0, type= 0x0, gen_id = 3667166619, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.791343, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.791370, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.791404, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:58:30.791431, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:58:30.791459,  5] smbd/files.c:482(file_free)
  freed files structure 13132 (0 used)
[2014/08/28 13:58:30.791492,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.791507,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=5824
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.791647, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.793779, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:58:30.793866,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:58:30.793926,  3] smbd/process.c:1662(process_smb)
  Transaction 51 of length 90 (0 toread)
[2014/08/28 13:58:30.793973,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.793987,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=5888
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:58:30.794378, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:58:30.794412,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.794439,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.794466, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 13:58:30.794496,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:58:30.794524,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:58:30.794549,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:58:30.794576,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.794602, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:30.794631, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:30.794660,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:58:30.794689, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.794730, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.794757, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.794787, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.794878, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.794967, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.795014, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.795069, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.795351, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.795378, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.795407, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.795488, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.795569, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.795615, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.795667, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.795907, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.795934, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.795960, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.795986, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.796012, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.796037, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.796063, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.796088, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.796114, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.796145, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.796172, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.796198, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.796224, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.796255, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 13:58:30.796285,  5] smbd/files.c:140(file_new)
  allocated file structure 9037, fnum = 13133 (1 used)
[2014/08/28 13:58:30.796315, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:58:30.796344, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 13:58:30.796376, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.796407, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d97a0
[2014/08/28 13:58:30.796435, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:58:30.796478, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x1700, type= 0x0, gen_id = 3667166620, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.796515, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.796548, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:58:30.796573, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:58:30.796600,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.796627, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.796653, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.796690, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.796716, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.796746, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.796830, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.796912, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.796958, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.797013, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.797262, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.797288, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.797317, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.797399, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.797480, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.797526, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.797578, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.797819, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.797846, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.797871, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.797897, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.797922, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.797947, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.797973, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.797998, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.798023, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.798049, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.798075, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.798100, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.798125, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.798156, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.798183,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.799883,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.799910,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.799942, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.799983, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x1700, type= 0x0, gen_id = 3667166620, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.800013,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13133, open name = .
[2014/08/28 13:58:30.800297, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 13:58:30.800373,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 13:58:30.800433,  3] smbd/process.c:1662(process_smb)
  Transaction 52 of length 88 (0 toread)
[2014/08/28 13:58:30.800501,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.800518,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=5952
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=13133 (0x334D)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:58:30.800900, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:58:30.800933,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.800960,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.800987, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 13:58:30.801014, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 13:58:30.801040, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 4D 33 00 00                            ....M3.. 
[2014/08/28 13:58:30.801075,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 13:58:30.801104,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 13:58:30.801136, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 13:58:30.801167, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ecd00
[2014/08/28 13:58:30.801206, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 2
[2014/08/28 13:58:30.801234, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 13:58:30.801265, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 13:58:30.836928, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 36
[2014/08/28 13:58:30.837005,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x24
[2014/08/28 13:58:30.837065,  3] smbd/process.c:1662(process_smb)
  Transaction 53 of length 40 (0 toread)
[2014/08/28 13:58:30.837134,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.837167,  5] lib/util.c:342(show_msg)
  size=36
  smb_com=0xa4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=5952
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.837484, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.837519,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcancel (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.837578,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:30.837636,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:30.837692,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:30.837784,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:30.837848,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
[2014/08/28 13:58:30.837909,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.837941,  5] lib/util.c:342(show_msg)
  size=71
  smb_com=0xa0
  smb_rcls=32
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=5952
  smt_wct=18
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=    0 (0x0)
  smb_bcc=0
[2014/08/28 13:58:30.838682, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.838729,  3] smbd/nttrans.c:1348(reply_ntcancel)
  reply_ntcancel: cancel called on mid = 5952.
[2014/08/28 13:58:30.838815, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:58:30.838878,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:58:30.838936,  3] smbd/process.c:1662(process_smb)
  Transaction 54 of length 110 (0 toread)
[2014/08/28 13:58:30.838993,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.839026,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6017
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:58:30.839917, 10] ../lib/util/util.c:415(dump_data)
  [0000] 02 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:58:30.840043,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.840106,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:30.840166,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:30.840962,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:30.841474,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:30.841539, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:58:30.841604,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:30.841663, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:30.841726,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.841786,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.841844, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:30.841910, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:30.841978,  5] smbd/files.c:140(file_new)
  allocated file structure 9038, fnum = 13134 (2 used)
[2014/08/28 13:58:30.842042, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:30.842101,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:30.842160, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:30.842223,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:30.842281, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:30.842340, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:30.842420, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.842478, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.842544, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.842737, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.842932, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.843036, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.843157, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.843700, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.843760, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.843818, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.843875, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.843933, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.843999, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.844060,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:30.847064,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:30.847124,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:30.847184,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 13:58:30.847243,  5] smbd/files.c:482(file_free)
  freed files structure 13134 (1 used)
[2014/08/28 13:58:30.847302, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.847359, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.847418,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.847477,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.847510,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6017
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.847827, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.847890, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:58:30.847962,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:58:30.848021,  3] smbd/process.c:1662(process_smb)
  Transaction 55 of length 45 (0 toread)
[2014/08/28 13:58:30.848079,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.848112,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=6080
  smt_wct=3
  smb_vwv[ 0]=13133 (0x334D)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:58:30.848536, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.848572,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.848631,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.848689,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13133
[2014/08/28 13:58:30.848734, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.848764, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 13:58:30.848790, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.848832, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x1700, type= 0x0, gen_id = 3667166620, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.848860, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.848888, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.848921, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:58:30.848948, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:58:30.848986, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.849016, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022de1c0
[2014/08/28 13:58:30.849042, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.849073, 10] smbd/notify_inotify.c:358(watch_destructor)
  Deleting inotify watch 2
[2014/08/28 13:58:30.849108, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 13:58:30.849136, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ecd00
[2014/08/28 13:58:30.849163, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 13:58:30.849193,  5] smbd/files.c:482(file_free)
  freed files structure 13133 (0 used)
[2014/08/28 13:58:30.849220,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.849235,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=6080
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.849376, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.849404, 10] smbd/notify_inotify.c:164(inotify_dispatch)
  inotify_dispatch called with mask=8000, name=[]
[2014/08/28 13:58:30.849436, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:58:30.849464,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:58:30.849493,  3] smbd/process.c:1662(process_smb)
  Transaction 56 of length 110 (0 toread)
[2014/08/28 13:58:30.849519,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.849534,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6145
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:58:30.849930, 10] ../lib/util/util.c:415(dump_data)
  [0000] 01 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:58:30.849986,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.850013,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.850040, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:58:30.850069,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:30.850096, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:30.850124,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.850151,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.850177, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:30.850211, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:30.850242,  5] smbd/files.c:140(file_new)
  allocated file structure 9039, fnum = 13135 (1 used)
[2014/08/28 13:58:30.850271, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:30.850297,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:30.850323, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:30.850351,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:30.850377, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:30.850403, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:30.850439, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.850464, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.850494, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.850580, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.850663, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.850709, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.850763, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.851004, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.851031, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.851056, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.851082, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.851107, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.851137, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.851164,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:30.852490,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:30.852518,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:30.852544,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 13:58:30.852571,  5] smbd/files.c:482(file_free)
  freed files structure 13135 (0 used)
[2014/08/28 13:58:30.852597, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.852623, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.852649,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.852675,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.852690,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6145
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.852831, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.853539, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:58:30.853615,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:58:30.853674,  3] smbd/process.c:1662(process_smb)
  Transaction 57 of length 110 (0 toread)
[2014/08/28 13:58:30.853729,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.853744,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6209
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:58:30.854146, 10] ../lib/util/util.c:415(dump_data)
  [0000] 01 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:58:30.854202,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.854228,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.854256, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:58:30.854285,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:30.854311, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:30.854340,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.854366,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.854392, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:30.854422, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:30.854452,  5] smbd/files.c:140(file_new)
  allocated file structure 9040, fnum = 13136 (1 used)
[2014/08/28 13:58:30.854481, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:30.854507,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:30.854533, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:30.854562,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:30.854588, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:30.854614, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:30.854649, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.854675, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.854704, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.854790, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.854877, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.854924, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.854977, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.855218, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.855245, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.855270, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.855296, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.855321, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.855350, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.855377,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:30.856704,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:30.856731,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:30.856757,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 13:58:30.856784,  5] smbd/files.c:482(file_free)
  freed files structure 13136 (0 used)
[2014/08/28 13:58:30.856810, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.856836, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.856862,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:58:30.856888,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.856903,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6209
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.857044, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.857720, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 13:58:30.857789,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 13:58:30.857848,  3] smbd/process.c:1662(process_smb)
  Transaction 58 of length 100 (0 toread)
[2014/08/28 13:58:30.857904,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.857919,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6273
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 13:58:30.858219, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 13:58:30.858278,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.858304,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.858331,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 13:58:30.858358,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:30.858385, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:30.858413,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.858439,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.858468, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:30.858499, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:58:30.858525,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 13:58:30.858559,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1004 max_data=40
[2014/08/28 13:58:30.858586,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:30.858612, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:30.858638, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:30.858673, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.858699, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.858728, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.858813, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.858894, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.858941, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.858994, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.859234, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.859261, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.859286, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.859312, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.859337, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.859366, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.859393,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:30.860959,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:30.860986,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:30.861017, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 13:58:30.861043,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu Aug 28 12:09:17 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu Aug 28 13:56:55 2014
   change: Thu Aug 28 13:56:55 2014
   mode: 20
[2014/08/28 13:58:30.861128,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 13:58:30.861153,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 13:58:30.861179,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.861194,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6273
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 13:58:30.861441, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 F1 75 4A   09 D2 C2 CF 01 F1 75 4A   ......uJ ......uJ
  [0010] 09 D2 C2 CF 01 C4 57 AC   12 E1 C2 CF 01 C4 57 AC   ......W. ......W.
  [0020] 12 E1 C2 CF 01 20 00 00   00 00 00 00 00           ..... .. .....
[2014/08/28 13:58:30.861762, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 13:58:30.861830,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 13:58:30.861889,  3] smbd/process.c:1662(process_smb)
  Transaction 59 of length 100 (0 toread)
[2014/08/28 13:58:30.861949,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.861963,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6337
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 13:58:30.862271, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 13:58:30.862329,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.862356,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.862382,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 13:58:30.862409,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:30.862436, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:30.862464,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.862491,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.862520, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:30.862550, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:58:30.862576,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 13:58:30.862603,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1005 max_data=24
[2014/08/28 13:58:30.862629,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:30.862655, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:30.862681, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:30.862716, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.862742, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.862772, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.862857, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.862938, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.862985, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.863039, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.863280, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.863312, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.863338, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.863364, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.863389, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.863418, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.863445,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:30.864771,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:30.864798,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:30.864829, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:58:30.864856,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:58:30.864882,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:58:30.864908,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.864922,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6337
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:58:30.865173, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 10   00 00 00 00 00 B1 30 00   ........ ......0.
  [0010] 00 00 00 00 00 01 00 00   00 00 00 00 00           ........ .....
[2014/08/28 13:58:30.866886, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:58:30.866954,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:58:30.867013,  3] smbd/process.c:1662(process_smb)
  Transaction 60 of length 90 (0 toread)
[2014/08/28 13:58:30.867070,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.867084,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6401
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 13:58:30.867482, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:58:30.867515,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.867541,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.867568, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 13:58:30.867596,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:58:30.867624,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:58:30.867649,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:58:30.867675,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.867701, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:30.867731, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:30.867761,  5] smbd/files.c:140(file_new)
  allocated file structure 9041, fnum = 13137 (1 used)
[2014/08/28 13:58:30.867790, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:58:30.867816,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 13:58:30.867842, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:30.867870,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.867901, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.867928, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.867965, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.867991, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.868021, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.868105, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.868187, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.868233, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.868286, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.868559, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.868586, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.868615, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.868697, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.868778, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.868824, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.868875, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.869115, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.869142, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.869172, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.869198, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.869224, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.869249, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.869275, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.869300, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.869326, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.869351, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.869377, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.869403, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.869429, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.869460, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.869487,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.871176,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.871203,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.871229, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 13:58:30.871262, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.871293, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022e9fc0
[2014/08/28 13:58:30.871319, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 13:58:30.871346, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.871384, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.871412, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902301bb0
[2014/08/28 13:58:30.871440, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 13:58:30.871466,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 13:58:30.871495, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 13:58:30.871522, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:58:30.871550, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:58:30.871578, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.871611,  5] smbd/files.c:482(file_free)
  freed files structure 13137 (0 used)
[2014/08/28 13:58:30.871637,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:58:30.871672, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.871709, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.871736, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.871765, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.871850, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.871932, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.871978, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.872033, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.872277, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.872303, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.872332, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.872413, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.872526, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.872580, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.872640, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.872915, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.872945, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.872974, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.873009, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.873039, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.873068, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.873097, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.873126, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.873155, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.873184, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.873213, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.873242, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.873272, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.873306, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 13:58:30.873339,  5] smbd/files.c:140(file_new)
  allocated file structure 9042, fnum = 13138 (1 used)
[2014/08/28 13:58:30.873371, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:58:30.873403, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 13:58:30.873439, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.873472, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022edb20
[2014/08/28 13:58:30.873504, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:58:30.873550, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1901, type= 0x0, gen_id = 3667166625, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.873583, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.873620, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:58:30.873649, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:58:30.873678,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.873708, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.873737, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.873779, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.873808, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.873841, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.873935, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.874027, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.874080, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.874147, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.874422, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.874451, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.874484, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.874575, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.874666, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.874718, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.874777, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.875050, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.875080, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.875109, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.875138, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.875166, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.875195, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.875224, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.875252, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.875281, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.875309, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.875338, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.875367, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.875403, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.875437, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.875467,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.877389,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.877420,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.877455, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.877501, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1901, type= 0x0, gen_id = 3667166625, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.877535,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13138, open name = .
[2014/08/28 13:58:30.878390, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:58:30.878466,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:58:30.878525,  3] smbd/process.c:1662(process_smb)
  Transaction 61 of length 76 (0 toread)
[2014/08/28 13:58:30.878569,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.878585,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6465
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:58:30.878923, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 52 33 ED 03                              ...R3.. 
[2014/08/28 13:58:30.878962,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.878992,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.879023,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:58:30.879059, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.879106, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1901, type= 0x0, gen_id = 3667166625, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.879137, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.879166,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13138) level=1005 call=7 total_data=0
[2014/08/28 13:58:30.879196,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13138) level=1005 max_data=24
[2014/08/28 13:58:30.879226,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.879262, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.879292, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.879334, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.879364, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.879397, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.879492, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.879584, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.879636, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.879697, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.879970, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.880000, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.880032, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.880123, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.880214, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.880266, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.880324, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.880603, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.880633, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.880670, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.880700, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.880729, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.880757, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.880786, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.880814, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.880843, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.880871, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.880901, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.880930, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.880958, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.880993, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.881023,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.882930,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.882960,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.882993, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:58:30.883023,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:58:30.883052,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:58:30.883081,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.883098,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6465
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:58:30.883375, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:58:30.883775, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:58:30.883844,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:58:30.883903,  3] smbd/process.c:1662(process_smb)
  Transaction 62 of length 76 (0 toread)
[2014/08/28 13:58:30.883950,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.883967,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6529
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:58:30.884313, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 52 33 ED 03                              ...R3.. 
[2014/08/28 13:58:30.884352,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.884381,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.884411,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:58:30.884447, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.884552, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1901, type= 0x0, gen_id = 3667166625, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.884620, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.884679,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13138) level=1005 call=7 total_data=0
[2014/08/28 13:58:30.884739,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13138) level=1005 max_data=24
[2014/08/28 13:58:30.884798,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.884856, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.884915, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.884999, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.885058, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.885124, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.885314, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.885498, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.885602, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.885722, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.886267, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.886325, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.886403, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.886586, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.886768, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.886871, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.886986, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.887526, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.887585, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.887643, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.887701, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.887758, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.887816, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.887873, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.887930, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.887987, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.888045, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.888104, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.888161, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.888219, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.888287, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.888348,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.892197,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.892258,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.892324, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:58:30.892395,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:58:30.892454,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:58:30.892522,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.892556,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6529
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:58:30.893108, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:58:30.893652, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 13:58:30.893721,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 13:58:30.893780,  3] smbd/process.c:1662(process_smb)
  Transaction 63 of length 106 (0 toread)
[2014/08/28 13:58:30.893838,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.893870,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6593
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 13:58:30.894549, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 13:58:30.894721,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.894780,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.894844,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 13:58:30.894911,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:30.894971, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:30.895034,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.895094,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.895153,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 13:58:30.895212,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 13:58:30.895269,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:58:30.895328,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.895396,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 13:58:30.895455,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 13:58:30.895513,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 13:58:30.895578,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.895651,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.895715,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022eaee0 now at offset -1
[2014/08/28 13:58:30.895777,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 13:58:30.895834, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 13:58:30.895893, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 13:58:30.895970, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.896029, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.896094, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.896283, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.896467, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.896613, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.896730, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.896971, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.896997, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.897023, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.897049, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.897074, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.897103, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.897130,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:30.898451,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:30.898477,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:30.898509, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:58:30.898535,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 13:58:30.898566, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 13:58:30.898592, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 13:58:30.898620,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 13:58:30.898646,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 13:58:30.898675,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 13:58:30.898701,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 13:58:30.898728,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.898742,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6593
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 13:58:30.898992, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 F1 75 4A   09 D2 C2 CF 01 F1 75 4A   ......uJ ......uJ
  [0020] 09 D2 C2 CF 01 C4 57 AC   12 E1 C2 CF 01 C4 57 AC   ......W. ......W.
  [0030] 12 E1 C2 CF 01 B1 30 00   00 00 00 00 00 00 00 10   ......0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 13:58:30.899190,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 13:58:30.899574, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:58:30.899641,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:58:30.899699,  3] smbd/process.c:1662(process_smb)
  Transaction 64 of length 45 (0 toread)
[2014/08/28 13:58:30.899756,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.899771,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=6657
  smt_wct=3
  smb_vwv[ 0]=13138 (0x3352)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:58:30.899945, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.899960,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.899986,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.900013,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13138
[2014/08/28 13:58:30.900043, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.900072, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 13:58:30.900098, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.900139, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1901, type= 0x0, gen_id = 3667166625, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.900167, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.900195, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.900228, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:58:30.900255, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:58:30.900283,  5] smbd/files.c:482(file_free)
  freed files structure 13138 (0 used)
[2014/08/28 13:58:30.900310,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.900324,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=6657
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.900466, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.901221, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:58:30.901292,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:58:30.901350,  3] smbd/process.c:1662(process_smb)
  Transaction 65 of length 90 (0 toread)
[2014/08/28 13:58:30.901407,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.901422,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6721
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 13:58:30.901822, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 00 00                                          ... 
[2014/08/28 13:58:30.901855,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.901881,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.901908, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 13:58:30.901937,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:58:30.901964,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:58:30.901989,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:58:30.902016,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.902042, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:30.902070, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:30.902101,  5] smbd/files.c:140(file_new)
  allocated file structure 9043, fnum = 13139 (1 used)
[2014/08/28 13:58:30.902129, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:58:30.902156,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 13:58:30.902182, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:30.902210,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.902235, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.902262, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.902299, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.902325, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.902355, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.902439, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.902521, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.902567, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.902621, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.902889, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.902915, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.902945, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.903026, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.903107, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.903153, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.903205, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.903445, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.903472, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.903498, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.903523, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.903549, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.903575, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.903601, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.903626, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.903652, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.903678, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.903704, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.903730, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.903755, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.903787, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.903814,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.905531,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.905558,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.905584, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 13:58:30.905616, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.905646, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d0090
[2014/08/28 13:58:30.905672, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 13:58:30.905699, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.905736, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.905765, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902301bb0
[2014/08/28 13:58:30.905792, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 13:58:30.905818,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 13:58:30.905847, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 13:58:30.905874, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:58:30.905901, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:58:30.905929, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.905962,  5] smbd/files.c:482(file_free)
  freed files structure 13139 (0 used)
[2014/08/28 13:58:30.905988,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:58:30.906016, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.906053, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.906079, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.906108, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.906193, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.906275, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.906321, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.906376, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.906624, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.906650, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.906679, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.906761, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.906842, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.906889, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.906941, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.907184, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.907211, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.907237, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.907263, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.907289, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.907314, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.907340, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.907366, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.907391, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.907417, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.907443, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.907469, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.907495, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.907525, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 13:58:30.907555,  5] smbd/files.c:140(file_new)
  allocated file structure 9044, fnum = 13140 (1 used)
[2014/08/28 13:58:30.907583, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:58:30.907617, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 13:58:30.907649, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.907678, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cd1d0
[2014/08/28 13:58:30.907706, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:58:30.907748, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1a41, type= 0x0, gen_id = 3667166627, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.907777, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.907809, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:58:30.907835, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:58:30.907862,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.907888, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.907914, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.907950, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.907976, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.908006, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.908089, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.908171, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.908218, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.908272, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.908534, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.908561, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.908590, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.908672, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.908753, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.908805, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.908859, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.909101, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.909128, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.909154, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.909179, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.909205, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.909230, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.909256, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.909281, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.909307, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.909332, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.909358, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.909383, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.909409, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.909439, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.909466,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.911162,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.911189,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.911220, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.911261, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1a41, type= 0x0, gen_id = 3667166627, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.911291,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13140, open name = .
[2014/08/28 13:58:30.911967, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:58:30.912050,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:58:30.912109,  3] smbd/process.c:1662(process_smb)
  Transaction 66 of length 76 (0 toread)
[2014/08/28 13:58:30.912156,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.912170,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6785
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:58:30.912472, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 54 33 ED 03                              ...T3.. 
[2014/08/28 13:58:30.912513,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.912540,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.912567,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:58:30.912598, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.912639, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1a41, type= 0x0, gen_id = 3667166627, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.912666, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.912692,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13140) level=1005 call=7 total_data=0
[2014/08/28 13:58:30.912719,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13140) level=1005 max_data=24
[2014/08/28 13:58:30.912746,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.912772, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.912797, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.912835, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.912861, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.912890, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.912975, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.913057, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.913104, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.913157, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.913420, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.913446, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.913475, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.913556, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.913637, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.913683, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.913735, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.913975, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.914002, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.914027, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.914053, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.914079, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.914104, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.914130, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.914155, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.914181, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.914206, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.914232, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.914258, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.914284, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.914314, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.914342,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.916044,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.916070,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.916100, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:58:30.916126,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:58:30.916152,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:58:30.916178,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.916192,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6785
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:58:30.916439, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:58:30.916806, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:58:30.916875,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:58:30.916934,  3] smbd/process.c:1662(process_smb)
  Transaction 67 of length 76 (0 toread)
[2014/08/28 13:58:30.916990,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.917005,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6849
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:58:30.917308, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 54 33 ED 03                              ...T3.. 
[2014/08/28 13:58:30.917342,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.917369,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.917396,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:58:30.917428, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.917470, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1a41, type= 0x0, gen_id = 3667166627, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.917497, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.917523,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13140) level=1005 call=7 total_data=0
[2014/08/28 13:58:30.917550,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13140) level=1005 max_data=24
[2014/08/28 13:58:30.917583,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:30.917609, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:30.917635, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:30.917672, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.917698, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.917727, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.917811, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.917893, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.917939, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.917993, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.918235, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:30.918261, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.918289, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.918370, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.918451, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.918497, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.918548, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:30.918787, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.918820, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.918846, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.918872, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.918897, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.918923, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.918948, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.918973, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.918999, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.919024, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:30.919050, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:30.919075, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:30.919101, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:30.919131, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.919158,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:30.920874,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:30.920901,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:30.920930, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:58:30.920956,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:58:30.920982,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:58:30.921008,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.921022,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6849
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:58:30.921270, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:58:30.921632, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 13:58:30.921701,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 13:58:30.921760,  3] smbd/process.c:1662(process_smb)
  Transaction 68 of length 106 (0 toread)
[2014/08/28 13:58:30.921816,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.921831,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6913
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 13:58:30.922139, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 13:58:30.922215,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.922242,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.922270,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 13:58:30.922300,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:30.922328, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:30.922356,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.922383,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.922408,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 13:58:30.922435,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 13:58:30.922460,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:58:30.922487,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.922517,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 13:58:30.922543,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 13:58:30.922569,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 13:58:30.922598,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:30.922625,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:30.922654,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d3e00 now at offset -1
[2014/08/28 13:58:30.922681,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 13:58:30.922707, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 13:58:30.922733, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 13:58:30.922768, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:30.922795, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.922824, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.922909, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:30.922990, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.923036, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:30.923095, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:30.923337, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.923363, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:30.923389, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:30.923414, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.923439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:30.923468, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:30.923495,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:30.924821,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:30.924848,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:30.924879, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:58:30.924905,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 13:58:30.924936, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 13:58:30.924962, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 13:58:30.924989,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 13:58:30.925015,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 13:58:30.925043,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 13:58:30.925069,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 13:58:30.925094,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.925109,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=6913
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 13:58:30.925355, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 F1 75 4A   09 D2 C2 CF 01 F1 75 4A   ......uJ ......uJ
  [0020] 09 D2 C2 CF 01 C4 57 AC   12 E1 C2 CF 01 C4 57 AC   ......W. ......W.
  [0030] 12 E1 C2 CF 01 B1 30 00   00 00 00 00 00 00 00 10   ......0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 13:58:30.925547,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 13:58:30.925838, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:58:30.925906,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:58:30.925964,  3] smbd/process.c:1662(process_smb)
  Transaction 69 of length 45 (0 toread)
[2014/08/28 13:58:30.926021,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.926036,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=6977
  smt_wct=3
  smb_vwv[ 0]=13140 (0x3354)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:58:30.926210, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:30.926226,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:30.926252,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:30.926278,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13140
[2014/08/28 13:58:30.926308, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:30.926338, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 13:58:30.926364, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:30.926410, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15501, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x1a41, type= 0x0, gen_id = 3667166627, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:30.926439, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:58:30.926466, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:30.926499, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:58:30.926527, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:58:30.926554,  5] smbd/files.c:482(file_free)
  freed files structure 13140 (0 used)
[2014/08/28 13:58:30.926580,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:30.926595,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=6977
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:30.926735, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:32.466264, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 13:58:32.466351,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 13:58:32.466411,  3] smbd/process.c:1662(process_smb)
  Transaction 70 of length 74 (0 toread)
[2014/08/28 13:58:32.466469,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.466502,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7041
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 13:58:32.467175, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 13:58:32.467252,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:32.467312,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:32.467373,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 13:58:32.467442,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 13:58:32.467518,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 13:58:32.467576,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 13:58:32.467634,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.467666,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7041
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 13:58:32.468220, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 13:58:32.468354,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 13:58:32.469404, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 13:58:32.469473,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 13:58:32.469532,  3] smbd/process.c:1662(process_smb)
  Transaction 71 of length 74 (0 toread)
[2014/08/28 13:58:32.469590,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.469623,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7105
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 13:58:32.470297, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 13:58:32.470372,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:32.470430,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:32.470489,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 13:58:32.470551,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 13:58:32.470619,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 13:58:32.470677,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 13:58:32.470735,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.470767,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7105
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 13:58:32.471322, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 13:58:32.471454,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 13:58:32.472022, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 104
[2014/08/28 13:58:32.472088,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x68
[2014/08/28 13:58:32.472146,  3] smbd/process.c:1662(process_smb)
  Transaction 72 of length 108 (0 toread)
[2014/08/28 13:58:32.472204,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.472237,  5] lib/util.c:342(show_msg)
  size=104
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7169
  smt_wct=15
  smb_vwv[ 0]=   36 (0x24)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   36 (0x24)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=39
[2014/08/28 13:58:32.472948, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 20 00 28 00 32 00 29   .s.i.o.n . .(.2.)
  [0020] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:58:32.473134,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:32.473195,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:32.473254,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 13:58:32.473318,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version (2).h"
[2014/08/28 13:58:32.473378, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION (2).H]
[2014/08/28 13:58:32.473437,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version (2).h, dirpath = , start = version (2).h
[2014/08/28 13:58:32.473501, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 13:58:32.473557, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 13:58:32.473617, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 13:58:32.473673, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 13:58:32.473779, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 13:58:32.473839, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 13:58:32.473896,  5] smbd/filename.c:781(unix_convert)
  New file version (2).h
[2014/08/28 13:58:32.473953,  8] lib/util.c:1320(is_in_path)
  is_in_path: version (2).h
[2014/08/28 13:58:32.474014,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:32.474074,  3] smbd/trans2.c:5236(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of version (2).h failed (No such file or directory)
[2014/08/28 13:58:32.474284,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(5238) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 13:58:32.474347,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.474380,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7169
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:58:32.474697, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:58:32.477798, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:58:32.477869,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:58:32.477928,  3] smbd/process.c:1662(process_smb)
  Transaction 73 of length 110 (0 toread)
[2014/08/28 13:58:32.477987,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.478020,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7233
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:58:32.478919, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:58:32.479045,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15501) conn 0x7fc9022eba30
[2014/08/28 13:58:32.479105,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:32.479175, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:58:32.479242,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:32.479301, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:58:32.479365,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:32.479424,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:32.479483, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.479550, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.479621, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:32.479711, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.479771, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.479838, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.480034, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.480218, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.480322, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.480445, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.481027, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:32.481086, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.481152, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.481334, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.481516, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.481635, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.481753, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.482295, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.482355, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.482414, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.482472, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.482529, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.482587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.482644, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.482701, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.482759, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.482816, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.482876, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:32.482934, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:32.482991, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:32.483062, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 13:58:32.483123,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:32.486979,  5] smbd/files.c:140(file_new)
  allocated file structure 9045, fnum = 13141 (1 used)
[2014/08/28 13:58:32.487047, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:32.487108,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.487166, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:32.487231,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.487289, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.487349, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.487437, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.487497, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.487563, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.487752, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.487936, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.488041, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.488162, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.488722, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.488782, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.488840, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.488897, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.488955, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.489021, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.489083,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.492037,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.492097,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.492157, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 13:58:32.492219, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x7019f
[2014/08/28 13:58:32.492291, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.492364, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fed20
[2014/08/28 13:58:32.492423, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 13:58:32.492509, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:58:32.492600, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.492665, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022feed0
[2014/08/28 13:58:32.492720, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 13:58:32.492746,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x7019f, open_access_mask = 0x7019f
[2014/08/28 13:58:32.492778, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 13:58:32.492805,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 13:58:32.492836, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 13:58:32.492958,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 3667166628
[2014/08/28 13:58:32.492992,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/3667166628, tv_sec = 53ff5fb8, tv_usec = 76e41
[2014/08/28 13:58:32.493023, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 13:58:32.493061,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.493088, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.493114, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.493148, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.493174, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.493210, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.493297, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.493379, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.493426, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.493481, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.493724, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.493750, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.493776, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.493801, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.493827, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.493857, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.493884,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.495201,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.495228,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.495255,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.495289, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 13:58:32.495326, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 13:58:32.495360, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.495390, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.495421,  5] smbd/files.c:140(file_new)
  allocated file structure 9046, fnum = 13142 (2 used)
[2014/08/28 13:58:32.495450, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:32.495477,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.495503, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 13:58:32.495531,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.495557, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.495583, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.495617, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.495642, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.495672, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.495756, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.495839, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.495885, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.495939, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.496188, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.496215, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.496240, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.496266, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.496291, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.496321, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.496348,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.497672,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.497700,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.497727, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 13:58:32.497758, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.497789, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305b80
[2014/08/28 13:58:32.497815, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 13:58:32.497843, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:58:32.497880, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.497907, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305d30
[2014/08/28 13:58:32.497934, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 13:58:32.497960,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 13:58:32.518437,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 13:57:18 2014
  
[2014/08/28 13:58:32.518572,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 13:58:32.518634,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 13:58:32.518695,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 13:58:32.518753,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 13:58:32.518811,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 13:58:32.518869, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 13:58:32.518926,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 13:58:32.518986,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 13:58:32.519043, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 13:58:32.519099, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 13:58:32.519156,  5] ../lib/util/util.c:415(dump_data)
  [0000] 97 64 D7 E1 58 45 6F 20                            .d..XEo  
[2014/08/28 13:58:32.519236, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 13:58:32.519294, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 13:58:32.519356, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 13:58:32.519412,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 13:58:32.519475,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.519538,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.519596,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.519653,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.519709,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.519852, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.519929, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.519987, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.520044, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.520107,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.520172, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.520231, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.520290, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.520348,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.520410, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.520469, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.520552,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.520611,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.520668,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.520725,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.520780,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.520891, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.520959,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.521027, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.521093, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.521190,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.521249,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.521306,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.521363,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.521419,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.521513, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.521578,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.521642,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.521699,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.521823,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.521986,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 13:58:32.522050,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.522108,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.522165,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.522234,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.522290,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.522406,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.522470, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 13:58:32.522546,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 13:58:32.522608,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.522666,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.522723,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.522780,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.522835,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.522930, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.522994,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.523064, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.523123, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.523181, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.523239, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.523298,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.523361, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.523419, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.523480, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.523539,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.523601, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.523660, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.523720,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.523778,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.523835,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.523891,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.523947,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.524042, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.524106,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.524166, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.524227, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.524342, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.524414,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.524479,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 13:58:32.524589,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 13:58:32.524654,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 16:58:32 2014
  )
[2014/08/28 13:58:32.524733,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.524791,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.524847,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.524905,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.524961,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.525056, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.525119,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.525180,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.525238,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.525294,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.525351,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.525407,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.525494,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.525551,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.525611,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.525675,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.525733,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.525790,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.525846,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.525902,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.525996, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 13:58:32.526061,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.526121,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.526178,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.526235,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.526292,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.526348,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.526441, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.526517,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.526582,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.526638,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.526698,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.526783, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 13:58:32.527056,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 13:58:32.527118,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.527176,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.527233,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.527290,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.527346,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.527449,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.527510, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 13:58:32.527597,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 13:58:32.527655,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.527713,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.527771,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.527828,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.527884,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.527986,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.528046, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 13:58:32.528133,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 13:58:32.528192,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.528249,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.528306,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.528363,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.528418,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.528561,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.528623, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 13:58:32.528713,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 13:58:32.528739,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.528765,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.528790,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.528815,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.528840,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.528892,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.528918, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 13:58:32.528959,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 13:58:32.528985,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529011,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529036,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529061,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.529086,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.529133,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529160, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 13:58:32.529198,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 13:58:32.529224,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529249,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529274,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529300,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.529324,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.529370,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529397, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 13:58:32.529435,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 13:58:32.529460,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529486,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529512,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529537,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.529562,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.529607,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529634, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 13:58:32.529672,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 13:58:32.529698,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529724,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529749,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529774,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.529799,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.529844,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529871, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 13:58:32.529914,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 13:58:32.529940,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.529965,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.529990,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530015,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.530040,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.530086,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530112, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 13:58:32.530150,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 13:58:32.530176,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530202,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530227,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530252,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.530277,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.530322,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530349, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 13:58:32.530388,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 13:58:32.530413,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530439,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530464,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530489,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.530514,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.530560,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530587, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 13:58:32.530625,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 13:58:32.530650,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530676,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530701,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530726,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.530751,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.530797,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530823, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 13:58:32.530861,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 13:58:32.530887,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530918,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.530943,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.530968,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.530993,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.531038,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531065, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 13:58:32.531105,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 13:58:32.531131,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531156,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531182,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531207,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.531232,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.531277,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531304, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 13:58:32.531342,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 13:58:32.531367,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531393,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531419,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531444,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.531469,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.531515,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531541, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 13:58:32.531582,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 13:58:32.531608,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531633,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531659,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531684,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.531709,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.531755,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531782, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 13:58:32.531820,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 13:58:32.531846,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531872,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.531897,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.531928,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.531953,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.531999,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532026, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 13:58:32.532062,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 13:58:32.532092,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.532121,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 13:58:32.532147,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532173,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.532198,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532223,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.532248,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.532290,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.532317,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 13:58:32.532342,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 13:58:32.532372, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 13:58:32.532421, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 13:58:32.532449,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532475,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.532517,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532543,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.532568,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.532614,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.532641, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 13:58:32.532668,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532693,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.532719,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532744,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.532769,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.532833, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 13:58:32.532861,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.532887,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.532912,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.532943,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.532968,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.533014,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533041, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 13:58:32.533072,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 13:58:32.533099,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.533138, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 13:58:32.533165,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533191,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.533216,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533242,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.533266,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.533312,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.533338, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 13:58:32.533365,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533391,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.533416,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533441,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.533466,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.533520, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 13:58:32.533548,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.533574,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533599,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.533624,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.533649,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.533695,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533721, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 13:58:32.533752,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 13:58:32.533779,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.533805,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533830,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.533856,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.533881,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.533906,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.534075,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.534109,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 13:58:32.534152,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 13:58:32.534184,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 13:58:32.534216,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 13:58:32.534247,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 13:58:32.534278,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 13:58:32.534309,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 13:58:32.534340,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 13:58:32.534372,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 13:58:32.534403,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 13:58:32.534434,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 13:58:32.534465,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 13:58:32.534496,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 13:58:32.534527,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 13:58:32.534558,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 13:58:32.534589,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 13:58:32.534621,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 13:58:32.534652,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 13:58:32.534683,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 13:58:32.534714,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 13:58:32.534745,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 13:58:32.534786,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 13:58:32.534816,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 13:58:32.534909, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 13:58:32.534938,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.534965,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.534990,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.535015,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.535041,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.535080,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 13:58:32.535114,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.535139,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.535165,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.535190,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.535214,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.535254,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.535280,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.535305,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.535330,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.535354,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.535396, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.535425,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.535452,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.535478,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.535503,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.535528,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.535553,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.535595, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.535623,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.535654, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.535680, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.535706, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.535732, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.535759,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.535788, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.535814, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.535841, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.535868,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.535896, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.535922, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.535949,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.535975,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.536000,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.536031,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.536056,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.536099, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.536128,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.536154, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.536182, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.536222, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.536253,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.536282,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.536307,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.536333,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.536362,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.536388,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 13:58:32.536417,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.536443,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.536468,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.536499,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.536525,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.536564,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 13:58:32.536590,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.536616,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.536641,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.536666,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.536691,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.536730,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.536756,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.536781,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.536807,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.536831,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.536874, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.536903,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.536930,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.536956,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.536986,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.537012,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.537037,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.537079, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.537108,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.537137, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.537163, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.537189, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.537214, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.537240,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.537269, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.537295, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.537321, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.537348,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.537376, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.537402, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.537429,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.537454,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.537480,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.537505,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.537530,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.537572, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.537603,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.537629, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.537657, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.537701, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.537731,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.537760,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.537785,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.537811,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.537840,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.537866, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 13:58:32.537902,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.537928,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.537953,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.537978,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.538003,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.538042,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 13:58:32.538068,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.538094,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538119,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.538145,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.538169,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.538216,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 13:58:32.538253,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538280,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 13:58:32.538307,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.538333, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.538361,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538387,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.538412,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538438,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.538462,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.538501,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 13:58:32.538527,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.538553,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538578,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.538603,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.538627,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.538670,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 13:58:32.538706,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538732,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 13:58:32.538760,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.538786, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.538814,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538845,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.538871,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.538896,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.538921,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.538966,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.538992, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 13:58:32.539019, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 13:58:32.539046,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.539071,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.539097,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.539122,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.539147,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.539193,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.539219, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 13:58:32.539245, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 13:58:32.539272,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.539297,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.539323,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.539348,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.539372,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.539418,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.539444, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 13:58:32.539470, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 13:58:32.539498, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 13:58:32.539529, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 13:58:32.539555, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 13:58:32.539582, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 13:58:32.539612, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:32.539961, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:32.540186, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 13:58:32.540213, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 13:58:32.540239, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 13:58:32.540269,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 13:58:32.540294,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 13:58:32.540436, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 13:58:32.540463,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 13:58:32.540501,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 13:58:32.540538, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353530322F31
[2014/08/28 13:58:32.540582, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d1e40
[2014/08/28 13:58:32.540620, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353530322F31
[2014/08/28 13:58:32.540668,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 13:58:32.540694,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.540719,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.540745,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.540771,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 13:58:32.540827,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 13:58:32.540853, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 13:58:32.540881,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 13:58:32.540924,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 13:57:18 2014
  
[2014/08/28 13:58:32.540987,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.541002,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=7360
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 13:58:32.541185, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 13:58:32.541742, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 13:58:32.541812,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 13:58:32.541870,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 13:58:32.541921,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.541935,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=7424
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 13:58:32.542122, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 13:58:32.542181,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15502) conn 0x0
[2014/08/28 13:58:32.542207,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.542233,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.542258,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.542297,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:32.542330,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 13:58:32.542366,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 13:58:32.542397,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 13:58:32.542430,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 13:58:32.542458, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 13:58:32.542484, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 13:58:32.542511,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.542537,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.542562,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.542587,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.542612,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.542661, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.542688, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.542714, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.542739, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.542766,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.542794, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.542821, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.542847, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.542878,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.542906, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.542932, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.542959,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.542985,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.543010,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.543035,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.543060,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.543102, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.543132,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.543159, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.543186, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.543226,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.543252,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.543277,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.543302,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.543327,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.543369, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.543398,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.543425,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 13:58:32.543450,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 13:58:32.543477,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 13:58:32.543510,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 13:58:32.543536,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.543562,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.543587,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.543613,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.543638,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.543679, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.543708,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.543738, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.543764, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.543790, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.543823, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.543849,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.543877, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.543903, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.543929, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.543955,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.543983, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.544009, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.544035,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.544061,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.544086,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.544111,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.544136,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.544178, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.544207,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.544233, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.544261, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.544301, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.544334,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.544366,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 13:58:32.544424,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 13:58:32.544451,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 13:58:32.544555, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 13:58:32.544584, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.544610,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.544635,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.544661,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.544686,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.544711,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.544758,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.544788, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 13:58:32.544813, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.544883, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 13:58:32.544921,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.544947,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.544974,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.545004, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 13:58:32.545032,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 13:58:32.545071, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:32.545101, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 13:58:32.545128,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 13:58:32.545157, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 13:58:32.545183,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 13:58:32.545211, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 13:58:32.545237,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 13:58:32.545262,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 13:58:32.545288, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 13:58:32.545327,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 13:58:32.545393, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 8E3C0000FFFFFFFF382D
[2014/08/28 13:58:32.545437, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 13:58:32.545474, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 8E3C0000FFFFFFFF382D
[2014/08/28 13:58:32.545577, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 13:58:32.545609,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 13:58:32.545637, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 13:58:32.545662, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 13:58:32.545688,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.545714,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.545739,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.545764,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.545789,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.545835, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.545863, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.545888, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.545914, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.545940,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.545975, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.546002, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.546028, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.546055,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.546082, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.546108, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.546135,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.546160,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.546185,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.546210,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.546235,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.546278, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.546306,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.546333, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.546361, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.546401,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.546427,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.546452,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.546477,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.546502,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.546544, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.546573,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.546600,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 13:58:32.546625,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 13:58:32.546651,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 13:58:32.546683,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 13:58:32.546710,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.546736,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.546761,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.546786,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.546811,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.546852, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.546881,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.546916, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.546943, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.546968, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.546994, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.547020,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.547048, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.547073, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.547100, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.547126,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.547154, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.547180, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.547206,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.547232,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.547257,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.547282,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.547307,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.547349, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.547377,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.547404, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.547431, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.547471, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.547504,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.547535,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 13:58:32.547562,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 13:58:32.547587,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 13:58:32.547620, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 13:58:32.547646, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.547672,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.547697,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.547722,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.547748,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.547772,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.547822,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.547851, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 13:58:32.547877, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.547925, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 13:58:32.547953, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 13:58:32.547985, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:32.548018, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:32.548055,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.548082,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:32.548421,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:32.548659,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:32.548688,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.548714,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.548739,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.548779,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:32.548816, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 13:58:32.548844,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15502)
[2014/08/28 13:58:32.548878,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 13:58:32.549146, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:58:32.549215,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:58:32.549274,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 110 (0 toread)
[2014/08/28 13:58:32.549332,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.549355,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7488
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:58:32.549755, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:58:32.549812,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15502) conn 0x7fc9022eba10
[2014/08/28 13:58:32.549840,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.549866,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:32.550204,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:32.550432,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:32.550461,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 13:58:32.550497, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:58:32.550532,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:32.550561, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 13:58:32.550587,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 13:58:32.550619,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022dddd0:size 9) VERSION.H -> version.h
[2014/08/28 13:58:32.550644,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 13:58:32.550670,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:32.550698,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:32.550726, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.550768, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.550803, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:32.550901,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 13:58:32.550930,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.550960,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.550986,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.551012,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.551037,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.551102,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.551129,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.551154,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.551179,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.551204,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.551253, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 13:58:32.551280, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.551306, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.551332, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 13:58:32.551359,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.551388, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 13:58:32.551414, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.551441, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.551467,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.551496, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 13:58:32.551522, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.551549,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.551575,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.551600,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.551626,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.551651,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.551694, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.551722,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.551754, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 13:58:32.551782, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 13:58:32.551823,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.551853,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.551880, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 13:58:32.551925,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 13:58:32.551951,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.551979,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.552005,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.552030,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.552055,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.552104,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.552131, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 13:58:32.552163, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.552189, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.552220, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.552331, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.552414, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.552459, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.552531, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.552776, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:32.552802, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.552831, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.552918, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.553000, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.553046, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.553096, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.553337, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.553364, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.553390, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.553416, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.553441, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.553467, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.553492, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.553517, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.553543, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.553568, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.553595, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:32.553621, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:32.553646, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:32.553679, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 13:58:32.553709,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:32.555415,  5] smbd/files.c:140(file_new)
  allocated file structure 9014, fnum = 13110 (1 used)
[2014/08/28 13:58:32.555446, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:32.555476,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.555504, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:32.555539,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.555566, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.555593, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.555632, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.555658, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.555687, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.555772, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.555854, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.555901, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.555955, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.556198, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.556224, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.556250, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.556275, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.556301, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.556330, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.556357,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.557738,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.557766,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.557794, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 13:58:32.557824, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x70197
[2014/08/28 13:58:32.557860, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.557894, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d9cd0
[2014/08/28 13:58:32.557921, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 13:58:32.557951, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:58:32.557990, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.558034, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ee6c0
[2014/08/28 13:58:32.558065, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 13:58:32.558091,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x70197, open_access_mask = 0x70197
[2014/08/28 13:58:32.558125, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 13:58:32.558153,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 13:58:32.558187, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 13:58:32.558263,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 1741347718
[2014/08/28 13:58:32.558296,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/1741347718, tv_sec = 53ff5fb8, tv_usec = 87997
[2014/08/28 13:58:32.558329, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 13:58:32.558366,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.558393, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.558426, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.558462, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.558489, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.558519, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.558605, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.558687, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.558734, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.558789, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.559034, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.559061, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.559086, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.559112, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.559137, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.559167, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.559194,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.560516,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.560543,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.560569,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.560603, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 13:58:32.560639, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 13:58:32.560745, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.560776, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.560807,  5] smbd/files.c:140(file_new)
  allocated file structure 9015, fnum = 13111 (2 used)
[2014/08/28 13:58:32.560836, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:32.560863,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.560889, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 13:58:32.560917,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.560943, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.560969, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.561003, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.561029, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.561059, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.561147, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.561231, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.561283, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.561338, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.561583, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.561610, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.561635, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.561661, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.561686, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.561715, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.561742,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.563054,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.563081,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.563108, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 13:58:32.563140, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.563170, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f26f0
[2014/08/28 13:58:32.563196, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 13:58:32.563224, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:58:32.563260, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.563291, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f28a0
[2014/08/28 13:58:32.563318, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 13:58:32.563344,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 13:58:32.580411,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 13:57:18 2014
  
[2014/08/28 13:58:32.580539,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 13:58:32.580592,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 13:58:32.580645,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 13:58:32.580694,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 13:58:32.580744,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 13:58:32.580794, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 13:58:32.580843,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 13:58:32.580894,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 13:58:32.580943, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 13:58:32.580991, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 13:58:32.581040,  5] ../lib/util/util.c:415(dump_data)
  [0000] 01 90 F5 D5 C0 8B 2F D7                            ....../. 
[2014/08/28 13:58:32.581109, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 13:58:32.581159, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 13:58:32.581212, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 13:58:32.581260,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 13:58:32.581314,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.581369,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.581418,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.581477,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.581527,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.581652, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.581706, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.581756, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.581805, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.581859,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.581914, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.581964, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.582015, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.582066,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.582119, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.582169, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.582223,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.582272,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.582321,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.582369,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.582417,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.582512, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.582569,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.582628, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.582684, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.582767,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.582817,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.582865,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.582914,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.582961,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.583042, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.583096,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.583152,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.583200,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.583307,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.583450,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 13:58:32.583517,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.583567,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.583616,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.583665,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.583713,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.583812,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.583867, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 13:58:32.583933,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 13:58:32.583985,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.584035,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.584084,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.584133,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.584181,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.584262, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.584317,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.584379, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.584430, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.584479, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.584557, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.584608,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.584662, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.584713, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.584764, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.584814,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.584867, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.584918, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.584969,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.585019,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.585067,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.585116,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.585164,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.585245, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.585304,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.585366, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.585421, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.585506, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.585567,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.585624,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 13:58:32.585704,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 13:58:32.585760,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 16:58:32 2014
  )
[2014/08/28 13:58:32.585828,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.585878,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.585928,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.585978,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.586026,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.586108, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.586163,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.586216,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.586265,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.586314,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.586363,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.586411,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.586485,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.586535,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.586587,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.586642,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.586692,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.586740,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.586789,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.586837,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.586918, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 13:58:32.586973,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.587024,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.587073,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.587122,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.587181,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.587230,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.587311, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.587366,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.587421,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.587469,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.587520,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.587595, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 13:58:32.587832,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 13:58:32.587884,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.587935,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.587984,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.588033,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.588082,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.588170,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.588222, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 13:58:32.588296,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 13:58:32.588346,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.588396,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.588445,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.588519,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.588572,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.588661,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.588700, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 13:58:32.588739,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 13:58:32.588765,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.588791,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.588816,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.588842,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.588867,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.588913,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.588940, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 13:58:32.588978,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 13:58:32.589004,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589030,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589062,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589087,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.589112,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.589157,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589184, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 13:58:32.589225,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 13:58:32.589251,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589277,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589302,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589328,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.589353,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.589398,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589425, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 13:58:32.589464,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 13:58:32.589490,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589515,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589541,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589566,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.589591,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.589637,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589664, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 13:58:32.589703,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 13:58:32.589728,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589754,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589780,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589805,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.589830,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.589876,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.589903, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 13:58:32.589942,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 13:58:32.589967,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.589993,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590019,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590044,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.590075,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.590121,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590148, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 13:58:32.590186,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 13:58:32.590211,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590237,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590262,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590288,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.590312,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.590357,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590384, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 13:58:32.590422,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 13:58:32.590447,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590473,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590498,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590524,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.590548,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.590593,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590620, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 13:58:32.590659,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 13:58:32.590684,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590710,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590735,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590760,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.590785,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.590830,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590857, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 13:58:32.590895,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 13:58:32.590921,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590947,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.590972,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.590997,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.591022,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.591067,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591099, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 13:58:32.591138,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 13:58:32.591164,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591189,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591214,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591240,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.591265,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.591310,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591337, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 13:58:32.591377,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 13:58:32.591402,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591428,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591453,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591479,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.591504,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.591549,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591576, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 13:58:32.591614,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 13:58:32.591640,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591665,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591691,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591716,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.591741,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.591787,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591814, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 13:58:32.591854,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 13:58:32.591880,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591905,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.591931,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.591956,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.591981,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.592026,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592053, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 13:58:32.592091,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 13:58:32.592123,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.592149,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592174,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.592199,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.592224,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.592270,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592296, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 13:58:32.592332,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 13:58:32.592363,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.592391,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 13:58:32.592417,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592443,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.592468,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592505,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.592531,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.592573,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.592600,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 13:58:32.592625,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 13:58:32.592654, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 13:58:32.592704, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 13:58:32.592732,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592759,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.592784,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592810,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.592835,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.592882,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.592909, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 13:58:32.592936,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.592962,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.592987,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593013,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.593038,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.593103, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 13:58:32.593136,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.593163,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593188,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.593214,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.593238,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.593286,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593312, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 13:58:32.593344,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 13:58:32.593371,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.593410, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 13:58:32.593438,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593464,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.593489,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593514,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.593539,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.593586,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.593613, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 13:58:32.593639,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593665,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.593690,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593716,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.593740,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.593795, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 13:58:32.593822,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.593848,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593874,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.593899,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.593924,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.593971,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.593997, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 13:58:32.594028,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 13:58:32.594055,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.594081,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.594107,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.594138,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.594164,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.594188,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.594353,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.594387,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 13:58:32.594431,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 13:58:32.594463,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 13:58:32.594495,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 13:58:32.594526,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 13:58:32.594558,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 13:58:32.594589,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 13:58:32.594620,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 13:58:32.594651,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 13:58:32.594683,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 13:58:32.594714,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 13:58:32.594746,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 13:58:32.594777,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 13:58:32.594808,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 13:58:32.594840,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 13:58:32.594871,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 13:58:32.594902,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 13:58:32.594933,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 13:58:32.594965,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 13:58:32.594996,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 13:58:32.595028,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 13:58:32.595068,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 13:58:32.595099,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 13:58:32.595194, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 13:58:32.595223,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.595249,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.595275,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.595305,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.595330,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.595370,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 13:58:32.595399,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.595425,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.595450,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.595475,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.595500,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.595540,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.595566,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.595591,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.595617,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.595641,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.595684, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.595712,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.595739,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.595765,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.595790,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.595815,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.595840,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.595883, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.595912,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.595942, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.595969, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.595994, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.596020, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.596047,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.596077, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.596103, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.596130, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.596156,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.596184, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.596211, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.596243,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.596269,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.596294,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.596320,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.596344,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.596387, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.596416,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.596443, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.596471, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.596517, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.596548,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.596577,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.596602,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.596629,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.596658,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.596684,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 13:58:32.596712,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.596738,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.596763,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.596789,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.596814,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.596853,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 13:58:32.596879,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.596905,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.596930,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.596956,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.596980,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.597020,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.597046,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.597071,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.597096,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.597121,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.597164, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.597198,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.597226,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.597252,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.597277,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.597302,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.597327,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.597369, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.597398,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.597428, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:32.597454, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.597480, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.597505, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:32.597532,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.597560, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:32.597586, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.597613, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.597639,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.597667, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:32.597694, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.597720,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.597747,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.597772,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.597798,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.597823,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.597866, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.597894,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.597923, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:32.597951, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:32.597993, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.598024,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598053,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.598078,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.598110,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.598139,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.598165, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 13:58:32.598195,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598221,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.598246,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598272,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.598296,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.598335,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 13:58:32.598361,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.598387,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598412,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.598438,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.598462,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.598510,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 13:58:32.598546,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598573,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 13:58:32.598601,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.598627, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.598655,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598680,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.598706,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598731,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.598756,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.598795,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 13:58:32.598822,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.598847,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.598872,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.598898,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.598922,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.598965,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 13:58:32.599001,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.599027,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 13:58:32.599060,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.599086, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.599114,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.599140,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.599165,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.599190,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.599215,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.599261,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.599287, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 13:58:32.599314, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 13:58:32.599340,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.599366,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.599392,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.599417,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.599441,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.599487,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.599513, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 13:58:32.599539, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 13:58:32.599566,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.599591,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.599616,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.599641,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.599666,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.599712,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.599738, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 13:58:32.599764, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 13:58:32.599791, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 13:58:32.599821, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 13:58:32.599848, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 13:58:32.599874, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 13:58:32.599904, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:32.600250, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:32.600474, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 13:58:32.600516, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 13:58:32.600542, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 13:58:32.600571,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 13:58:32.600597,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 13:58:32.600739, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 13:58:32.600766,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 13:58:32.600792,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 13:58:32.600827, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353530332F31
[2014/08/28 13:58:32.600872, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d7520
[2014/08/28 13:58:32.600910, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353530332F31
[2014/08/28 13:58:32.600958,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 13:58:32.600985,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.601010,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.601036,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.601062,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 13:58:32.601118,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 13:58:32.601145, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 13:58:32.601174,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 13:58:32.601217,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 13:57:18 2014
  
[2014/08/28 13:58:32.601281,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.601296,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=7616
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 13:58:32.601487, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 13:58:32.602019, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 13:58:32.602098,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 13:58:32.602158,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 13:58:32.602207,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.602221,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=7680
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 13:58:32.602407, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 13:58:32.602466,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15503) conn 0x0
[2014/08/28 13:58:32.602493,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.602519,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.602544,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.602584,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:32.602618,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 13:58:32.602654,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 13:58:32.602686,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 13:58:32.602719,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 13:58:32.602748, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 13:58:32.602773, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 13:58:32.602801,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.602827,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.602853,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.602878,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.602903,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.602954, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.602981, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.603007, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.603033, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.603059,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.603094, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.603121, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.603148, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.603174,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.603202, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.603229, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.603256,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.603281,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.603307,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.603332,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.603357,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.603401, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.603430,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.603457, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.603485, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.603525,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.603551,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.603577,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.603602,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.603627,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.603670, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.603699,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.603727,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 13:58:32.603752,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 13:58:32.603779,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 13:58:32.603812,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 13:58:32.603839,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.603865,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.603890,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.603915,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.603940,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.603983, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.604011,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.604048, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.604074, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.604100, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.604126, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.604152,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.604180, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.604206, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.604232, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.604259,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.604286, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.604312, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.604339,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.604365,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.604390,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.604416,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.604441,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.604498, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.604530,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.604557, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.604585, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.604625, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.604660,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.604692,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 13:58:32.604751,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 13:58:32.604778,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 13:58:32.604829, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 13:58:32.604855, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.604881,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.604907,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.604933,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.604958,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.604983,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.605036,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.605065, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 13:58:32.605090, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.605151, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 13:58:32.605189,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:32.605215,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:32.605242,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:32.605272, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 13:58:32.605300,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 13:58:32.605339, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:32.605369, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 13:58:32.605397,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 13:58:32.605426, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 13:58:32.605452,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 13:58:32.605480, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 13:58:32.605506,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 13:58:32.605531,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 13:58:32.605556, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 13:58:32.605596,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 13:58:32.605662, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 8F3C0000FFFFFFFF087C
[2014/08/28 13:58:32.605706, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 13:58:32.605745, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 8F3C0000FFFFFFFF087C
[2014/08/28 13:58:32.605847, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 13:58:32.605879,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 13:58:32.605908, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 13:58:32.605933, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 13:58:32.605960,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.605985,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.606011,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.606037,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.606061,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.606108, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.606135, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.606170, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.606196, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.606222,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.606251, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.606277, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.606304, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.606330,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.606357, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.606384, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.606410,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.606436,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.606461,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.606487,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.606511,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.606554, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.606584,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.606611, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.606638, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.606679,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.606705,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.606730,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.606756,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.606781,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.606823, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:32.606852,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.606879,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 13:58:32.606905,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 13:58:32.606931,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 13:58:32.606963,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 13:58:32.606991,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.607016,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.607042,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.607067,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.607098,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.607140, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.607169,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.607199, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:32.607225, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.607251, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.607277, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:32.607303,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.607331, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:32.607357, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.607384, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.607410,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.607437, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:32.607464, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.607491,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.607516,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.607542,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.607568,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.607593,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.607635, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.607664,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.607691, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:32.607719, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:32.607759, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:32.607793,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.607824,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 13:58:32.607851,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 13:58:32.607876,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 13:58:32.607911, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 13:58:32.607937, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.607963,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.607989,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.608020,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.608046,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.608070,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.608117,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.608146, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 13:58:32.608171, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:32.608220, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 13:58:32.608248, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 13:58:32.608280, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:32.608313, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:32.608350,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.608377,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:32.608728,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:32.608959,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:32.608989,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.609014,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.609039,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.609079,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:32.609116, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 13:58:32.609144,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15503)
[2014/08/28 13:58:32.609179,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 13:58:32.609473, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:58:32.609542,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:58:32.609613,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 110 (0 toread)
[2014/08/28 13:58:32.609660,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:32.609675,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=7744
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:58:32.610068, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:58:32.610124,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15503) conn 0x7fc9022bd880
[2014/08/28 13:58:32.610152,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.610179,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:32.610518,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:32.610748,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:32.610777,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 13:58:32.610812, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:58:32.610848,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:58:32.610876, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 13:58:32.610903,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 13:58:32.610934,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022dddd0:size 9) VERSION.H -> version.h
[2014/08/28 13:58:32.610960,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 13:58:32.610991,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:58:32.611020,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:32.611048, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.611083, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.611117, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:32.611214,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 13:58:32.611242,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.611270,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.611296,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.611322,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.611347,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.611413,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.611440,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:32.611466,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.611491,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.611516,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.611564, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 13:58:32.611591, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:32.611617, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:32.611643, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 13:58:32.611670,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.611699, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 13:58:32.611725, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:32.611752, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:32.611779,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:32.611807, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 13:58:32.611834, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:32.611860,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.611886,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:32.611912,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:32.611937,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.611972,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.612016, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:32.612045,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:32.612072, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 13:58:32.612099, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 13:58:32.612140,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.612171,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.612197, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 13:58:32.612242,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 13:58:32.612268,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.612297,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:32.612323,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:32.612348,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:32.612373,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:32.612422,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:32.612449, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 13:58:32.612482, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.612528, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.612560, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.612671, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.612753, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.612799, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.612853, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.613096, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:32.613127, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.613157, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.613238, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.613319, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.613365, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.613416, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:32.613659, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.613687, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.613712, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.613738, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.613763, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.613789, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.613814, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.613840, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.613865, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.613891, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:32.613917, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:32.613943, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:32.613968, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:32.614000, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 13:58:32.614029,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:32.615740,  5] smbd/files.c:140(file_new)
  allocated file structure 9015, fnum = 13111 (1 used)
[2014/08/28 13:58:32.615770, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:32.615805,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.615833, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:58:32.615863,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.615890, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.615917, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.615955, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.615981, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.616011, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.616095, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.616177, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.616224, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.616278, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.616527, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.616553, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.616579, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.616605, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.616630, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.616660, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.616687,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.618003,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.618030,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.618059, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 13:58:32.618088, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x70196
[2014/08/28 13:58:32.618125, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.618160, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022da1b0
[2014/08/28 13:58:32.618186, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 13:58:32.618216, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:58:32.618255, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.618300, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022da1b0
[2014/08/28 13:58:32.618331, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 13:58:32.618358,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x70196, open_access_mask = 0x70196
[2014/08/28 13:58:32.618390, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 13:58:32.618417,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=No write=Yes (numopen=1)
[2014/08/28 13:58:32.618451, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 13:58:32.618526,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 1031824655
[2014/08/28 13:58:32.618561,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/1031824655, tv_sec = 53ff5fb8, tv_usec = 9653b
[2014/08/28 13:58:32.618601, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 13:58:32.618639,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.618666, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.618693, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.618727, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.618754, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.618784, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.618870, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.618952, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.618998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.619053, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.619296, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.619322, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.619348, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.619373, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.619399, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.619429, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.619457,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.620809,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.620837,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.620863,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.620897, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 13:58:32.620934, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 13:58:32.621043, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.621075, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:58:32.621106,  5] smbd/files.c:140(file_new)
  allocated file structure 9016, fnum = 13112 (2 used)
[2014/08/28 13:58:32.621136, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:58:32.621163,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:58:32.621189, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 13:58:32.621217,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:58:32.621243, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:58:32.621269, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:58:32.621304, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:32.621330, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.621359, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.621450, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:32.621532, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.621578, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:58:32.621632, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:58:32.621878, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.621904, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:32.621930, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:32.621956, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.621981, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:58:32.622011, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:32.622038,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:58:32.623350,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:58:32.623376,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:58:32.623403, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 13:58:32.623435, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.623466, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f2750
[2014/08/28 13:58:32.623492, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 13:58:32.623519, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:58:32.623556, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:58:32.623588, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f2900
[2014/08/28 13:58:32.623614, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 13:58:32.623640,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 13:58:34.182285,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 13:57:18 2014
  
[2014/08/28 13:58:34.182347,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 13:58:34.182375,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 13:58:34.182403,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 13:58:34.182428,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 13:58:34.182454,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 13:58:34.182480, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 13:58:34.182506,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 13:58:34.182533,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 13:58:34.182558, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 13:58:34.182583, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 13:58:34.182608,  5] ../lib/util/util.c:415(dump_data)
  [0000] AC 7B 99 79 5B 45 C8 A7                            .{.y[E.. 
[2014/08/28 13:58:34.182645, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 13:58:34.182671, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 13:58:34.182698, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 13:58:34.182723,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 13:58:34.182756,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.182785,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.182811,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.182836,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.182861,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.182932, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:34.182961, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.182986, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.183012, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:34.183040,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.183069, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:34.183096, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.183122, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.183148,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.183176, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:34.183202, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.183230,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.183255,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.183281,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.183306,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.183330,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.183381, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.183412,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.183443, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:34.183472, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:34.183516,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.183542,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.183567,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.183593,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.183617,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.183659, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:34.183688,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.183717,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:34.183748,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:34.183811,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:34.183896,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 13:58:34.183926,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.183952,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.183977,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.184003,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.184027,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.184082,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.184110, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 13:58:34.184145,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 13:58:34.184172,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.184198,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.184224,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.184249,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.184274,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.184316, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.184345,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.184377, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:34.184403, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.184429, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.184455, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:34.184481,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.184531, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:34.184558, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.184585, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.184611,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.184639, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:34.184665, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.184691,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.184717,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.184742,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.184768,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.184792,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.184841, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.184872,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.184899, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:34.184926, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:34.184971, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:34.185002,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.185032,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 13:58:34.185075,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 13:58:34.185104,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 16:58:34 2014
  )
[2014/08/28 13:58:34.185139,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185165,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.185190,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185216,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.185241,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.185283, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:34.185312,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.185339,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185365,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.185390,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185415,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.185440,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.185479,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:34.185504,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:34.185531,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:34.185560,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.185585,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185610,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.185635,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.185660,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.185702, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 13:58:34.185731,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185762,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.185788,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185813,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.185838,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.185863,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.185905, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:34.185934,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.185963,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:34.185988,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:34.186014,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:34.186057, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 13:58:34.186185,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 13:58:34.186212,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.186238,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.186263,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.186288,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.186313,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.186359,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.186386, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 13:58:34.186425,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 13:58:34.186450,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.186476,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.186501,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.186527,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.186552,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.186597,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.186624, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 13:58:34.186662,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 13:58:34.186688,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.186714,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.186739,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.186764,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.186789,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.186834,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.186861, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 13:58:34.186905,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 13:58:34.186931,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.186957,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.186982,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187007,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.187032,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.187077,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187103, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 13:58:34.187144,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 13:58:34.187170,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187196,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187221,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187246,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.187271,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.187316,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187343, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 13:58:34.187381,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 13:58:34.187406,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187432,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187457,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187482,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.187507,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.187552,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187579, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 13:58:34.187618,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 13:58:34.187643,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187669,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187694,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187719,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.187744,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.187790,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187817, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 13:58:34.187855,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 13:58:34.187880,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187912,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.187937,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.187962,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.187987,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.188032,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188059, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 13:58:34.188097,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 13:58:34.188123,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188149,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188174,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188199,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.188224,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.188270,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188297, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 13:58:34.188335,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 13:58:34.188360,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188386,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188411,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188437,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.188461,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.188514,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188541, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 13:58:34.188580,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 13:58:34.188606,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188632,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188657,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188682,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.188707,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.188753,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188780, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 13:58:34.188818,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 13:58:34.188843,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188869,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.188894,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.188923,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.188948,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.188994,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189021, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 13:58:34.189059,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 13:58:34.189084,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189110,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189135,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189160,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.189185,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.189230,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189257, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 13:58:34.189296,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 13:58:34.189322,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189348,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189373,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189398,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.189423,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.189468,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189495, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 13:58:34.189533,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 13:58:34.189559,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189584,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189609,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189635,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.189659,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.189705,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189731, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 13:58:34.189771,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 13:58:34.189797,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189822,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189848,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.189873,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.189898,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.189949,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.189975, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 13:58:34.190014,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 13:58:34.190039,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.190065,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190090,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.190116,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.190140,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.190186,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190213, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 13:58:34.190248,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 13:58:34.190278,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.190306,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 13:58:34.190332,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190358,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.190383,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190408,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.190433,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.190475,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.190502,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 13:58:34.190527,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 13:58:34.190556, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 13:58:34.190606, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 13:58:34.190634,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190660,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.190685,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190710,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.190735,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.190781,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.190808, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 13:58:34.190835,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190860,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.190885,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.190916,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.190942,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.191006, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 13:58:34.191034,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.191060,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191085,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.191110,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.191135,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.191182,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191208, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 13:58:34.191240,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 13:58:34.191267,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.191306, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 13:58:34.191333,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191359,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.191384,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191409,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.191434,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.191480,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.191506, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 13:58:34.191533,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191559,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.191584,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191609,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.191633,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.191688, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 13:58:34.191715,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.191741,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191766,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.191792,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.191816,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.191863,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.191889, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 13:58:34.191920,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 13:58:34.191953,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.191980,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.192005,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.192030,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.192055,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.192080,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.192244,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.192278,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 13:58:34.192321,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 13:58:34.192354,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 13:58:34.192385,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 13:58:34.192417,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 13:58:34.192448,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 13:58:34.192479,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 13:58:34.192517,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 13:58:34.192548,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 13:58:34.192580,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 13:58:34.192611,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 13:58:34.192643,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 13:58:34.192674,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 13:58:34.192705,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 13:58:34.192736,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 13:58:34.192768,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 13:58:34.192799,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 13:58:34.192830,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 13:58:34.192861,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 13:58:34.192893,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 13:58:34.192924,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 13:58:34.192965,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 13:58:34.192996,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 13:58:34.193090, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 13:58:34.193125,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.193151,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.193177,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.193202,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.193227,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.193267,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 13:58:34.193295,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.193321,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.193346,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.193371,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.193396,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.193435,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.193461,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:34.193487,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.193512,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.193536,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.193579, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:34.193607,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.193634,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.193660,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:34.193685,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.193710,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.193735,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.193777, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.193805,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.193836, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:34.193862, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.193888, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.193914, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:34.193941,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.193971, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:34.193997, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.194024, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.194056,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.194084, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:34.194111, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.194137,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.194163,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:34.194188,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.194213,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.194238,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.194281, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.194309,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.194336, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:34.194364, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:34.194405, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:34.194436,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.194464,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:34.194490,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:34.194516,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:34.194545,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.194571,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 13:58:34.194600,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.194626,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.194651,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.194677,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.194702,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.194740,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 13:58:34.194767,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.194793,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.194818,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.194844,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.194869,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.194908,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.194934,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:34.194960,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.194991,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.195016,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.195058, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:34.195087,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.195114,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.195140,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:34.195165,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.195190,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.195215,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.195257, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.195285,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.195315, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 13:58:34.195341, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.195366, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.195392, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 13:58:34.195418,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.195447, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 13:58:34.195473, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.195499, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.195525,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.195554, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 13:58:34.195580, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.195606,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.195632,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:34.195658,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.195683,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.195708,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.195751, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.195780,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.195809, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 13:58:34.195836, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 13:58:34.195878, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:34.195914,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.195942,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:34.195967,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:34.195994,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:34.196022,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.196048, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 13:58:34.196078,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196103,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.196129,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196154,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.196178,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.196217,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 13:58:34.196243,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.196268,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196293,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.196319,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.196343,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.196390,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 13:58:34.196427,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196453,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 13:58:34.196481,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.196522, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:34.196550,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196576,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.196601,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196626,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.196651,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.196690,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 13:58:34.196716,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.196742,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196767,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.196792,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.196816,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.196864,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 13:58:34.196901,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.196927,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 13:58:34.196954,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.196980, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:34.197008,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.197034,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.197059,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.197084,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.197109,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.197155,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.197181, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 13:58:34.197207, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 13:58:34.197234,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.197260,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.197285,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.197310,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.197334,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.197380,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.197406, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 13:58:34.197433, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 13:58:34.197459,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.197485,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.197510,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.197535,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.197559,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.197605,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.197631, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 13:58:34.197657, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 13:58:34.197684, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 13:58:34.197714, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 13:58:34.197740, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 13:58:34.197766, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 13:58:34.197801, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:34.198142, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:34.198366, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 13:58:34.198393, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 13:58:34.198419, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 13:58:34.198449,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 13:58:34.198474,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 13:58:34.198615, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 13:58:34.198642,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 13:58:34.198668,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 13:58:34.198702, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353530342F31
[2014/08/28 13:58:34.198734, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d7520
[2014/08/28 13:58:34.198783, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353530342F31
[2014/08/28 13:58:34.198831,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 13:58:34.198858,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:34.198883,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:34.198909,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:34.198934,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 13:58:34.198990,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 13:58:34.199016, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 13:58:34.199045,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 13:58:34.199096,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 13:57:18 2014
  
[2014/08/28 13:58:34.199160,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:34.199175,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=7872
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 13:58:34.199360, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 13:58:34.199880, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 13:58:34.199951,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 13:58:34.200009,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 13:58:34.200059,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:34.200073,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=7936
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 13:58:34.200259, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 13:58:34.200317,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15504) conn 0x0
[2014/08/28 13:58:34.200344,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.200370,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.200394,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.200433,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:34.200466,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 13:58:34.200509,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 13:58:34.200540,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 13:58:34.200573,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 13:58:34.200601, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 13:58:34.200626, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 13:58:34.200654,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.200679,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.200704,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.200729,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.200754,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.200803, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:34.200830, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.200861, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.200887, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:34.200914,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.200942, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:34.200969, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.200995, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.201021,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.201049, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:34.201075, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.201101,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.201127,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.201152,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.201177,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.201202,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.201245, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.201273,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.201300, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:34.201328, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:34.201368,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.201394,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.201419,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.201445,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.201470,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.201511, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:34.201540,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.201567,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 13:58:34.201592,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 13:58:34.201619,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 13:58:34.201651,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 13:58:34.201678,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.201704,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.201729,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.201755,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.201784,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.201826, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.201854,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.201884, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:34.201911, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.201936, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.201962, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:34.201988,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.202016, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:34.202041, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.202068, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.202094,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.202122, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:34.202148, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.202174,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.202200,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.202225,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.202250,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.202275,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.202317, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.202346,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.202372, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:34.202400, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:34.202440, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:34.202473,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.202505,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 13:58:34.202564,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 13:58:34.202592,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 13:58:34.202643, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 13:58:34.202669, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:34.202695,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.202721,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.202751,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.202777,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.202802,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.202847,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.202876, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 13:58:34.202901, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:34.202962, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 13:58:34.203000,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 13:58:34.203026,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 13:58:34.203053,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 13:58:34.203083, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 13:58:34.203110,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 13:58:34.203149, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:34.203179, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 13:58:34.203207,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 13:58:34.203236, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 13:58:34.203262,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 13:58:34.203289, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 13:58:34.203315,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 13:58:34.203340,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 13:58:34.203366, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 13:58:34.203405,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 13:58:34.203471, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 903C0000FFFFFFFF5D2E
[2014/08/28 13:58:34.203514, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 13:58:34.203551, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 903C0000FFFFFFFF5D2E
[2014/08/28 13:58:34.203654, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 13:58:34.203685,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 13:58:34.203713, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 13:58:34.203739, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 13:58:34.203765,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.203791,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.203816,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.203842,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.203866,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.203919, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:34.203946, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.203971, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.203997, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:34.204023,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.204052, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:34.204078, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.204104, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.204130,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.204158, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:34.204183, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.204210,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.204235,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.204260,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.204285,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.204310,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.204352, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.204380,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.204407, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:34.204434, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:34.204474,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.204508,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.204534,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.204559,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.204583,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.204625, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 13:58:34.204653,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.204680,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 13:58:34.204705,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 13:58:34.204731,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 13:58:34.204763,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 13:58:34.204789,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.204821,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.204846,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.204871,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.204895,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.204937, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.204965,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.204995, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 13:58:34.205021, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.205046, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.205072, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 13:58:34.205098,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.205126, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 13:58:34.205152, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.205178, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.205204,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.205231, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 13:58:34.205258, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.205284,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.205309,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.205334,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.205359,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.205384,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.205425, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.205454,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.205480, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 13:58:34.205507, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 13:58:34.205548, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 13:58:34.205581,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.205612,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 13:58:34.205638,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 13:58:34.205663,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 13:58:34.205699, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 13:58:34.205730, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:34.205756,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.205781,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.205806,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.205831,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.205856,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.205901,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.205930, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 13:58:34.205955, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 13:58:34.206004, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 13:58:34.206032, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 13:58:34.206065, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:34.206097, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 13:58:34.206133,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.206160,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:34.206499,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:34.206727,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:34.206756,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.206781,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.206806,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.206846,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:58:34.206883, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 13:58:34.206911,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15504)
[2014/08/28 13:58:34.206952,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 13:58:34.207509, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:58:34.207579,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:58:34.207638,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 90 (0 toread)
[2014/08/28 13:58:34.207691,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:34.207706,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=8000
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:58:34.208103, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:58:34.208136,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15504) conn 0x7fc9022bd880
[2014/08/28 13:58:34.208164,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.208191,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:58:34.208547,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:58:34.208776,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:58:34.208805,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 13:58:34.208840, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 13:58:34.208875,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:58:34.208904,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:58:34.208930,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:58:34.208958,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:58:34.208990, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:34.209025, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:58:34.209056,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:58:34.209089, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:34.209186,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 13:58:34.209214,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.209243,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.209269,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.209294,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.209319,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.209385,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.209411,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 13:58:34.209437,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.209462,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.209487,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.209536, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 13:58:34.209563, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 13:58:34.209589, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 13:58:34.209615, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 13:58:34.209642,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.209671, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 13:58:34.209697, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 13:58:34.209724, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 13:58:34.209751,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 13:58:34.209779, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 13:58:34.209805, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 13:58:34.209832,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.209858,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 13:58:34.209883,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 13:58:34.209908,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.209939,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.209982, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 13:58:34.210010,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 13:58:34.210037, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 13:58:34.210064, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 13:58:34.210105,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.210136,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.210162, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 13:58:34.210207,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 13:58:34.210233,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.210261,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:58:34.210287,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:58:34.210313,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:58:34.210337,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:58:34.210386,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:58:34.210413, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 13:58:34.210444, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:34.210471, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.210502, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:34.210612, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:34.210694, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.210740, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.210793, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.211035, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:34.211067, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.211097, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:34.211178, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:34.211259, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.211305, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.211356, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.211597, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.211624, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.211650, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:34.211675, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:34.211701, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.211726, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.211751, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.211776, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:34.211802, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:34.211827, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.211853, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:34.211879, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:34.211904, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:34.211938, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 13:58:34.211973,  5] smbd/files.c:140(file_new)
  allocated file structure 9002, fnum = 13098 (1 used)
[2014/08/28 13:58:34.212003, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:58:34.212032, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 13:58:34.212066, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:58:34.212112, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d9ae0
[2014/08/28 13:58:34.212145, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:58:34.212197, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15504, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x1f40, type= 0x0, gen_id = 3098540539, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:34.212231, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:58:34.212264, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:58:34.212290, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:58:34.212318,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:58:34.212345, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:58:34.212371, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:58:34.212410, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:58:34.212436, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.212466, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:34.212559, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:34.212641, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.212688, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.212742, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.212987, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:58:34.213013, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.213042, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:58:34.213124, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:58:34.213205, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.213252, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.213304, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:58:34.213552, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.213579, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.213604, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:34.213630, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:34.213656, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.213681, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.213707, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.213732, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:58:34.213757, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:58:34.213783, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:58:34.213809, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:58:34.213834, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:58:34.213860, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:58:34.213892, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:58:34.213922,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:58:34.215618,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:58:34.215645,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:58:34.215679, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:58:34.215720, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15504, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x1f40, type= 0x0, gen_id = 3098540539, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:58:34.215755,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13098, open name = .
[2014/08/28 13:58:34.216049, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 13:58:34.216120,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 13:58:34.216179,  3] smbd/process.c:1662(process_smb)
  Transaction 5 of length 88 (0 toread)
[2014/08/28 13:58:34.216237,  5] lib/util.c:332(show_msg)
[2014/08/28 13:58:34.216259,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=8064
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=13098 (0x332A)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:58:34.216654, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:58:34.216689,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15504) conn 0x7fc9022bd880
[2014/08/28 13:58:34.216715,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:58:34.216745, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 13:58:34.216773, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 13:58:34.216799, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 2A 33 00 00                            ....*3.. 
[2014/08/28 13:58:34.216835,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 13:58:34.216868,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 13:58:34.216902, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 13:58:34.216947, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d0090
[2014/08/28 13:58:34.216990, 10] smbd/notify_internal.c:235(notify_load)
  notify_load:
[2014/08/28 13:58:34.217016,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       notify->array: struct notify_array
          num_depths               : 0x00000003 (3)
          depth: ARRAY(3)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000003 (3)
                  num_entries              : 0x00000001 (1)
                  entries: ARRAY(1)
                      entries: struct notify_entry
                          server: struct server_id
                              pid                      : 0x00003420 (13344)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x80f30b550c1b6b45 (9291782916098714437)
                          filter                   : 0x00000000 (0)
                          subdir_filter            : 0x00000003 (3)
                          dir_fd                   : 0x0000001c (28)
                          dir_id: struct file_id
                              devid                    : 0x0000000000000816 (2070)
                              inode                    : 0x0000000000000002 (2)
                              extid                    : 0x0000000000000000 (0)
                          path                     : '/shared/projects'
                          path_len                 : 0x00000010 (16)
                          private_data             : 0x7fc9022d14a0
[2014/08/28 13:58:34.217466, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 1
[2014/08/28 13:58:34.217494, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 13:58:34.217525, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 13:58:52.546502, 10] lib/messages_local.c:74(messaging_tdb_signal_handler)
  messaging_tdb_signal_handler: sig[10] count[1] msgs[1]
[2014/08/28 13:58:52.546586, 10] lib/messages_local.c:466(message_dispatch)
  message_dispatch: received_messages = 1
[2014/08/28 13:58:52.546666, 10] lib/messages_local.c:215(messaging_tdb_fetch)
  messaging_tdb_fetch:
[2014/08/28 13:58:52.546725,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       result: struct messaging_array
          num_messages             : 0x00000001 (1)
          messages: ARRAY(1)
              messages: struct messaging_rec
                  msg_version              : 0x00000002 (2)
                  msg_type                 : MSG_SMB_UNLOCK (773)
                  dest: struct server_id
                      pid                      : 0x00003c90 (15504)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x8c969a9ae0802e5d (10130454401798647389)
                  src: struct server_id
                      pid                      : 0x000033db (13275)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0xed6f475c2e4113ce (17108971970642383822)
                  buf                      : DATA_BLOB length=0
-------------- next part --------------
[2014/08/28 14:31:52.900551, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353934372F31
[2014/08/28 14:31:52.900694, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023073b0
[2014/08/28 14:31:52.900772, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353934372F31
[2014/08/28 14:31:52.900993,  3] smbd/server_exit.c:181(exit_server_common)
  Server exit (termination signal)
[2014/08/28 14:31:53.877058,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:31:53.877125,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:31:53.877154,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:31:53.877183,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:31:53.877210,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:31:53.877237,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:31:53.877264, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:31:53.877290,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:31:53.877318,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:31:53.877345, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:31:53.877371, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:31:53.877397,  5] ../lib/util/util.c:415(dump_data)
  [0000] 11 92 00 17 EA F8 75 49                            ......uI 
[2014/08/28 14:31:53.877435, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:31:53.877462, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:31:53.877490, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:31:53.877516,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:31:53.877546,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.877576,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.877603,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.877629,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.877655,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.877729, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:31:53.877758, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.877785, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.877812, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:31:53.877841,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.877874, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:31:53.877902, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.877929, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.877956,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.877992, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:31:53.878019, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.878047,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.878072,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.878097,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.878122,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.878147,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.878198, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.878229,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.878260, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:31:53.878289, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:31:53.878333,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.878359,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.878384,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.878409,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.878434,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.878476, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:31:53.878505,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.878534,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:31:53.878559,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:31:53.878624,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:31:53.878708,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:31:53.878738,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.878764,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.878789,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.878814,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.878839,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.878894,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.878922, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:31:53.878956,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:31:53.878984,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.879010,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.879035,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.879066,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.879091,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.879133, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.879161,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.879194, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:31:53.879220, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.879245, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.879271, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:31:53.879297,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.879325, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:31:53.879350, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.879377, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.879403,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.879430, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:31:53.879456, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.879482,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.879507,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.879532,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.879557,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.879582,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.879624, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.879653,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.879679, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:31:53.879706, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:31:53.879746, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:31:53.879778,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.879807,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:31:53.879850,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:31:53.879880,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:31:53 2014
  )
[2014/08/28 14:31:53.879915,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.879940,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.879971,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.879997,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.880021,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.880064, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:31:53.880093,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.880120,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.880145,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.880170,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.880195,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.880220,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.880259,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:31:53.880284,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:31:53.880310,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:31:53.880339,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.880364,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.880389,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.880414,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.880439,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.880482, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:31:53.880517,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.880543,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.880569,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.880594,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.880619,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.880643,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.880684, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:31:53.880713,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.880741,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:31:53.880766,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:31:53.880792,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:31:53.880835, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:31:53.880965,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:31:53.880992,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881018,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881049,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881075,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.881100,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.881146,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881173, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:31:53.881212,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:31:53.881238,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881263,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881289,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881314,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.881339,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.881385,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881412, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:31:53.881450,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:31:53.881476,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881502,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881527,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881553,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.881578,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.881624,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881651, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:31:53.881689,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:31:53.881715,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881740,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881766,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881791,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.881816,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.881861,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.881888, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:31:53.881929,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:31:53.881955,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.881980,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882005,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882031,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.882056,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.882107,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882134, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:31:53.882172,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:31:53.882198,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882224,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882249,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882274,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.882299,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.882344,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882371, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:31:53.882410,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:31:53.882435,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882461,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882486,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882511,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.882536,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.882582,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882609, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:31:53.882647,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:31:53.882672,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882698,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882723,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882748,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.882773,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.882819,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882846, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:31:53.882884,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:31:53.882909,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882935,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.882960,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.882986,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.883011,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.883056,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883088, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:31:53.883127,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:31:53.883152,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883178,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883203,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883228,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.883253,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.883298,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883325, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:31:53.883363,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:31:53.883389,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883415,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883440,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883465,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.883490,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.883535,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883562, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:31:53.883600,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:31:53.883626,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883651,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883677,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883702,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.883727,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.883772,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883799, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:31:53.883837,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:31:53.883863,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883889,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.883914,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.883939,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.883964,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.884009,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884036, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:31:53.884076,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:31:53.884101,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884132,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884158,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884183,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.884208,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.884254,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884281, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:31:53.884319,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:31:53.884344,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884370,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884395,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884421,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.884445,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.884496,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884525, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:31:53.884563,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:31:53.884589,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884614,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884640,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884665,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.884690,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.884735,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884762, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:31:53.884800,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:31:53.884826,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884851,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.884877,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.884902,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.884927,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.884972,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885002, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:31:53.885037,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:31:53.885067,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.885095,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:31:53.885126,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885152,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.885177,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885202,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.885226,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.885268,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.885294,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:31:53.885319,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:31:53.885349, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:31:53.885398, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:31:53.885426,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885451,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.885476,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885502,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.885526,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.885573,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.885599, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:31:53.885626,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885651,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.885676,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885702,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.885727,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.885790, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:31:53.885818,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.885844,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885869,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.885895,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.885919,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.885965,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.885991, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:31:53.886023,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:31:53.886052,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.886091, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:31:53.886118,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886150,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.886175,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886200,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.886225,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.886271,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.886297, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:31:53.886324,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886349,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.886374,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886399,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.886424,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.886478, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:31:53.886505,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.886531,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886556,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.886581,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.886606,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.886652,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886678, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:31:53.886709,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:31:53.886736,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.886763,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886788,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.886813,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.886838,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.886863,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.887027,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.887061,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:31:53.887105,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:31:53.887137,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:31:53.887168,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:31:53.887200,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:31:53.887236,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:31:53.887268,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:31:53.887299,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:31:53.887330,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:31:53.887361,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:31:53.887392,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:31:53.887423,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:31:53.887454,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:31:53.887485,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:31:53.887516,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:31:53.887547,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:31:53.887578,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:31:53.887609,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:31:53.887640,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:31:53.887671,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:31:53.887702,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:31:53.887742,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:31:53.887773,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:31:53.887867, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:31:53.887895,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.887922,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.887947,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.887972,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.887997,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.888036,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:31:53.888065,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.888090,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.888115,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.888140,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.888165,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.888204,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.888230,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:31:53.888255,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.888286,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.888311,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.888353, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:31:53.888381,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.888409,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.888434,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:31:53.888459,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.888498,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.888525,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.888567, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.888596,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.888627, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:31:53.888653, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.888678, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.888704, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:31:53.888730,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.888760, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:31:53.888785, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.888812, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.888838,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.888866, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:31:53.888892, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.888918,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.888944,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:31:53.888969,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.888994,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.889019,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.889061, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.889089,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.889116, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:31:53.889144, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:31:53.889183, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:31:53.889221,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.889249,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:31:53.889274,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:31:53.889301,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:31:53.889329,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.889355,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:31:53.889384,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.889410,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.889435,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.889460,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.889485,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.889524,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:31:53.889550,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.889575,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.889601,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.889626,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.889650,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.889690,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.889716,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:31:53.889741,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.889766,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.889791,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.889833, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:31:53.889861,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.889888,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.889914,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:31:53.889939,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.889964,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.889989,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.890030, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.890059,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.890088, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:31:53.890114, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.890145, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.890171, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:31:53.890197,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.890225, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:31:53.890251, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.890277, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.890303,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.890331, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:31:53.890357, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.890383,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.890409,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:31:53.890434,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.890459,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.890483,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.890525, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.890554,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.890580, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:31:53.890608, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:31:53.890650, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:31:53.890680,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.890709,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:31:53.890734,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:31:53.890760,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:31:53.890788,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.890814, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:31:53.890844,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.890870,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.890895,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.890920,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.890945,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.890984,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:31:53.891010,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.891041,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891067,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.891092,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.891117,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.891163,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:31:53.891201,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891227,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:31:53.891254,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.891280, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:31:53.891308,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891334,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.891359,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891384,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.891409,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.891447,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:31:53.891473,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.891499,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891524,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.891549,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.891573,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.891616,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:31:53.891652,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891678,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:31:53.891708,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.891734, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:31:53.891761,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891787,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.891812,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.891837,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.891862,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.891907,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.891933, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:31:53.891959, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:31:53.891990,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.892016,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.892041,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.892067,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.892091,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.892138,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.892164, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:31:53.892191, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:31:53.892217,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.892243,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.892268,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.892293,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.892318,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.892364,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.892390, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:31:53.892416, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:31:53.892443, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:31:53.892473, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:31:53.892507, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:31:53.892534, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:31:53.892564, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:31:53.892905, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:31:53.893128, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:31:53.893155, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:31:53.893186, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:31:53.893216,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:31:53.893241,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:31:53.893383, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:31:53.893411,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:31:53.893436,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:31:53.893470, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353938372F31
[2014/08/28 14:31:53.893513, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d1ac0
[2014/08/28 14:31:53.893553, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353938372F31
[2014/08/28 14:31:53.893601,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:31:53.893628,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:31:53.893653,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:31:53.893679,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:31:53.893705,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:31:53.893760,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:31:53.893787, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:31:53.893815,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:31:53.893855,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:31:53.893923,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.893938,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=20928
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:31:53.894122, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:31:53.894869, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:31:53.894941,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:31:53.894999,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:31:53.895050,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.895065,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=20992
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:31:53.895254, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:31:53.895313,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15987) conn 0x0
[2014/08/28 14:31:53.895339,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.895365,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.895389,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.895428,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:31:53.895461,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:31:53.895498,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:31:53.895529,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:31:53.895562,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:31:53.895590, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:31:53.895616, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:31:53.895643,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.895669,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.895694,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.895719,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.895744,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.895794, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:31:53.895821, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.895847, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.895872, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:31:53.895899,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.895928, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:31:53.895954, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.895981, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.896007,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.896035, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:31:53.896061, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.896088,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.896114,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.896139,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.896165,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.896189,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.896238, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.896267,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.896294, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:31:53.896322, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:31:53.896361,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.896387,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.896412,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.896437,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.896462,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.896512, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:31:53.896540,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.896567,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:31:53.896592,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:31:53.896619,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:31:53.896651,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:31:53.896678,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.896704,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.896729,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.896754,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.896779,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.896821, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.896849,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.896879, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:31:53.896906, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.896931, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.896957, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:31:53.896983,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.897011, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:31:53.897037, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.897064, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.897090,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.897117, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:31:53.897149, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.897176,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.897202,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.897227,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.897252,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.897277,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.897319, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.897348,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.897374, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:31:53.897402, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:31:53.897442, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:31:53.897476,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.897507,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:31:53.897566,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:31:53.897593,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:31:53.897643, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:31:53.897669, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:31:53.897695,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.897721,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.897746,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.897772,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.897796,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.897842,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.897871, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:31:53.897896, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:31:53.897956, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:31:53.897993,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:31:53.898019,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:31:53.898045,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:31:53.898075, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:31:53.898102,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:31:53.898141, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:31:53.898177, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:31:53.898205,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:31:53.898234, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:31:53.898260,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:31:53.898287, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:31:53.898313,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:31:53.898338,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:31:53.898363, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:31:53.898402,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:31:53.898468, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 733E0000FFFFFFFF320E
[2014/08/28 14:31:53.898500, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:31:53.898547, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 733E0000FFFFFFFF320E
[2014/08/28 14:31:53.898650, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:31:53.898682,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:31:53.898709, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:31:53.898734, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:31:53.898760,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.898786,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.898811,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.898836,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.898861,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.898906, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:31:53.898933, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.898959, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.898984, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:31:53.899010,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.899039, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:31:53.899065, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.899091, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.899117,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.899145, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:31:53.899171, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.899197,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.899223,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.899253,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.899278,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.899303,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.899345, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.899373,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.899400, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:31:53.899427, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:31:53.899467,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.899493,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.899518,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.899543,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.899568,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.899610, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:31:53.899638,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.899665,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:31:53.899690,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:31:53.899716,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:31:53.899748,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:31:53.899775,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.899800,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.899826,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.899851,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.899875,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.899917, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.899946,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.899975, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:31:53.900002, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.900027, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.900052, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:31:53.900079,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.900106, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:31:53.900132, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.900159, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.900191,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.900218, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:31:53.900245, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.900271,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.900297,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.900322,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.900347,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.900371,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.900413, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.900442,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.900468, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:31:53.900513, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:31:53.900554, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:31:53.900588,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.900619,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:31:53.900646,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:31:53.900671,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:31:53.900704, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:31:53.900729, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:31:53.900755,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.900780,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.900806,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.900831,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.900855,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.900901,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.900930, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:31:53.900955, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:31:53.901005, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:31:53.901033, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:31:53.901066, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:31:53.901098, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:31:53.901139,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.901167,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:31:53.901505,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:31:53.901735,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:31:53.901763,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.901789,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.901814,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.901853,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:31:53.901890, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:31:53.901918,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15987)
[2014/08/28 14:31:53.901952,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:31:53.902277, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 110
[2014/08/28 14:31:53.902346,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6e
[2014/08/28 14:31:53.902405,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 114 (0 toread)
[2014/08/28 14:31:53.902459,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.902474,  5] lib/util.c:342(show_msg)
  size=110
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21056
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 6144 (0x1800)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=35072 (0x8900)
  smb_vwv[ 8]=  512 (0x200)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=27
[2014/08/28 14:31:53.902871, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 64 00 65 00 73   00 6B 00 74 00 6F 00 70   .\.d.e.s .k.t.o.p
  [0010] 00 2E 00 69 00 6E 00 69   00 00 00                 ...i.n.i ...
[2014/08/28 14:31:53.902935,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:53.902963,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.902990,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:31:53.903329,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:31:53.903558,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:31:53.903587,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:31:53.903622, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 root_dir_fid = 0x0, fname = desktop.ini
[2014/08/28 14:31:53.903657,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "desktop.ini"
[2014/08/28 14:31:53.903686, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [DESKTOP.INI]
[2014/08/28 14:31:53.903712,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = desktop.ini, dirpath = , start = desktop.ini
[2014/08/28 14:31:53.903744, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled desktop.ini ?
[2014/08/28 14:31:53.903770, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component desktop.ini (len 11) ?
[2014/08/28 14:31:53.903797, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled desktop.ini ?
[2014/08/28 14:31:53.903822, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component desktop.ini (len 11) ?
[2014/08/28 14:31:53.903883, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled desktop.ini ?
[2014/08/28 14:31:53.903911, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component desktop.ini (len 11) ?
[2014/08/28 14:31:53.903936,  5] smbd/filename.c:781(unix_convert)
  New file desktop.ini
[2014/08/28 14:31:53.903961,  8] lib/util.c:1320(is_in_path)
  is_in_path: desktop.ini
[2014/08/28 14:31:53.903989,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.904017, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = desktop.ini
[2014/08/28 14:31:53.904051, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = desktop.ini
[2014/08/28 14:31:53.904092,  5] smbd/files.c:140(file_new)
  allocated file structure 6650, fnum = 10746 (1 used)
[2014/08/28 14:31:53.904123, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/desktop.ini hash 0xd79f131a
[2014/08/28 14:31:53.904153,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(desktop.ini) returning 0744
[2014/08/28 14:31:53.904180, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=desktop.ini, dos_attrs=0x0 access_mask=0x20089 share_access=0x7 create_disposition = 0x1 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:31:53.904212,  5] smbd/open.c:1732(open_file_ntcreate)
  open_file_ntcreate: FILE_OPEN requested for file desktop.ini and file doesn't exist.
[2014/08/28 14:31:53.904238,  5] smbd/files.c:482(file_free)
  freed files structure 10746 (0 used)
[2014/08/28 14:31:53.904264, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:31:53.904291, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:31:53.904319,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(161) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:31:53.904346,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.904360,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21056
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:31:53.904509, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:31:53.904537, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 76
[2014/08/28 14:31:53.904565,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4c
[2014/08/28 14:31:53.904591,  3] smbd/process.c:1662(process_smb)
  Transaction 5 of length 80 (0 toread)
[2014/08/28 14:31:53.904620,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.904635,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21121
  smt_wct=15
  smb_vwv[ 0]=    8 (0x8)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    8 (0x8)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=11
[2014/08/28 14:31:53.904933, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 00 00                 ........ ...
[2014/08/28 14:31:53.904968,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:53.904995,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:53.905026,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:31:53.905054,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:31:53.905081,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:31:53.905106,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:31:53.905132,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.905160, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:31:53.905211, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.905242,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 14:31:53.905272,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = -1) level=1004 max_data=40
[2014/08/28 14:31:53.905306,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:53.905332, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:53.905360, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:53.905457,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:31:53.905486,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.905514,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.905540,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.905565,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.905590,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.905656,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.905683,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:31:53.905708,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.905733,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.905758,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.905807, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:31:53.905834, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:31:53.905860, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:31:53.905886, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:31:53.905913,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.905942, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:31:53.905968, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:31:53.905995, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:31:53.906021,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:31:53.906049, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:31:53.906075, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:31:53.906102,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.906127,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:31:53.906152,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:31:53.906177,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.906202,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.906245, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:31:53.906273,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:31:53.906300, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:31:53.906327, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:31:53.906373,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.906404,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.906430, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:31:53.906476,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:31:53.906501,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.906530,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:31:53.906556,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:31:53.906581,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:53.906606,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:53.906654,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:53.906681, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:31:53.906713, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.906739, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.906770, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.906883, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.906966, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.907012, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.907065, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.907311, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.907337, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.907366, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.907448, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.907529, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.907580, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.907631, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.907874, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.907900, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.907925, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.907951, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.907976, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.908001, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.908026, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.908052, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.908077, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.908102, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.908129, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.908154, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.908180, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.908213, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.908242,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.909950,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.909978,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.910009, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 14:31:53.910036,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu Aug 28 11:45:47 2014
   access: Thu Aug 28 11:45:48 2014
   write: Thu Aug 28 11:45:47 2014
   change: Thu Aug 28 11:45:47 2014
   mode: 10
[2014/08/28 14:31:53.910122,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 14:31:53.910150,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 14:31:53.910180,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.910195,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21121
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 14:31:53.910440, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 5C 1B FF   C0 CE C2 CF 01 24 A8 89   .....\.. .....$..
  [0010] C1 CE C2 CF 01 5C 1B FF   C0 CE C2 CF 01 5C 1B FF   .....\.. .....\..
  [0020] C0 CE C2 CF 01 10 00 00   00 00 00 00 00           ........ .....
[2014/08/28 14:31:53.910855, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 76
[2014/08/28 14:31:53.910932,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4c
[2014/08/28 14:31:53.910991,  3] smbd/process.c:1662(process_smb)
  Transaction 6 of length 80 (0 toread)
[2014/08/28 14:31:53.911044,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.911058,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21185
  smt_wct=15
  smb_vwv[ 0]=    8 (0x8)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    8 (0x8)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=11
[2014/08/28 14:31:53.911357, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 00 00                 ........ ...
[2014/08/28 14:31:53.911393,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:53.911420,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:53.911447,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 14:31:53.911475,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:31:53.911503,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:31:53.911528,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:31:53.911554,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.911583, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:31:53.911619, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.911645,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 14:31:53.911672,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = -1) level=1005 max_data=24
[2014/08/28 14:31:53.911699,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:53.911724, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:53.911750, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:53.911790, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.911817, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.911846, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.911940, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.912024, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.912070, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.912124, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.912369, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.912395, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.912424, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.912531, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.912625, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.912677, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.912735, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.913008, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.913038, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.913067, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.913096, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.913125, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.913154, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.913183, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.913211, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.913245, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.913274, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.913304, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.913333, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.913361, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.913396, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.913427,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.915327,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.915357,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.915391, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:31:53.915421,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:31:53.915450,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:31:53.915479,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.915495,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21185
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:31:53.915771, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:31:53.916547, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:31:53.916618,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:31:53.916676,  3] smbd/process.c:1662(process_smb)
  Transaction 7 of length 90 (0 toread)
[2014/08/28 14:31:53.916705,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.916721,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21249
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:31:53.917163, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:31:53.917205,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:53.917236,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:53.917266, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:31:53.917298,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:31:53.917329,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:31:53.917357,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:31:53.917386,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.917415, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:31:53.917448, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:31:53.917483,  5] smbd/files.c:140(file_new)
  allocated file structure 6651, fnum = 10747 (1 used)
[2014/08/28 14:31:53.917515, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:31:53.917545,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:31:53.917574, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:31:53.917605,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:53.917634, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:53.917663, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:53.917706, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.917736, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.917769, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.917865, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.917958, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.918010, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.918071, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.918350, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.918381, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.918413, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.918505, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.918597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.918649, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.918707, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.918979, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.919008, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.919037, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.919065, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.919094, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.919122, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.919151, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.919179, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.919207, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.919236, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.919265, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.919293, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.919321, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.919355, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.919386,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.921293,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.921330,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.921362, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:31:53.921401, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:53.921440, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d9a80
[2014/08/28 14:31:53.921469, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:31:53.921501, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:53.921544, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:53.921576, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ed2d0
[2014/08/28 14:31:53.921608, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:31:53.921638,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:31:53.921672, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:31:53.921705, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:31:53.921737, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:31:53.921768, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:53.921805,  5] smbd/files.c:482(file_free)
  freed files structure 10747 (0 used)
[2014/08/28 14:31:53.921835,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:31:53.921867, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:53.921909, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.921938, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.921971, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.922066, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.922159, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.922211, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.922272, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.922547, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.922583, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.922616, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.922709, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.922801, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.922852, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.922910, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.923183, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.923213, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.923242, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.923270, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.923299, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.923328, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.923356, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.923385, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.923413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.923442, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.923471, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.923500, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.923529, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.923564, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:31:53.923597,  5] smbd/files.c:140(file_new)
  allocated file structure 6652, fnum = 10748 (1 used)
[2014/08/28 14:31:53.923630, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:31:53.923661, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:31:53.923697, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:53.923730, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ed2d0
[2014/08/28 14:31:53.923763, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:31:53.923818, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5301, type= 0x0, gen_id = 4283767560, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:53.923851, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:53.923888, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:31:53.923916, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:31:53.923946,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:53.923975, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:53.924004, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:53.924047, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.924076, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.924109, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.924204, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.924298, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.924350, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.924411, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.924699, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.924725, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.924754, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.924839, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.924922, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.924969, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.925021, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.925271, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.925298, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.925323, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.925349, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.925375, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.925400, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.925426, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.925451, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.925476, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.925502, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.925528, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.925554, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.925579, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.925611, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.925639,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.927329,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.927356,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.927387, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:53.927428, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5301, type= 0x0, gen_id = 4283767560, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:53.927460,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10748, open name = .
[2014/08/28 14:31:53.927875, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:31:53.927946,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:31:53.928005,  3] smbd/process.c:1662(process_smb)
  Transaction 8 of length 76 (0 toread)
[2014/08/28 14:31:53.928059,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.928073,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21313
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:31:53.928377, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 FC 29 ED 03                              ....).. 
[2014/08/28 14:31:53.928412,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:53.928438,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:53.928466,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:31:53.928504, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:53.928546, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5301, type= 0x0, gen_id = 4283767560, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:53.928574, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:31:53.928600,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10748) level=1005 call=7 total_data=0
[2014/08/28 14:31:53.928627,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10748) level=1005 max_data=24
[2014/08/28 14:31:53.928653,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:53.928679, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:53.928705, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:53.928743, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.928769, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.928798, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.928884, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.928967, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.929013, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.929066, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.929317, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.929344, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.929372, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.929454, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.929536, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.929582, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.929632, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.929874, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.929901, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.929926, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.929952, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.929977, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.930002, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.930028, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.930053, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.930078, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.930104, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.930130, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.930155, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.930180, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.930211, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.930238,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.931926,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.931961,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.931990, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:31:53.932016,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:31:53.932042,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:31:53.932067,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.932082,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21313
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:31:53.932328, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:31:53.932800, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:31:53.932871,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:31:53.932929,  3] smbd/process.c:1662(process_smb)
  Transaction 9 of length 90 (0 toread)
[2014/08/28 14:31:53.932984,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.932999,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21377
  smt_wct=15
  smb_vwv[ 0]=   18 (0x12)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   18 (0x12)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=21
[2014/08/28 14:31:53.933301, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 06   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 2A 00 00 00                                    .*... 
[2014/08/28 14:31:53.933356,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:53.933383,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:53.933415,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:31:53.933446,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "*"
[2014/08/28 14:31:53.933473, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [*]
[2014/08/28 14:31:53.933499,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = *, dirpath = , start = *
[2014/08/28 14:31:53.933526, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled * ?
[2014/08/28 14:31:53.933551, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component * (len 1) ?
[2014/08/28 14:31:53.933577,  5] smbd/filename.c:609(unix_convert)
  Wildcard *
[2014/08/28 14:31:53.933602,  8] lib/util.c:1320(is_in_path)
  is_in_path: *
[2014/08/28 14:31:53.933628,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.933654,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = *
[2014/08/28 14:31:53.933682,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:31:53.933707,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:31:53.933739,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.933771,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:31:53.933798,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = *, attr = 22
[2014/08/28 14:31:53.933824,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:31:53.933856,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 0
[2014/08/28 14:31:53.933889,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./.
[2014/08/28 14:31:53.933914, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./.
[2014/08/28 14:31:53.933940, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./.
[2014/08/28 14:31:53.933978, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.934004, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.934034, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.934119, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.934201, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.934247, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.934300, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.934544, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.934570, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.934599, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.934680, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.934762, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.934807, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.934858, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.935105, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.935131, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.935157, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.935182, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.935208, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.935233, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.935258, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.935284, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.935309, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.935335, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.935361, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.935387, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.935412, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.935443, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./. access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.935470,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.937181,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.937209,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.937241, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:53.937283, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5301, type= 0x0, gen_id = 4283767560, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:53.937311,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./. fname=. (.)
[2014/08/28 14:31:53.937343, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:31:53.937371, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.937400,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 2147483648
[2014/08/28 14:31:53.937432,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./..
[2014/08/28 14:31:53.937457, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./..
[2014/08/28 14:31:53.937489, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./..
[2014/08/28 14:31:53.937537, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.937563, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.937593, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.937636, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.937681, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.937778, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.937804, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.937829, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.937859, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./.. access_mask 0x2, access_granted 0x2 access DENIED
[2014/08/28 14:31:53.937887,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-1000
          group_sid                : *
              group_sid                : S-1-22-2-0
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0058 (88)
                  num_aces                 : 0x00000003 (3)
                  aces: ARRAY(3)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-1000
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:53.938827,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning rd
[2014/08/28 14:31:53.938853,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning rd
[2014/08/28 14:31:53.938887, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.938913,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./.. fname=.. (..)
[2014/08/28 14:31:53.938941, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16288
[2014/08/28 14:31:53.938966, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.939008,  8] lib/util.c:1320(is_in_path)
  is_in_path: ifr4000api
[2014/08/28 14:31:53.939036,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.939062,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 1326613943226569051
[2014/08/28 14:31:53.939099,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./ifr4000api
[2014/08/28 14:31:53.939125, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./ifr4000api
[2014/08/28 14:31:53.939152, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./ifr4000api
[2014/08/28 14:31:53.939189, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.939216, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.939250, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.939336, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.939419, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.939465, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.939519, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.939763, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.939789, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.939818, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.939901, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.939985, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.940031, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.940082, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.940349, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.940376, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.940402, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.940427, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.940453, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.940478, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.940511, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.940542, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.940568, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.940594, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.940619, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.940645, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.940671, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.940701, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./ifr4000api access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.940729,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.942424,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.942451,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.942487, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.942513,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./ifr4000api fname=ifr4000api (ifr4000api)
[2014/08/28 14:31:53.942541, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16188
[2014/08/28 14:31:53.942566, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.942595, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: ifr4000api -> 09CBB29E -> I2PUH0~E (cache=1)
[2014/08/28 14:31:53.942624,  8] lib/util.c:1320(is_in_path)
  is_in_path: desenvolvimento.ods
[2014/08/28 14:31:53.942652,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.942677,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 1873777085757434437
[2014/08/28 14:31:53.942709,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./desenvolvimento.ods
[2014/08/28 14:31:53.942735, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./desenvolvimento.ods
[2014/08/28 14:31:53.942761, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./desenvolvimento.ods
[2014/08/28 14:31:53.942796, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.942822, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.942852, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.942937, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.943019, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.943065, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.943124, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.943368, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.943395, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.943420, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.943446, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.943472, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.943503, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./desenvolvimento.ods access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.943531,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:53.944846,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:31:53.944873,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:31:53.944906, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.944932,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./desenvolvimento.ods fname=desenvolvimento.ods (desenvolvimento.ods)
[2014/08/28 14:31:53.944961, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16072
[2014/08/28 14:31:53.944986, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.945014, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: desenvolvimento.ods -> 4A7AAE59 -> DKNYA1~L.ODS (cache=1)
[2014/08/28 14:31:53.945042,  8] lib/util.c:1320(is_in_path)
  is_in_path: qt
[2014/08/28 14:31:53.945069,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.945095,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 3466375090685372007
[2014/08/28 14:31:53.945126,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./qt
[2014/08/28 14:31:53.945151, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./qt
[2014/08/28 14:31:53.945178, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./qt
[2014/08/28 14:31:53.945215, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.945241, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.945270, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.945358, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.945441, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.945487, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.945540, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.945784, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.945810, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.945839, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.945921, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.946009, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.946055, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.946106, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.946352, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.946380, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.946406, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.946431, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.946456, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.946482, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.946507, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.946532, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.946558, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.946583, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.946609, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.946634, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.946660, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.946690, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./qt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.946717,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.948405,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.948432,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.948464, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.948504,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./qt fname=qt (qt)
[2014/08/28 14:31:53.948532, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15940
[2014/08/28 14:31:53.948558, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.948591,  8] lib/util.c:1320(is_in_path)
  is_in_path: _perm_swhw.txt
[2014/08/28 14:31:53.948620,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.948645,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 3766525309980287308
[2014/08/28 14:31:53.948677,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./_perm_swhw.txt
[2014/08/28 14:31:53.948703, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./_perm_swhw.txt
[2014/08/28 14:31:53.948729, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./_perm_swhw.txt
[2014/08/28 14:31:53.948764, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.948790, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.948819, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.948904, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.948987, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.949033, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.949087, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.949331, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.949357, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.949383, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.949408, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.949434, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.949463, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./_perm_swhw.txt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.949490,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:53.950807,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:31:53.950833,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:31:53.950867, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.950893,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./_perm_swhw.txt fname=_perm_swhw.txt (_perm_swhw.txt)
[2014/08/28 14:31:53.950921, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15840
[2014/08/28 14:31:53.950946, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.950974, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: _perm_swhw.txt -> 727C7FA0 -> _VRKL9~C.TXT (cache=1)
[2014/08/28 14:31:53.951002,  8] lib/util.c:1320(is_in_path)
  is_in_path: transfer_implementation
[2014/08/28 14:31:53.951030,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.951056,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 4610918656141973045
[2014/08/28 14:31:53.951088,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./transfer_implementation
[2014/08/28 14:31:53.951114, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./transfer_implementation
[2014/08/28 14:31:53.951140, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./transfer_implementation
[2014/08/28 14:31:53.951178, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.951204, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.951233, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.951321, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.951410, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.951456, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.951510, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.951754, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.951780, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.951809, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.951891, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.951973, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.952019, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.952070, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.952317, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.952343, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.952369, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.952395, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.952420, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.952445, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.952471, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.952504, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.952530, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.952565, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.952591, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.952616, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.952642, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.952672, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./transfer_implementation access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.952700,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.954380,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.954407,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.954441, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.954467,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./transfer_implementation fname=transfer_implementation (transfer_implementation)
[2014/08/28 14:31:53.954496, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15716
[2014/08/28 14:31:53.954521, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.954548, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: transfer_implementation -> 5B6C61A1 -> TPD7AG~1 (cache=1)
[2014/08/28 14:31:53.954577,  8] lib/util.c:1320(is_in_path)
  is_in_path: vbNet
[2014/08/28 14:31:53.954604,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.954630,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 4914252885672520885
[2014/08/28 14:31:53.954661,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vbNet
[2014/08/28 14:31:53.954687, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vbNet
[2014/08/28 14:31:53.954713, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vbNet
[2014/08/28 14:31:53.954751, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.954776, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.954806, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.954892, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.954974, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.955021, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.955075, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.955326, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.955352, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.955380, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.955463, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.955545, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.955591, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.955643, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.955886, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.955913, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.955939, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.955964, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.955990, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.956015, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.956040, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.956066, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.956091, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.956116, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.956142, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.956167, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.956193, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.956224, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vbNet access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.956258,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.957949,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.957976,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.958009, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.958035,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vbNet fname=vbNet (vbNet)
[2014/08/28 14:31:53.958062, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15576
[2014/08/28 14:31:53.958087, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.958115,  8] lib/util.c:1320(is_in_path)
  is_in_path: arduino
[2014/08/28 14:31:53.958142,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.958167,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 6544795716341418082
[2014/08/28 14:31:53.958199,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./arduino
[2014/08/28 14:31:53.958225, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./arduino
[2014/08/28 14:31:53.958251, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./arduino
[2014/08/28 14:31:53.958288, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.958314, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.958344, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.958428, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.958511, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.958557, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.958611, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.958856, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.958881, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.958910, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.958998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.959080, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.959126, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.959177, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.959422, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.959449, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.959475, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.959501, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.959526, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.959551, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.959577, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.959602, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.959627, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.959653, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.959679, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.959704, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.959729, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.959759, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./arduino access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.959786,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.961488,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.961515,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.961549, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.961576,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./arduino fname=arduino (arduino)
[2014/08/28 14:31:53.961609, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15472
[2014/08/28 14:31:53.961634, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.961662,  8] lib/util.c:1320(is_in_path)
  is_in_path: Projects
[2014/08/28 14:31:53.961689,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.961715,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 7143319802496336475
[2014/08/28 14:31:53.961746,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./Projects
[2014/08/28 14:31:53.961772, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./Projects
[2014/08/28 14:31:53.961799, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./Projects
[2014/08/28 14:31:53.961836, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.961863, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.961892, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.961977, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.962060, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.962106, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.962160, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.962405, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.962432, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.962460, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.962543, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.962625, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.962670, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.962724, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.962982, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.963008, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.963034, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.963059, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.963084, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.963110, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.963135, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.963160, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.963185, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.963210, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.963236, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.963261, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.963287, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.963316, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./Projects access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.963343,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.965026,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.965053,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.965088, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.965114,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./Projects fname=Projects (Projects)
[2014/08/28 14:31:53.965142, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15364
[2014/08/28 14:31:53.965167, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.965194,  8] lib/util.c:1320(is_in_path)
  is_in_path: oldstuff
[2014/08/28 14:31:53.965222,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.965247,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 7447130304878394688
[2014/08/28 14:31:53.965279,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./oldstuff
[2014/08/28 14:31:53.965304, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./oldstuff
[2014/08/28 14:31:53.965336, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./oldstuff
[2014/08/28 14:31:53.965374, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.965400, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.965429, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.965514, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.965597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.965643, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.965697, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.965941, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.965968, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.965996, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.966078, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.966161, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.966207, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.966259, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.966503, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.966529, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.966555, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.966580, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.966611, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.966637, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.966662, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.966688, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.966713, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.966738, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.966764, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.966789, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.966815, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.966846, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./oldstuff access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.966874,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.968568,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.968595,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.968628, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.968654,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./oldstuff fname=oldstuff (oldstuff)
[2014/08/28 14:31:53.968681, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15252
[2014/08/28 14:31:53.968706, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.968734,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:31:53.968761,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.968787,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 8621927871385405211
[2014/08/28 14:31:53.968818,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:31:53.968843, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:31:53.968870, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:31:53.968905, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.968931, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:53.968960, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.969050, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.969133, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:31:53.969184, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.969238, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:53.969482, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.969509, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.969534, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.969560, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:53.969585, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:53.969615, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.969642,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:53.970955,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:31:53.970982,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:31:53.971014, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.971041,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./version.h fname=version.h (version.h)
[2014/08/28 14:31:53.971068, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15140
[2014/08/28 14:31:53.971094, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.971121,  8] lib/util.c:1320(is_in_path)
  is_in_path: multiplat
[2014/08/28 14:31:53.971149,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.971174,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 9068357591037410268
[2014/08/28 14:31:53.971206,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./multiplat
[2014/08/28 14:31:53.971232, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./multiplat
[2014/08/28 14:31:53.971258, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./multiplat
[2014/08/28 14:31:53.971296, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.971322, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.971352, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.971439, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.971522, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.971568, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.971622, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.971867, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.971893, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.971922, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.972010, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.972108, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.972155, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.972207, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.972453, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.972480, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.972527, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.972553, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.972579, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.972605, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.972630, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.972655, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.972681, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.972706, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.972732, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.972758, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.972784, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.972816, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./multiplat access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.972844,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.974539,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.974566,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.974597, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.974623,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./multiplat fname=multiplat (multiplat)
[2014/08/28 14:31:53.974651, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15028
[2014/08/28 14:31:53.974684, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.974713, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: multiplat -> 000750A3 -> M00A9W~J (cache=1)
[2014/08/28 14:31:53.974741,  8] lib/util.c:1320(is_in_path)
  is_in_path: vb
[2014/08/28 14:31:53.974768,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.974793,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 9138440113335672255
[2014/08/28 14:31:53.974825,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vb
[2014/08/28 14:31:53.974850, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vb
[2014/08/28 14:31:53.974877, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vb
[2014/08/28 14:31:53.974914, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.974940, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.974970, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.975057, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.975140, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.975186, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.975240, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.975486, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:53.975512, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.975541, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.975623, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.975705, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.975751, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.975803, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:53.976051, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.976078, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.976103, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.976128, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.976154, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.976179, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.976204, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.976229, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.976254, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.976280, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:53.976305, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:53.976331, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:53.976356, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:53.976386, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vb access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.976414,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:53.978101,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:53.978128,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:53.978160, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.978186,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vb fname=vb (vb)
[2014/08/28 14:31:53.978214, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14916
[2014/08/28 14:31:53.978239, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.978267,  8] lib/util.c:1320(is_in_path)
  is_in_path: v
[2014/08/28 14:31:53.978294,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:53.978319,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 9223372036854775807
[2014/08/28 14:31:53.978350,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./v
[2014/08/28 14:31:53.978375, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./v
[2014/08/28 14:31:53.978402, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./v
[2014/08/28 14:31:53.978442, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:53.978468, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:53.978497, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.978585, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:53.978668, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:31:53.978714, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:31:53.978768, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:53.979016, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.979042, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:53.979067, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:53.979093, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:53.979118, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:53.979148, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./v access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:53.979175,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:53.980494,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:31:53.980522,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:31:53.980554, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:53.980580,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./v fname=v (v)
[2014/08/28 14:31:53.980608, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14816
[2014/08/28 14:31:53.980633, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:53.980661,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset -1
[2014/08/28 14:31:53.980687,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:31:53.980713,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:31:53.980750,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 1664, useable_space = 131010
[2014/08/28 14:31:53.980776,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 1664, paramsize = 10, datasize = 1664
[2014/08/28 14:31:53.980801,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.980816,  5] lib/util.c:342(show_msg)
  size=1732
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21377
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]= 1664 (0x680)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]= 1664 (0x680)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=1677
[2014/08/28 14:31:53.981060, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 0F 00 01 00 00   00 20 06 00 00 60 00 00   ........ . ...`..
  [0010] 00 00 00 00 00 5C 1B FF   C0 CE C2 CF 01 24 A8 89   .....\.. .....$..
  [0020] C1 CE C2 CF 01 5C 1B FF   C0 CE C2 CF 01 5C 1B FF   .....\.. .....\..
  [0030] C0 CE C2 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0040] 00 00 00 00 00 10 00 00   00 02 00 00 00 00 00 00   ........ ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 2E 00 64 00 00   ........ .....d..
  [0070] 00 00 00 00 00 D1 F7 C5   F5 FF C1 CF 01 E8 5B BF   ........ ......[.
  [0080] 22 CB C2 CF 01 D1 F7 C5   F5 FF C1 CF 01 D1 F7 C5   "....... ........
  [0090] F5 FF C1 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00A0] 00 00 00 00 00 11 00 00   00 04 00 00 00 00 00 00   ........ ........
  [00B0] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00C0] 00 00 00 00 00 00 00 00   00 00 00 2E 00 2E 00 00   ........ ........
  [00D0] 00 74 00 00 00 00 00 00   00 00 EE 95 D3 FB B0 CC   .t...... ........
  [00E0] 01 87 E6 12 ED CC C2 CF   01 00 EE 95 D3 FB B0 CC   ........ ........
  [00F0] 01 00 EE 95 D3 FB B0 CC   01 00 00 00 00 00 00 00   ........ ........
  [0100] 00 00 00 00 00 00 00 00   00 10 00 00 00 14 00 00   ........ ........
  [0110] 00 00 00 00 00 10 00 49   00 32 00 50 00 55 00 48   .......I .2.P.U.H
  [0120] 00 30 00 7E 00 45 00 00   00 00 00 00 00 00 00 69   .0.~.E.. .......i
  [0130] 00 66 00 72 00 34 00 30   00 30 00 30 00 61 00 70   .f.r.4.0 .0.0.a.p
  [0140] 00 69 00 00 00 84 00 00   00 00 00 00 00 F4 9D 8A   .i...... ........
  [0150] F7 6D AD CE 01 86 8F 4D   3D 07 C2 CF 01 F4 9D 8A   .m.....M =.......
  [0160] F7 6D AD CE 01 F4 9D 8A   F7 6D AD CE 01 0F 4B 00   .m...... .m....K.
  [0170] 00 00 00 00 00 00 00 10   00 00 00 00 00 80 00 00   ........ ........
  [0180] 00 26 00 00 00 00 00 00   00 18 00 44 00 4B 00 4E   .&...... ...D.K.N
  [0190] 00 59 00 41 00 31 00 7E   00 4C 00 2E 00 4F 00 44   .Y.A.1.~ .L...O.D
  [01A0] 00 53 00 64 00 65 00 73   00 65 00 6E 00 76 00 6F   .S.d.e.s .e.n.v.o
  [01B0] 00 6C 00 76 00 69 00 6D   00 65 00 6E 00 74 00 6F   .l.v.i.m .e.n.t.o
  [01C0] 00 2E 00 6F 00 64 00 73   00 64 00 00 00 00 00 00   ...o.d.s .d......
  [01D0] 00 1B A8 98 88 B8 C2 CF   01 86 E8 65 ED CC C2 CF   ........ ...e....
  [01E0] 01 1B A8 98 88 B8 C2 CF   01 1B A8 98 88 B8 C2 CF   ........ ........
  [01F0] 01 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[2014/08/28 14:31:53.981769,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=* directory=. dirtype=22 numentries=15
[2014/08/28 14:31:53.981799, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: * -> 0A877AA5 -> _2X68P~X (cache=1)
[2014/08/28 14:31:53.983487, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:31:53.983558,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:31:53.983617,  3] smbd/process.c:1662(process_smb)
  Transaction 10 of length 45 (0 toread)
[2014/08/28 14:31:53.983671,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.983686,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=21441
  smt_wct=3
  smb_vwv[ 0]=10748 (0x29FC)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:31:53.983859, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:31:53.983875,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:53.983902,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:53.983931,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10748
[2014/08/28 14:31:53.983962, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:53.983992, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:31:53.984018, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:53.984060, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5301, type= 0x0, gen_id = 4283767560, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:53.984089, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:31:53.984117, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:53.984151, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:31:53.984178, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:31:53.984212,  5] smbd/files.c:482(file_free)
  freed files structure 10748 (0 used)
[2014/08/28 14:31:53.984239,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:53.984254,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=21441
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:31:53.984395, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:31:54.842924, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:31:54.843025,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:31:54.843086,  3] smbd/process.c:1662(process_smb)
  Transaction 11 of length 88 (0 toread)
[2014/08/28 14:31:54.843144,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:54.843176,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21505
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=    3 (0x3)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=10630 (0x2986)
  smb_vwv[22]=    1 (0x1)
  smb_bcc=3
[2014/08/28 14:31:54.844031, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:31:54.844108,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:54.844168,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:54.844234, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 14:31:54.844297, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 14:31:54.844355, 10] ../lib/util/util.c:415(dump_data)
  [0000] 03 00 00 00 86 29 01 00                            .....).. 
[2014/08/28 14:31:54.844436,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 14:31:54.844518,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(1718) cmd=160 (SMBnttrans) NT_STATUS_INVALID_HANDLE
[2014/08/28 14:31:54.844581,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:54.844615,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa0
  smb_rcls=8
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21505
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:31:54.844933, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:31:55.842284, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:31:55.842364,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:31:55.842423,  3] smbd/process.c:1662(process_smb)
  Transaction 12 of length 90 (0 toread)
[2014/08/28 14:31:55.842480,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.842513,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21569
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:31:55.843407, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 00 00                                          ... 
[2014/08/28 14:31:55.843481,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.843541,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.843603, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:31:55.843668,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:31:55.843731,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:31:55.843786,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:31:55.843845,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.843903, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:31:55.843969, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:31:55.844038,  5] smbd/files.c:140(file_new)
  allocated file structure 6653, fnum = 10749 (1 used)
[2014/08/28 14:31:55.844103, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:31:55.844162,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:31:55.844220, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:31:55.844283,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:55.844341, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:55.844398, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.844507, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.844572, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.844639, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.844835, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.845021, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.845124, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.845244, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.845806, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.845865, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.845930, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.846115, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.846298, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.846401, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.846516, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.847057, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.847117, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.847175, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.847232, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.847289, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.847347, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.847404, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.847461, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.847518, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.847575, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.847634, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.847692, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.847749, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.847818, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.847889,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.851698,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.851758,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.851818, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:31:55.851890, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:55.851959, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d7ab0
[2014/08/28 14:31:55.852017, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:31:55.852078, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:55.852162, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:55.852227, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902302af0
[2014/08/28 14:31:55.852287, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:31:55.852346,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:31:55.852411, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:31:55.852473, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:31:55.852548, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:31:55.852610, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:55.852683,  5] smbd/files.c:482(file_free)
  freed files structure 10749 (0 used)
[2014/08/28 14:31:55.852742,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:31:55.852806, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.852888, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.852946, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.853012, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.853203, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.853388, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.853493, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.853614, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.854179, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.854238, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.854303, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.854488, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.854673, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.854776, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.854893, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.855442, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.855503, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.855561, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.855619, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.855677, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.855734, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.855792, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.855849, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.855906, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.855964, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.856022, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.856081, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.856138, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.856208, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:31:55.856273,  5] smbd/files.c:140(file_new)
  allocated file structure 6654, fnum = 10750 (1 used)
[2014/08/28 14:31:55.856349, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:31:55.856414, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:31:55.856514, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:55.856585, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ed2d0
[2014/08/28 14:31:55.856648, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:31:55.856728, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.856758, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:55.856791, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:31:55.856817, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:31:55.856843,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:55.856869, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:55.856895, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.856932, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.856958, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.856987, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.857072, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.857155, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.857202, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.857256, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.857501, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.857528, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.857557, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.857639, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.857721, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.857772, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.857825, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.858068, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.858094, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.858120, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.858146, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.858172, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.858197, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.858223, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.858249, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.858274, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.858300, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.858326, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.858352, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.858378, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.858408, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.858435,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.860119,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.860146,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.860176, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:55.860217, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.860248,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10750, open name = .
[2014/08/28 14:31:55.860665, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:31:55.860738,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:31:55.860797,  3] smbd/process.c:1662(process_smb)
  Transaction 13 of length 76 (0 toread)
[2014/08/28 14:31:55.860849,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.860863,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21633
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    8 (0x8)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:31:55.861163, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 FE 29 EE 03                              ....).. 
[2014/08/28 14:31:55.861198,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.861224,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.861252,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2014/08/28 14:31:55.861284, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:55.861325, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.861352, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:31:55.861377,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10750) level=1006 call=7 total_data=0
[2014/08/28 14:31:55.861404,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10750) level=1006 max_data=8
[2014/08/28 14:31:55.861431,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:55.861457, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:55.861482, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.861519, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.861546, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.861575, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.861661, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.861744, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.861790, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.861843, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.862094, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.862121, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.862149, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.862231, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.862313, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.862359, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.862409, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.862670, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.862697, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.862722, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.862748, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.862773, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.862799, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.862824, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.862849, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.862875, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.862900, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.862926, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.862951, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.862977, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.863007, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.863040,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.864728,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.864755,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.864785, 10] smbd/trans2.c:4621(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_INTERNAL_INFORMATION
[2014/08/28 14:31:55.864812,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 8, useable_space = 131010
[2014/08/28 14:31:55.864838,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 8, paramsize = 2, datasize = 8
[2014/08/28 14:31:55.864864,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.864878,  5] lib/util.c:342(show_msg)
  size=68
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21633
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    8 (0x8)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=13
[2014/08/28 14:31:55.865124, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 01 00 94   00 00 00 00 00           ........ .....
[2014/08/28 14:31:55.866264, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:31:55.866333,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:31:55.866391,  3] smbd/process.c:1662(process_smb)
  Transaction 14 of length 76 (0 toread)
[2014/08/28 14:31:55.866447,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.866461,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21697
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:31:55.866761, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 FE 29 ED 03                              ....).. 
[2014/08/28 14:31:55.866795,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.866821,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.866848,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:31:55.866882, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:55.866923, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.866950, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:31:55.866976,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10750) level=1005 call=7 total_data=0
[2014/08/28 14:31:55.867008,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10750) level=1005 max_data=24
[2014/08/28 14:31:55.867035,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:55.867061, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:55.867087, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.867125, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.867151, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.867180, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.867266, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.867349, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.867395, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.867448, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.867693, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.867720, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.867748, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.867830, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.867912, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.867958, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.868009, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.868251, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.868283, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.868309, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.868334, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.868359, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.868385, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.868410, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.868435, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.868460, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.868500, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.868529, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.868554, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.868580, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.868611, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.868638,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.870325,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.870351,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.870381, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:31:55.870407,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:31:55.870433,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:31:55.870459,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.870473,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21697
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:31:55.870719, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:31:55.871133, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:31:55.871202,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:31:55.871261,  3] smbd/process.c:1662(process_smb)
  Transaction 15 of length 90 (0 toread)
[2014/08/28 14:31:55.871317,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.871332,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21761
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:31:55.871734, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:31:55.871767,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.871793,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.871822, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 14:31:55.871850,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:31:55.871878,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:31:55.871902,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:31:55.871929,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.871955, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:31:55.871985, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:31:55.872014,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:31:55.872042, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.872079, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.872106, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.872135, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.872220, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.872303, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.872349, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.872402, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.872661, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.872687, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.872716, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.872798, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.872879, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.872925, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.872976, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.873217, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.873243, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.873269, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.873294, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.873320, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.873345, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.873370, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.873396, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.873421, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.873446, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.873472, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.873498, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.873523, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.873554, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 14:31:55.873583,  5] smbd/files.c:140(file_new)
  allocated file structure 6655, fnum = 10751 (2 used)
[2014/08/28 14:31:55.873617, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:31:55.873646, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:31:55.873678, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:55.873709, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea070
[2014/08/28 14:31:55.873735, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:31:55.873776, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.873803, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:31:55.873829, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:31:55.873855, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x100001, share_access = 0x7
[2014/08/28 14:31:55.873880, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:31:55.873906, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:31:55.873931, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x100001) & right (0x6) = 0x0
[2014/08/28 14:31:55.873957, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:31:55.873982, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:31:55.874007, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:31:55.874033, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x100001) & right (0x21) = 0x1
[2014/08/28 14:31:55.874058, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:31:55.874083, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:31:55.874109, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:31:55.874134, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
[2014/08/28 14:31:55.874160, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:31:55.874185, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:31:55.874212, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:31:55.874251, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.874285, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.874313, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:55.874346, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:31:55.874372, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:31:55.874398,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:55.874429, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:55.874455, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.874492, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.874518, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.874547, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.874631, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.874714, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.874760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.874814, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.875073, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.875099, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.875128, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.875210, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.875292, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.875338, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.875390, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.875633, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.875660, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.875686, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.875717, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.875742, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.875768, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.875793, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.875818, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.875843, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.875869, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.875895, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.875920, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.875945, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.875976, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.876003,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.877694,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.877721,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.877752, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:31:55.877793, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.877826, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.877857,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10751, open name = .
[2014/08/28 14:31:55.878212, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:31:55.878282,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:31:55.878340,  3] smbd/process.c:1662(process_smb)
  Transaction 16 of length 88 (0 toread)
[2014/08/28 14:31:55.878396,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.878411,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21825
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=10751 (0x29FF)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:31:55.878799, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:31:55.878833,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.878859,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.878885, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 14:31:55.878913, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 14:31:55.878939, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 FF 29 00 00                            .....).. 
[2014/08/28 14:31:55.878973,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 14:31:55.879010,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 14:31:55.879045, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:31:55.879098, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d77c0
[2014/08/28 14:31:55.879142, 10] smbd/notify_internal.c:235(notify_load)
  notify_load:
[2014/08/28 14:31:55.879168,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       notify->array: struct notify_array
          num_depths               : 0x00000003 (3)
          depth: ARRAY(3)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000003 (3)
                  num_entries              : 0x00000001 (1)
                  entries: ARRAY(1)
                      entries: struct notify_entry
                          server: struct server_id
                              pid                      : 0x00003420 (13344)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x80f30b550c1b6b45 (9291782916098714437)
                          filter                   : 0x00000000 (0)
                          subdir_filter            : 0x00000003 (3)
                          dir_fd                   : 0x0000001c (28)
                          dir_id: struct file_id
                              devid                    : 0x0000000000000816 (2070)
                              inode                    : 0x0000000000000002 (2)
                              extid                    : 0x0000000000000000 (0)
                          path                     : '/shared/projects'
                          path_len                 : 0x00000010 (16)
                          private_data             : 0x7fc9022d14a0
[2014/08/28 14:31:55.879612, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 1
[2014/08/28 14:31:55.879640, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:31:55.879671, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 14:31:55.916809, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:31:55.916847,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:31:55.916874,  3] smbd/process.c:1662(process_smb)
  Transaction 17 of length 76 (0 toread)
[2014/08/28 14:31:55.916903,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.916917,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21888
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:31:55.917214, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 FE 29 ED 03                              ....).. 
[2014/08/28 14:31:55.917249,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.917276,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.917304,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:31:55.917339, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:31:55.917381, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.917416, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.917443, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:31:55.917469,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10750) level=1005 call=7 total_data=0
[2014/08/28 14:31:55.917496,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10750) level=1005 max_data=24
[2014/08/28 14:31:55.917522,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:31:55.917548, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:31:55.917574, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:31:55.917614, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.917641, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.917670, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.917758, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.917841, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.917887, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.917948, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.918197, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.918223, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.918252, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.918334, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.918417, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.918463, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.918514, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.918760, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.918787, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.918812, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.918838, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.918864, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.918889, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.918915, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.918940, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.918966, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.918991, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.919017, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.919043, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.919075, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.919106, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.919134,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.920852,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.920879,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.920909, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:31:55.920936,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:31:55.920962,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:31:55.920988,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.921003,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21888
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:31:55.921253, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:31:55.921668, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:31:55.921699,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:31:55.921726,  3] smbd/process.c:1662(process_smb)
  Transaction 18 of length 90 (0 toread)
[2014/08/28 14:31:55.921751,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.921766,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21952
  smt_wct=15
  smb_vwv[ 0]=   18 (0x12)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   18 (0x12)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=21
[2014/08/28 14:31:55.922067, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 06   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 2A 00 00 00                                    .*... 
[2014/08/28 14:31:55.922122,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.922149,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.922177,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:31:55.922207,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "*"
[2014/08/28 14:31:55.922234, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [*]
[2014/08/28 14:31:55.922260,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = *, dirpath = , start = *
[2014/08/28 14:31:55.922293, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled * ?
[2014/08/28 14:31:55.922319, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component * (len 1) ?
[2014/08/28 14:31:55.922345,  5] smbd/filename.c:609(unix_convert)
  Wildcard *
[2014/08/28 14:31:55.922369,  8] lib/util.c:1320(is_in_path)
  is_in_path: *
[2014/08/28 14:31:55.922396,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.922422,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = *
[2014/08/28 14:31:55.922449,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:31:55.922474,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:31:55.922500,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.922534,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:31:55.922561,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = *, attr = 22
[2014/08/28 14:31:55.922587,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:31:55.922617,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 0
[2014/08/28 14:31:55.922648,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./.
[2014/08/28 14:31:55.922673, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./.
[2014/08/28 14:31:55.922700, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./.
[2014/08/28 14:31:55.922738, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.922764, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.922793, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.922879, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.922961, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.923007, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.923061, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.923317, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.923344, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.923373, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.923456, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.923544, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.923591, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.923643, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.923885, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.923911, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.923937, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.923963, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.923989, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.924014, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.924040, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.924065, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.924090, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.924116, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.924142, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.924168, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.924193, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.924224, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./. access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.924252,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.925949,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.925976,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.926009, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:31:55.926051, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.926090, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.926118,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./. fname=. (.)
[2014/08/28 14:31:55.926149, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:31:55.926175, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.926204,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 2147483648
[2014/08/28 14:31:55.926236,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./..
[2014/08/28 14:31:55.926261, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./..
[2014/08/28 14:31:55.926288, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./..
[2014/08/28 14:31:55.926323, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.926349, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.926379, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.926422, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.926467, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.926563, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.926589, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.926615, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.926644, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./.. access_mask 0x2, access_granted 0x2 access DENIED
[2014/08/28 14:31:55.926671,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-1000
          group_sid                : *
              group_sid                : S-1-22-2-0
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0058 (88)
                  num_aces                 : 0x00000003 (3)
                  aces: ARRAY(3)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-1000
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:55.927622,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning rd
[2014/08/28 14:31:55.927650,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning rd
[2014/08/28 14:31:55.927682, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.927708,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./.. fname=.. (..)
[2014/08/28 14:31:55.927736, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16288
[2014/08/28 14:31:55.927762, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.927810,  8] lib/util.c:1320(is_in_path)
  is_in_path: ifr4000api
[2014/08/28 14:31:55.927839,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.927865,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 1326613943226569051
[2014/08/28 14:31:55.927897,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./ifr4000api
[2014/08/28 14:31:55.927923, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./ifr4000api
[2014/08/28 14:31:55.927950, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./ifr4000api
[2014/08/28 14:31:55.927987, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.928013, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.928043, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.928128, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.928211, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.928258, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.928312, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.928579, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.928606, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.928635, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.928719, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.928802, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.928849, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.928901, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.929155, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.929182, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.929208, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.929234, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.929259, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.929285, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.929311, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.929337, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.929362, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.929388, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.929414, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.929440, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.929466, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.929496, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./ifr4000api access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.929524,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.931235,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.931263,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.931295, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.931321,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./ifr4000api fname=ifr4000api (ifr4000api)
[2014/08/28 14:31:55.931349, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16188
[2014/08/28 14:31:55.931374, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.931402, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: ifr4000api -> 09CBB29E -> I2PUH0~E (cache=1)
[2014/08/28 14:31:55.931432,  8] lib/util.c:1320(is_in_path)
  is_in_path: desenvolvimento.ods
[2014/08/28 14:31:55.931460,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.931486,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 1873777085757434437
[2014/08/28 14:31:55.931519,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./desenvolvimento.ods
[2014/08/28 14:31:55.931545, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./desenvolvimento.ods
[2014/08/28 14:31:55.931572, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./desenvolvimento.ods
[2014/08/28 14:31:55.931614, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.931641, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.931670, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.931757, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.931842, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.931889, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.931943, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.932188, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.932214, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.932240, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.932265, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.932291, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.932321, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./desenvolvimento.ods access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.932349,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:55.933682,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:31:55.933708,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:31:55.933740, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.933766,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./desenvolvimento.ods fname=desenvolvimento.ods (desenvolvimento.ods)
[2014/08/28 14:31:55.933795, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16072
[2014/08/28 14:31:55.933821, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.933848, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: desenvolvimento.ods -> 4A7AAE59 -> DKNYA1~L.ODS (cache=1)
[2014/08/28 14:31:55.933877,  8] lib/util.c:1320(is_in_path)
  is_in_path: qt
[2014/08/28 14:31:55.933905,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.933930,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 3466375090685372007
[2014/08/28 14:31:55.933962,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./qt
[2014/08/28 14:31:55.933988, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./qt
[2014/08/28 14:31:55.934015, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./qt
[2014/08/28 14:31:55.934052, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.934079, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.934108, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.934194, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.934277, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.934324, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.934378, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.934633, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.934660, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.934689, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.934772, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.934855, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.934901, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.934953, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.935200, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.935227, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.935252, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.935278, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.935303, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.935328, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.935366, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.935392, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.935417, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.935443, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.935469, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.935495, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.935521, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.935554, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./qt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.935582,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.937291,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.937318,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.937350, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.937376,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./qt fname=qt (qt)
[2014/08/28 14:31:55.937404, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15940
[2014/08/28 14:31:55.937430, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.937458,  8] lib/util.c:1320(is_in_path)
  is_in_path: _perm_swhw.txt
[2014/08/28 14:31:55.937487,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.937512,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 3766525309980287308
[2014/08/28 14:31:55.937544,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./_perm_swhw.txt
[2014/08/28 14:31:55.937570, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./_perm_swhw.txt
[2014/08/28 14:31:55.937597, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./_perm_swhw.txt
[2014/08/28 14:31:55.937632, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.937658, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.937687, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.937772, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.937856, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.937902, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.937956, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.938202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.938229, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.938254, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.938286, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.938312, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.938341, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./_perm_swhw.txt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.938369,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:55.939688,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:31:55.939714,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:31:55.939745, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.939771,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./_perm_swhw.txt fname=_perm_swhw.txt (_perm_swhw.txt)
[2014/08/28 14:31:55.939799, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15840
[2014/08/28 14:31:55.939824, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.939851, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: _perm_swhw.txt -> 727C7FA0 -> _VRKL9~C.TXT (cache=1)
[2014/08/28 14:31:55.939880,  8] lib/util.c:1320(is_in_path)
  is_in_path: transfer_implementation
[2014/08/28 14:31:55.939920,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.939952,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 4610918656141973045
[2014/08/28 14:31:55.939986,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./transfer_implementation
[2014/08/28 14:31:55.940012, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./transfer_implementation
[2014/08/28 14:31:55.940039, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./transfer_implementation
[2014/08/28 14:31:55.940078, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.940104, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.940134, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.940223, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.940307, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.940353, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.940408, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.940672, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.940699, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.940728, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.940811, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.940894, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.940941, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.940992, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.941246, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.941273, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.941299, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.941325, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.941351, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.941376, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.941402, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.941427, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.941452, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.941478, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.941504, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.941530, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.941556, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.941588, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./transfer_implementation access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.941618,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.943322,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.943349,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.943380, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.943406,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./transfer_implementation fname=transfer_implementation (transfer_implementation)
[2014/08/28 14:31:55.943435, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15716
[2014/08/28 14:31:55.943461, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.943488, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: transfer_implementation -> 5B6C61A1 -> TPD7AG~1 (cache=1)
[2014/08/28 14:31:55.943517,  8] lib/util.c:1320(is_in_path)
  is_in_path: vbNet
[2014/08/28 14:31:55.943544,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.943570,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 4914252885672520885
[2014/08/28 14:31:55.943602,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vbNet
[2014/08/28 14:31:55.943628, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vbNet
[2014/08/28 14:31:55.943655, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vbNet
[2014/08/28 14:31:55.943693, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.943719, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.943755, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.943841, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.943925, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.943972, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.944026, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.944272, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.944298, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.944327, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.944421, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.944512, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.944559, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.944611, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.944859, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.944886, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.944911, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.944937, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.944962, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.944987, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.945019, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.945044, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.945070, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.945095, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.945122, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.945147, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.945173, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.945206, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vbNet access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.945234,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.946933,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.946960,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.946992, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.947018,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vbNet fname=vbNet (vbNet)
[2014/08/28 14:31:55.947045, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15576
[2014/08/28 14:31:55.947071, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.947099,  8] lib/util.c:1320(is_in_path)
  is_in_path: arduino
[2014/08/28 14:31:55.947127,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.947152,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 6544795716341418082
[2014/08/28 14:31:55.947184,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./arduino
[2014/08/28 14:31:55.947210, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./arduino
[2014/08/28 14:31:55.947236, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./arduino
[2014/08/28 14:31:55.947274, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.947301, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.947330, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.947416, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.947500, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.947547, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.947607, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.947857, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.947883, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.947912, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.947995, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.948097, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.948153, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.948206, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.948453, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.948480, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.948518, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.948544, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.948570, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.948596, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.948622, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.948647, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.948673, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.948699, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.948725, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.948751, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.948777, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.948815, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./arduino access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.948843,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.950534,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.950561,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.950592, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.950619,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./arduino fname=arduino (arduino)
[2014/08/28 14:31:55.950647, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15472
[2014/08/28 14:31:55.950686, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.950715,  8] lib/util.c:1320(is_in_path)
  is_in_path: Projects
[2014/08/28 14:31:55.950744,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.950769,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 7143319802496336475
[2014/08/28 14:31:55.950801,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./Projects
[2014/08/28 14:31:55.950827, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./Projects
[2014/08/28 14:31:55.950854, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./Projects
[2014/08/28 14:31:55.950893, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.950919, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.950949, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.951036, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.951120, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.951167, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.951221, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.951468, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.951494, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.951529, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.951613, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.951696, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.951742, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.951794, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.952041, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.952068, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.952093, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.952119, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.952145, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.952171, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.952196, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.952221, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.952247, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.952272, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.952299, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.952324, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.952350, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.952381, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./Projects access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.952408,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.954136,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.954164,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.954197, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.954229,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./Projects fname=Projects (Projects)
[2014/08/28 14:31:55.954257, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15364
[2014/08/28 14:31:55.954283, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.954311,  8] lib/util.c:1320(is_in_path)
  is_in_path: oldstuff
[2014/08/28 14:31:55.954339,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.954365,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 7447130304878394688
[2014/08/28 14:31:55.954397,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./oldstuff
[2014/08/28 14:31:55.954423, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./oldstuff
[2014/08/28 14:31:55.954449, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./oldstuff
[2014/08/28 14:31:55.954489, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.954516, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.954545, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.954633, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.954716, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.954762, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.954816, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.955064, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.955090, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.955119, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.955202, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.955285, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.955331, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.957902, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.958161, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.958188, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.958214, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.958239, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.958265, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.958291, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.958317, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.958342, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.958368, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.958393, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.958419, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.958445, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.958471, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.958503, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./oldstuff access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.958531,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.960228,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.960255,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.960287, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.960313,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./oldstuff fname=oldstuff (oldstuff)
[2014/08/28 14:31:55.960342, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15252
[2014/08/28 14:31:55.960368, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.960397,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:31:55.960425,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.960451,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 8621927871385405211
[2014/08/28 14:31:55.960483,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:31:55.960522, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:31:55.960549, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:31:55.960590, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.960617, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:55.960647, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.960736, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.960820, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:31:55.960867, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.960921, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:55.961167, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.961194, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.961220, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.961245, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:55.961271, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:55.961301, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.961328,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:55.962655,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:31:55.962682,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:31:55.962713, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.962739,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./version.h fname=version.h (version.h)
[2014/08/28 14:31:55.962767, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15140
[2014/08/28 14:31:55.962793, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.962821,  8] lib/util.c:1320(is_in_path)
  is_in_path: multiplat
[2014/08/28 14:31:55.962849,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.962874,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 9068357591037410268
[2014/08/28 14:31:55.962906,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./multiplat
[2014/08/28 14:31:55.962932, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./multiplat
[2014/08/28 14:31:55.962959, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./multiplat
[2014/08/28 14:31:55.962997, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.963023, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.963052, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.963140, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.963224, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.963271, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.963325, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.963578, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.963605, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.963634, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.963717, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.963800, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.963846, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.963898, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.964146, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.964173, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.964198, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.964224, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.964249, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.964275, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.964300, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.964325, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.964351, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.964376, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.964402, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.964428, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.964454, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.964511, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./multiplat access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.964550,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.966252,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.966279,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.966310, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.966336,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./multiplat fname=multiplat (multiplat)
[2014/08/28 14:31:55.966364, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15028
[2014/08/28 14:31:55.966404, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.966434, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: multiplat -> 000750A3 -> M00A9W~J (cache=1)
[2014/08/28 14:31:55.966464,  8] lib/util.c:1320(is_in_path)
  is_in_path: vb
[2014/08/28 14:31:55.966492,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.966518,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 9138440113335672255
[2014/08/28 14:31:55.966550,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vb
[2014/08/28 14:31:55.966576, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vb
[2014/08/28 14:31:55.966602, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vb
[2014/08/28 14:31:55.966641, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.966667, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.966697, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.966790, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.966874, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.966921, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.966975, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.967223, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:31:55.967249, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.967284, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.967367, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.967450, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.967496, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.967547, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:31:55.967792, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.967819, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.967845, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.967871, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.967896, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.967922, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.967948, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.967973, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.967999, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.968024, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:31:55.968050, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:31:55.968076, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:31:55.968101, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:31:55.968132, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vb access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.968159,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:31:55.969876,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:31:55.969904,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:31:55.969935, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.969967,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vb fname=vb (vb)
[2014/08/28 14:31:55.969995, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14916
[2014/08/28 14:31:55.970020, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.970048,  8] lib/util.c:1320(is_in_path)
  is_in_path: v
[2014/08/28 14:31:55.970075,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:31:55.970101,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset 9223372036854775807
[2014/08/28 14:31:55.970132,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./v
[2014/08/28 14:31:55.970157, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./v
[2014/08/28 14:31:55.970184, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./v
[2014/08/28 14:31:55.970218, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:31:55.970244, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:55.970285, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.970376, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:31:55.970460, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:31:55.970507, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:31:55.970562, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:31:55.970808, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.970836, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:31:55.970862, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:31:55.970887, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:55.970913, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:31:55.970942, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./v access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:31:55.970970,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:31:55.972325,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:31:55.972352,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:31:55.972384, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:31:55.972410,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./v fname=v (v)
[2014/08/28 14:31:55.972438, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14816
[2014/08/28 14:31:55.972464, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:31:55.972500,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cd020 now at offset -1
[2014/08/28 14:31:55.972527,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:31:55.972553,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:31:55.972594,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 1664, useable_space = 131010
[2014/08/28 14:31:55.972620,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 1664, paramsize = 10, datasize = 1664
[2014/08/28 14:31:55.972646,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.972660,  5] lib/util.c:342(show_msg)
  size=1732
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21952
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]= 1664 (0x680)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]= 1664 (0x680)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=1677
[2014/08/28 14:31:55.972913, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 0F 00 01 00 00   00 20 06 00 00 60 00 00   ........ . ...`..
  [0010] 00 00 00 00 00 5C 1B FF   C0 CE C2 CF 01 24 A8 89   .....\.. .....$..
  [0020] C1 CE C2 CF 01 5C 1B FF   C0 CE C2 CF 01 5C 1B FF   .....\.. .....\..
  [0030] C0 CE C2 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0040] 00 00 00 00 00 10 00 00   00 02 00 00 00 00 00 00   ........ ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 2E 00 64 00 00   ........ .....d..
  [0070] 00 00 00 00 00 D1 F7 C5   F5 FF C1 CF 01 E8 5B BF   ........ ......[.
  [0080] 22 CB C2 CF 01 D1 F7 C5   F5 FF C1 CF 01 D1 F7 C5   "....... ........
  [0090] F5 FF C1 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00A0] 00 00 00 00 00 11 00 00   00 04 00 00 00 00 00 00   ........ ........
  [00B0] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00C0] 00 00 00 00 00 00 00 00   00 00 00 2E 00 2E 00 00   ........ ........
  [00D0] 00 74 00 00 00 00 00 00   00 00 EE 95 D3 FB B0 CC   .t...... ........
  [00E0] 01 87 E6 12 ED CC C2 CF   01 00 EE 95 D3 FB B0 CC   ........ ........
  [00F0] 01 00 EE 95 D3 FB B0 CC   01 00 00 00 00 00 00 00   ........ ........
  [0100] 00 00 00 00 00 00 00 00   00 10 00 00 00 14 00 00   ........ ........
  [0110] 00 00 00 00 00 10 00 49   00 32 00 50 00 55 00 48   .......I .2.P.U.H
  [0120] 00 30 00 7E 00 45 00 00   00 00 00 00 00 00 00 69   .0.~.E.. .......i
  [0130] 00 66 00 72 00 34 00 30   00 30 00 30 00 61 00 70   .f.r.4.0 .0.0.a.p
  [0140] 00 69 00 00 00 84 00 00   00 00 00 00 00 F4 9D 8A   .i...... ........
  [0150] F7 6D AD CE 01 86 8F 4D   3D 07 C2 CF 01 F4 9D 8A   .m.....M =.......
  [0160] F7 6D AD CE 01 F4 9D 8A   F7 6D AD CE 01 0F 4B 00   .m...... .m....K.
  [0170] 00 00 00 00 00 00 00 10   00 00 00 00 00 80 00 00   ........ ........
  [0180] 00 26 00 00 00 00 00 00   00 18 00 44 00 4B 00 4E   .&...... ...D.K.N
  [0190] 00 59 00 41 00 31 00 7E   00 4C 00 2E 00 4F 00 44   .Y.A.1.~ .L...O.D
  [01A0] 00 53 00 64 00 65 00 73   00 65 00 6E 00 76 00 6F   .S.d.e.s .e.n.v.o
  [01B0] 00 6C 00 76 00 69 00 6D   00 65 00 6E 00 74 00 6F   .l.v.i.m .e.n.t.o
  [01C0] 00 2E 00 6F 00 64 00 73   00 64 00 00 00 00 00 00   ...o.d.s .d......
  [01D0] 00 1B A8 98 88 B8 C2 CF   01 86 E8 65 ED CC C2 CF   ........ ...e....
  [01E0] 01 1B A8 98 88 B8 C2 CF   01 1B A8 98 88 B8 C2 CF   ........ ........
  [01F0] 01 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[2014/08/28 14:31:55.973617,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=* directory=. dirtype=22 numentries=15
[2014/08/28 14:31:55.973647, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: * -> 0A877AA5 -> _2X68P~X (cache=1)
[2014/08/28 14:31:55.974564, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:31:55.974638,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:31:55.974697,  3] smbd/process.c:1662(process_smb)
  Transaction 19 of length 45 (0 toread)
[2014/08/28 14:31:55.974751,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.974766,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22016
  smt_wct=3
  smb_vwv[ 0]=10750 (0x29FE)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:31:55.974939, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:31:55.974955,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:31:55.974982,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:31:55.975008,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10750
[2014/08/28 14:31:55.975038, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:31:55.975074, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fdd00
[2014/08/28 14:31:55.975101, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:31:55.975142, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x0, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.975176, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.975204, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:31:55.975230, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:31:55.975269, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]: UNUSED pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x40, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.975302, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:31:55.975332, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:31:55.975365, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:31:55.975393, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:31:55.975421,  5] smbd/files.c:482(file_free)
  freed files structure 10750 (1 used)
[2014/08/28 14:31:55.975448,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:55.975462,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22016
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:31:55.975603, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.803740, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:06.803830,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:06.803893,  3] smbd/process.c:1662(process_smb)
  Transaction 20 of length 90 (0 toread)
[2014/08/28 14:32:06.803955,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.803990,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22080
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=35072 (0x8900)
  smb_vwv[ 8]=  512 (0x200)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:32:06.804947, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:32:06.805040,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.805101,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.805163, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:06.805229,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:06.805292,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:06.805349,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:06.805409,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.805467, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:06.805533, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:06.805603,  5] smbd/files.c:140(file_new)
  allocated file structure 6656, fnum = 10752 (2 used)
[2014/08/28 14:32:06.805667, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:06.805726,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:32:06.805785, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x20089 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:06.805847,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.805905, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.805964, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.806053, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.806113, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.806179, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.806377, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.806564, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.806667, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.806788, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.807351, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.807411, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.807475, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.807661, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.807845, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.807947, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.808062, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.808624, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.808685, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.808743, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.808802, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.808860, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.808918, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.808976, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.809034, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.809092, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.809151, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.809210, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.809269, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.809327, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.809398, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.809460,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.813356,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.813419,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.813479, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x20089
[2014/08/28 14:32:06.813552, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.813621, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902303010
[2014/08/28 14:32:06.813681, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:32:06.813743, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.813828, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.813894, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023030e0
[2014/08/28 14:32:06.813953, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:32:06.814046, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x40, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.814123, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.814186, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.814246, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:32:06.814307, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x20089, share_access = 0x7
[2014/08/28 14:32:06.814365, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:32:06.814424, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:32:06.814483, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x20089) & right (0x6) = 0x0
[2014/08/28 14:32:06.814541, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:32:06.814600, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:32:06.814658, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:32:06.814717, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x20089) & right (0x21) = 0x1
[2014/08/28 14:32:06.814775, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:32:06.814833, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:32:06.814892, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:32:06.814950, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x20089) & right (0x10000) = 0x0
[2014/08/28 14:32:06.815008, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:32:06.815066, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:32:06.815124, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 14:32:06.815183,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x20089, open_access_mask = 0x20089
[2014/08/28 14:32:06.815259, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:32:06.815323, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:06.815385, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:06.815456, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.815530,  5] smbd/files.c:482(file_free)
  freed files structure 10752 (1 used)
[2014/08/28 14:32:06.815591,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x20089, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:06.815655, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.815740, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.815801, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.815868, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.816064, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.816252, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.816359, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.816482, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.817055, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.817115, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.817181, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.817368, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.817554, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.817659, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.817777, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.818347, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.818408, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.818467, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.818526, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.818584, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.818643, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.818701, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.818759, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.818817, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.818875, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.818935, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.818994, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.819052, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.819122, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x20089 returning 0x20009 (NT_STATUS_OK)
[2014/08/28 14:32:06.819190,  5] smbd/files.c:140(file_new)
  allocated file structure 6657, fnum = 10753 (2 used)
[2014/08/28 14:32:06.819256, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:06.819319, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:06.819392, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.819459, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902303bd0
[2014/08/28 14:32:06.819518, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:32:06.819610, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5441, type= 0x40, gen_id = 4283767562, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.819687, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.819748, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.819807, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:32:06.819868, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x20089, share_access = 0x7
[2014/08/28 14:32:06.819943, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:32:06.820003, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:32:06.820062, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x20089) & right (0x6) = 0x0
[2014/08/28 14:32:06.820120, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:32:06.820178, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:32:06.820236, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:32:06.820294, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x20089) & right (0x21) = 0x1
[2014/08/28 14:32:06.820352, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:32:06.820410, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:32:06.820468, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:32:06.820544, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x20089) & right (0x10000) = 0x0
[2014/08/28 14:32:06.820603, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:32:06.820661, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:32:06.820719, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:32:06.820809, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x5640, type= 0x0, gen_id = 4283767565, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.820885, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.820951, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.821025, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:06.821084, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:06.821144,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.821204, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.821264, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.821347, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.821407, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.821474, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.821666, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.821853, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.821958, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.822099, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.822654, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.822713, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.822778, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.822963, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.823148, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.823253, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.823370, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.823961, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.824023, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.824081, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.824139, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.824198, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.824256, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.824314, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.824372, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.824430, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.824516, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.824581, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.824640, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.824699, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.824746, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.824775,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.826489,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.826516,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.826548, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:32:06.826589, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x5640, type= 0x0, gen_id = 4283767565, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.826624, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.826655,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10753, open name = .
[2014/08/28 14:32:06.827096, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:06.827127,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:06.827154,  3] smbd/process.c:1662(process_smb)
  Transaction 21 of length 76 (0 toread)
[2014/08/28 14:32:06.827180,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.827204,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22144
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:06.827508, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 01 2A ED 03                              ....*.. 
[2014/08/28 14:32:06.827543,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.827570,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.827598,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:06.827630, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:32:06.827670, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x5640, type= 0x0, gen_id = 4283767565, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.827704, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.827738, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.827766,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10753) level=1005 call=7 total_data=0
[2014/08/28 14:32:06.827793,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10753) level=1005 max_data=24
[2014/08/28 14:32:06.827820,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.827846, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.827873, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.827910, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.827937, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.827967, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.828053, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.828137, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.828184, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.828238, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.828494, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.828523, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.828552, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.828636, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.828718, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.828765, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.828816, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.829069, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.829096, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.829122, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.829148, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.829174, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.829200, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.829225, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.829251, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.829277, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.829302, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.829329, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.829354, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.829380, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.829411, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.829439,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.831143,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.831169,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.831199, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:06.831237,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:06.831264,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:06.831290,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.831305,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22144
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:06.831555, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:06.831977, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:06.832008,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:06.832041,  3] smbd/process.c:1662(process_smb)
  Transaction 22 of length 45 (0 toread)
[2014/08/28 14:32:06.832067,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.832082,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22208
  smt_wct=3
  smb_vwv[ 0]=10753 (0x2A01)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:06.832257, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.832272,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.832299,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.832326,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10753
[2014/08/28 14:32:06.832357, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.832387, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fdd00
[2014/08/28 14:32:06.832414, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:32:06.832455, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x5640, type= 0x0, gen_id = 4283767565, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.832495, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.832525, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.832552, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:32:06.832592, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]: UNUSED pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x5640, type= 0x40, gen_id = 4283767565, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.832625, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.832654, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.832688, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:06.832716, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:06.832744,  5] smbd/files.c:482(file_free)
  freed files structure 10753 (1 used)
[2014/08/28 14:32:06.832771,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.832786,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22208
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:06.832928, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.833950, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 36
[2014/08/28 14:32:06.833982,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x24
[2014/08/28 14:32:06.834008,  3] smbd/process.c:1662(process_smb)
  Transaction 23 of length 40 (0 toread)
[2014/08/28 14:32:06.834034,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.834055,  5] lib/util.c:342(show_msg)
  size=36
  smb_com=0xa4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21825
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:06.834197, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.834213,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcancel (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.834240,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:06.834266,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:06.834291,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:06.834337,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:06.834369,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
[2014/08/28 14:32:06.834399,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.834414,  5] lib/util.c:342(show_msg)
  size=71
  smb_com=0xa0
  smb_rcls=32
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=21825
  smt_wct=18
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=    0 (0x0)
  smb_bcc=0
[2014/08/28 14:32:06.834746, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.834769,  3] smbd/nttrans.c:1348(reply_ntcancel)
  reply_ntcancel: cancel called on mid = 21825.
[2014/08/28 14:32:06.835107, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:06.835137,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:06.835163,  3] smbd/process.c:1662(process_smb)
  Transaction 24 of length 45 (0 toread)
[2014/08/28 14:32:06.835189,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.835204,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22273
  smt_wct=3
  smb_vwv[ 0]=10751 (0x29FF)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:06.835378, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.835393,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.835422,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:06.835449,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:06.835791,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:06.836028,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:06.836057,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10751
[2014/08/28 14:32:06.836088, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.836118, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddcb0
[2014/08/28 14:32:06.836145, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:32:06.836186, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x5640, type= 0x40, gen_id = 4283767565, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.836220, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5501, type= 0x0, gen_id = 4283767563, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.836248, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.836276, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.836309, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:06.836336, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:06.836371, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.836403, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022de3b0
[2014/08/28 14:32:06.836429, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.836462, 10] smbd/notify_inotify.c:358(watch_destructor)
  Deleting inotify watch 1
[2014/08/28 14:32:06.836512, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:32:06.836545, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d77c0
[2014/08/28 14:32:06.836573, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:32:06.836604,  5] smbd/files.c:482(file_free)
  freed files structure 10751 (0 used)
[2014/08/28 14:32:06.836631,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.836646,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22273
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:06.836795, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.836823, 10] smbd/notify_inotify.c:164(inotify_dispatch)
  inotify_dispatch called with mask=8000, name=[]
[2014/08/28 14:32:06.838177, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:06.838244,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:06.838303,  3] smbd/process.c:1662(process_smb)
  Transaction 25 of length 110 (0 toread)
[2014/08/28 14:32:06.838360,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.838374,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22337
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:06.838775, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:06.838832,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.838858,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.838886, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:06.838915,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:06.838942, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 14:32:06.838968,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 14:32:06.838999,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022ddd70:size 9) VERSION.H -> version.h
[2014/08/28 14:32:06.839025,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 14:32:06.839051,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:06.839078,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.839104, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:06.839134, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:06.839165,  5] smbd/files.c:140(file_new)
  allocated file structure 6658, fnum = 10754 (1 used)
[2014/08/28 14:32:06.839194, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:06.839220,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:06.839247, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:06.839275,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:06.839301, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:06.839327, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:06.839365, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.839391, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.839420, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.839515, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.839598, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.839645, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.839699, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.839943, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.839969, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.839995, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.840020, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.840046, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.840076, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.840103,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:06.841430,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:06.841458,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:06.841485,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:32:06.841512,  5] smbd/files.c:482(file_free)
  freed files structure 10754 (0 used)
[2014/08/28 14:32:06.841538, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.841564, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.841591,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.841617,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.841632,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22337
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:06.841773, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.842355, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:06.842424,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:06.842483,  3] smbd/process.c:1662(process_smb)
  Transaction 26 of length 110 (0 toread)
[2014/08/28 14:32:06.842539,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.842553,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22401
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:06.842949, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:06.843005,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.843031,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.843058, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:06.843087,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:06.843119, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:06.843148,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:06.843174,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.843200, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:06.843229, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:06.843260,  5] smbd/files.c:140(file_new)
  allocated file structure 6659, fnum = 10755 (1 used)
[2014/08/28 14:32:06.843288, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:06.843314,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:06.843341, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:06.843369,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:06.843394, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:06.843420, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:06.843455, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.843481, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.843511, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.843596, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.843679, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.843726, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.843780, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.844025, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.844051, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.844077, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.844108, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.844135, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.844164, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.844192,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:06.845539,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:06.845566,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:06.845593,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:32:06.845620,  5] smbd/files.c:482(file_free)
  freed files structure 10755 (0 used)
[2014/08/28 14:32:06.845647, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.845672, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.845699,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.845726,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.845741,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22401
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:06.845890, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.846442, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:06.846473,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:06.846499,  3] smbd/process.c:1662(process_smb)
  Transaction 27 of length 110 (0 toread)
[2014/08/28 14:32:06.846525,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.846540,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22465
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:06.846938, 10] ../lib/util/util.c:415(dump_data)
  [0000] CB 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:06.846995,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.847022,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.847049, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:06.847078,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:06.847105, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:06.847134,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:06.847161,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.847187, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:06.847216, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:06.847247,  5] smbd/files.c:140(file_new)
  allocated file structure 6660, fnum = 10756 (1 used)
[2014/08/28 14:32:06.847276, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:06.847303,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:06.847329, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:06.847358,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:06.847383, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:06.847410, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:06.847446, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.847479, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.847509, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.847597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.847681, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.847728, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.847782, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.848030, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.848057, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.848083, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.848108, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.848134, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.848164, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.848192,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:06.849696,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:06.849727,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:06.849757,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:32:06.849788,  5] smbd/files.c:482(file_free)
  freed files structure 10756 (0 used)
[2014/08/28 14:32:06.849818, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.849847, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.849877,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:06.849907,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.849924,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22465
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:06.850084, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.850615, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:32:06.850651,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:32:06.850680,  3] smbd/process.c:1662(process_smb)
  Transaction 28 of length 100 (0 toread)
[2014/08/28 14:32:06.850710,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.850726,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22529
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:32:06.851068, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:32:06.851136,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.851166,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.851196,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:32:06.851227,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:06.851258, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:06.851296,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:06.851327,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.851360, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:06.851395, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:06.851425,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 14:32:06.851456,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1004 max_data=40
[2014/08/28 14:32:06.851486,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:06.851515, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:06.851545, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:06.851584, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.851614, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.851647, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.851745, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.851839, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.851891, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.851952, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.852229, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.852259, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.852288, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.852317, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.852346, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.852380, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.852410,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:06.853921,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:06.853952,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:06.853987, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 14:32:06.854016,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu May 15 15:54:41 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu May 15 15:54:41 2014
   change: Thu May 15 15:54:41 2014
   mode: 20
[2014/08/28 14:32:06.854111,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 14:32:06.854140,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 14:32:06.854169,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.854186,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22529
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 14:32:06.854467, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 20 00 00   00 00 00 00 00            op.. .. .....
[2014/08/28 14:32:06.854861, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:32:06.854902,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:32:06.854932,  3] smbd/process.c:1662(process_smb)
  Transaction 29 of length 100 (0 toread)
[2014/08/28 14:32:06.854961,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.854978,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22593
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:32:06.855318, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:32:06.855384,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.855414,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.855445,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 14:32:06.855476,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:06.855507, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:06.855539,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:06.855570,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.855603, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:06.855637, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:06.855667,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 14:32:06.855697,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1005 max_data=24
[2014/08/28 14:32:06.855727,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:06.855757, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:06.855786, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:06.855826, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.855856, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.855889, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.855986, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.856079, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.856132, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.856192, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.856476, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.856520, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.856550, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.856580, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.856608, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.856642, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.856673,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:06.858178,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:06.858214,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:06.858249, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:06.858279,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:06.858309,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:06.858338,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.858354,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22593
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:06.858635, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 10   00 00 00 00 00 E3 30 00   ........ ......0.
  [0010] 00 00 00 00 00 01 00 00   00 00 00 00 00           ........ .....
[2014/08/28 14:32:06.859683, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:06.859717,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:06.859747,  3] smbd/process.c:1662(process_smb)
  Transaction 30 of length 90 (0 toread)
[2014/08/28 14:32:06.859776,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.859793,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22657
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:32:06.860246, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 00 00                                          ... 
[2014/08/28 14:32:06.860283,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.860314,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.860344, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:06.860377,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:06.860408,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:06.860437,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:06.860468,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.860516, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:06.860551, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:06.860595,  5] smbd/files.c:140(file_new)
  allocated file structure 6661, fnum = 10757 (1 used)
[2014/08/28 14:32:06.860625, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:06.860651,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:32:06.860677, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:06.860706,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.860732, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.860758, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.860796, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.860823, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.860852, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.860940, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.861023, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.861070, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.861124, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.861371, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.861398, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.861427, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.861510, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.861596, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.861642, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.861694, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.861944, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.861971, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.861997, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.862023, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.862049, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.862075, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.862101, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.862127, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.862153, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.862179, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.862205, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.862231, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.862257, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.862288, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.862316,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.864031,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.864059,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.864086, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:32:06.864119, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.864149, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d5e10
[2014/08/28 14:32:06.864176, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:32:06.864203, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.864241, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.864271, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023028b0
[2014/08/28 14:32:06.864298, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:32:06.864324,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:32:06.864354, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:32:06.864390, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:06.864418, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:06.864446, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.864479,  5] smbd/files.c:482(file_free)
  freed files structure 10757 (0 used)
[2014/08/28 14:32:06.864514,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:06.864542, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.864581, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.864608, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.864637, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.864740, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.864825, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.864873, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.864928, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.865176, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.865203, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.865232, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.865315, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.865398, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.865444, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.865496, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.865770, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.865797, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.865823, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.865850, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.865876, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.865902, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.865928, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.865953, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.865979, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.866005, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.866032, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.866058, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.866084, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.866116, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:32:06.866145,  5] smbd/files.c:140(file_new)
  allocated file structure 6662, fnum = 10758 (1 used)
[2014/08/28 14:32:06.866175, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:06.866203, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:06.866236, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.866266, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ee120
[2014/08/28 14:32:06.866294, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:32:06.866336, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5881, type= 0x0, gen_id = 4283767570, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.866365, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.866398, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:06.866424, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:06.866451,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.866477, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.866504, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.866541, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.866568, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.866597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.866689, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.866774, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.866821, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.866876, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.867126, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.867152, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.867181, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.867265, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.867349, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.867396, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.867448, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.867694, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.867721, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.867747, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.867773, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.867799, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.867825, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.867851, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.867882, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.867909, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.867935, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.867961, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.867987, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.868013, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.868043, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.868071,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.869799,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.869827,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.869858, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:06.869899, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5881, type= 0x0, gen_id = 4283767570, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.869930,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10758, open name = .
[2014/08/28 14:32:06.870273, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:06.870305,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:06.870331,  3] smbd/process.c:1662(process_smb)
  Transaction 31 of length 76 (0 toread)
[2014/08/28 14:32:06.870357,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.870372,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22721
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    8 (0x8)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:06.870676, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 06 2A EE 03                              ....*.. 
[2014/08/28 14:32:06.870712,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.870739,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.870767,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2014/08/28 14:32:06.870799, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:06.870839, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5881, type= 0x0, gen_id = 4283767570, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.870873, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.870900,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10758) level=1006 call=7 total_data=0
[2014/08/28 14:32:06.870927,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10758) level=1006 max_data=8
[2014/08/28 14:32:06.870954,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.870980, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.871007, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.871045, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.871072, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.871102, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.871189, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.871272, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.871319, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.871373, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.871621, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.871647, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.871676, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.871760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.871843, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.871889, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.871940, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.872193, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.872220, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.872246, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.872271, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.872297, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.872323, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.872349, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.872374, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.872400, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.872426, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.872452, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.872478, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.872522, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.872554, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.872582,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.874290,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.874317,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.874347, 10] smbd/trans2.c:4621(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_INTERNAL_INFORMATION
[2014/08/28 14:32:06.874375,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 8, useable_space = 131010
[2014/08/28 14:32:06.874401,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 8, paramsize = 2, datasize = 8
[2014/08/28 14:32:06.874427,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.874442,  5] lib/util.c:342(show_msg)
  size=68
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22721
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    8 (0x8)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=13
[2014/08/28 14:32:06.874690, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 01 00 94   00 00 00 00 00           ........ .....
[2014/08/28 14:32:06.875224, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:06.875261,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:06.875288,  3] smbd/process.c:1662(process_smb)
  Transaction 32 of length 76 (0 toread)
[2014/08/28 14:32:06.875314,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.875329,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22785
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:06.875631, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 06 2A ED 03                              ....*.. 
[2014/08/28 14:32:06.875665,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.875692,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.875719,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:06.875752, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:06.875794, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5881, type= 0x0, gen_id = 4283767570, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.875821, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.875848,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10758) level=1005 call=7 total_data=0
[2014/08/28 14:32:06.875875,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10758) level=1005 max_data=24
[2014/08/28 14:32:06.875901,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.875927, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.875954, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.875992, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.876018, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.876048, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.876135, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.876219, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.876266, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.876320, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.876585, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.876612, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.876641, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.876725, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.876808, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.876854, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.876906, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.877170, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.877197, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.877223, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.877249, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.877275, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.877301, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.877327, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.877353, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.877379, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.877405, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.877431, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.877457, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.877483, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.877514, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.877542,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.879261,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.879289,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.879319, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:06.879347,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:06.879373,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:06.879399,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.879414,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22785
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:06.879663, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:06.879988, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:06.880019,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:06.880045,  3] smbd/process.c:1662(process_smb)
  Transaction 33 of length 76 (0 toread)
[2014/08/28 14:32:06.880072,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.880086,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22849
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:06.880391, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 06 2A ED 03                              ....*.. 
[2014/08/28 14:32:06.880426,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.880453,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.880481,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:06.880523, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:06.880565, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5881, type= 0x0, gen_id = 4283767570, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.880593, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.880620,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10758) level=1005 call=7 total_data=0
[2014/08/28 14:32:06.880647,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10758) level=1005 max_data=24
[2014/08/28 14:32:06.880680,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.880707, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.880733, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.880772, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.880799, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.880829, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.880916, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.880999, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.881046, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.881100, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.881348, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.881375, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.881403, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.881486, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.881569, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.881615, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.881666, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.881912, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.881939, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.881971, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.881997, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.882023, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.882048, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.882074, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.882100, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.882126, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.882151, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.882178, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.882204, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.882230, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.882261, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.882289,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.884014,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.884041,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.884071, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:06.884098,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:06.884124,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:06.884151,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.884165,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22849
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:06.884416, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:06.884827, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:32:06.884860,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:32:06.884886,  3] smbd/process.c:1662(process_smb)
  Transaction 34 of length 106 (0 toread)
[2014/08/28 14:32:06.884912,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.884927,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22913
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:32:06.885234, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:32:06.885311,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.885338,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.885368,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:32:06.885399,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:06.885427, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:06.885456,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:06.885483,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.885510,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:32:06.885536,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:32:06.885562,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:06.885588,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.885619,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:32:06.885646,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:32:06.885672,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:32:06.885701,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:06.885728,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.885757,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cfbc0 now at offset -1
[2014/08/28 14:32:06.885784,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:32:06.885810, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:32:06.885837, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:32:06.885873, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.885900, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.885929, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.886016, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.886099, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.886146, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.886200, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:06.886452, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.886478, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.886504, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.886530, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.886556, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:06.886586, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.886613,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:06.887944,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:06.887972,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:06.888004, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:06.888030,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:32:06.888060, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:32:06.888086, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:32:06.888113,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:32:06.888140,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:32:06.888169,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:32:06.888195,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:32:06.888221,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.888236,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=22913
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:32:06.888491, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:32:06.888688,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:32:06.889004, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:06.889034,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:06.889061,  3] smbd/process.c:1662(process_smb)
  Transaction 35 of length 45 (0 toread)
[2014/08/28 14:32:06.889087,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.889102,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22977
  smt_wct=3
  smb_vwv[ 0]=10758 (0x2A06)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:06.889276, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.889291,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.889318,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.889344,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10758
[2014/08/28 14:32:06.889375, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.889406, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:32:06.889432, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:06.889478, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5881, type= 0x0, gen_id = 4283767570, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.889507, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:06.889535, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.889569, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:06.889597, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:06.889624,  5] smbd/files.c:482(file_free)
  freed files structure 10758 (0 used)
[2014/08/28 14:32:06.889651,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.889666,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=22977
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:06.889806, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:06.890433, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:06.890504,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:06.890563,  3] smbd/process.c:1662(process_smb)
  Transaction 36 of length 90 (0 toread)
[2014/08/28 14:32:06.890617,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:06.890632,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23041
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:32:06.891034, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 00 00                                          ... 
[2014/08/28 14:32:06.891067,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:06.891094,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:06.891122, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:06.891151,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:06.891178,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:06.891203,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:06.891230,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:06.891256, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:06.891286, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:06.891323,  5] smbd/files.c:140(file_new)
  allocated file structure 6663, fnum = 10759 (1 used)
[2014/08/28 14:32:06.891352, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:06.891379,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:32:06.891405, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:06.891433,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.891459, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.891485, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.891525, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.891552, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.891581, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.891669, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.891752, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.891798, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.891852, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.892097, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.892124, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.892153, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.892234, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.892316, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.892362, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.892413, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.892672, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.892699, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.892725, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.892751, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.892776, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.892802, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.892828, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.892853, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.892879, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.892904, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.892931, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.892957, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.892982, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.893013, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.893041,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.894755,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.894782,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.894808, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:32:06.894841, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.894871, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea2d0
[2014/08/28 14:32:06.894897, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:32:06.894925, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.894962, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.894990, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023028b0
[2014/08/28 14:32:06.895017, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:32:06.895043,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:32:06.895073, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:32:06.895106, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:06.895133, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:06.895161, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.895193,  5] smbd/files.c:482(file_free)
  freed files structure 10759 (0 used)
[2014/08/28 14:32:06.895220,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:06.895248, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.895286, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.895313, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.895342, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.895428, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.895510, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.895556, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.895611, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.895856, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.895882, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.895910, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.895992, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.896074, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.896120, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.896172, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.896422, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.896449, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.896475, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.896515, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.896541, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.896567, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.896592, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.896618, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.896644, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.896669, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.896696, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.896722, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.896747, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.896779, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:32:06.896809,  5] smbd/files.c:140(file_new)
  allocated file structure 6664, fnum = 10760 (1 used)
[2014/08/28 14:32:06.896838, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:06.896866, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:06.896898, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:06.896928, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d7ab0
[2014/08/28 14:32:06.896956, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:32:06.896997, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5a01, type= 0x0, gen_id = 4283767572, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.897026, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:06.897059, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:06.897084, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:06.897111,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:06.897137, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:06.897163, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:06.897199, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:06.897225, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.897260, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.897346, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.897429, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.897475, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.897530, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.897775, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:06.897802, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.897830, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:06.897913, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:06.897995, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.898041, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.898093, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:06.898336, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.898362, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.898388, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.898413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.898439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.898464, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.898490, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.898521, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:06.898546, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:06.898572, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:06.898597, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:06.898623, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:06.898648, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:06.898677, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:06.898705,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:06.900386,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:06.900412,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:06.900443, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:06.900484, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5a01, type= 0x0, gen_id = 4283767572, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:06.900524,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10760, open name = .
[2014/08/28 14:32:07.105494, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.105585,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.105646,  3] smbd/process.c:1662(process_smb)
  Transaction 37 of length 76 (0 toread)
[2014/08/28 14:32:07.105703,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.105736,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23105
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.106515, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 08 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.106594,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.106692,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.106754,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.106831, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.106925, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5a01, type= 0x0, gen_id = 4283767572, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.107001, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.107060,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10760) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.107121,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10760) level=1005 max_data=24
[2014/08/28 14:32:07.107180,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.107239, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.107298, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.107389, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.107448, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.107514, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.107715, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.107902, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.108006, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.108128, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.108699, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.108759, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.108823, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.109008, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.109193, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.109295, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.109410, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.109970, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.110030, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.110088, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.110145, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.110202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.110259, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.110317, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.110374, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.110431, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.110488, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.110547, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.110605, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.110662, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.110732, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.110793,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.114647,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.114709,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.114775, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.114836,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.114894,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.114952,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.114985,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23105
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.115543, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.116167, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.116238,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.116297,  3] smbd/process.c:1662(process_smb)
  Transaction 38 of length 76 (0 toread)
[2014/08/28 14:32:07.116354,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.116387,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23169
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.117071, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 08 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.117148,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.117207,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.117266,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.117338, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.117430, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5a01, type= 0x0, gen_id = 4283767572, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.117492, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.117550,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10760) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.117610,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10760) level=1005 max_data=24
[2014/08/28 14:32:07.117668,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.117726, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.117784, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.117868, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.117926, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.117992, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.118184, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.118370, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.118473, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.118593, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.119158, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.119217, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.119282, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.119467, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.119651, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.119753, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.119868, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.120412, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.120472, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.120542, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.120601, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.120659, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.120717, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.120774, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.120831, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.120888, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.120946, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.121004, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.121062, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.121119, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.121188, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.121249,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.124900,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.124928,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.124957, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.124984,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.125010,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.125035,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.125050,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23169
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.125298, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.125870, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:32:07.125950,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:32:07.126010,  3] smbd/process.c:1662(process_smb)
  Transaction 39 of length 106 (0 toread)
[2014/08/28 14:32:07.126060,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.126075,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23233
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:32:07.126378, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:32:07.126454,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.126481,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.126512,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:32:07.126544,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.126572, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.126601,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.126629,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.126655,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:32:07.126687,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:32:07.126713,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.126740,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.126771,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:32:07.126798,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:32:07.126824,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:32:07.126854,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.126880,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.126909,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022cfaf0 now at offset -1
[2014/08/28 14:32:07.126937,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:32:07.126963, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:32:07.126990, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:32:07.127026, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.127052, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.127081, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.127168, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.127251, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.127297, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.127351, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.127595, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.127621, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.127647, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.127673, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.127698, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.127728, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.127755,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.129102,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.129129,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.129161, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:07.129188,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:32:07.129219, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:32:07.129245, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:32:07.129274,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:32:07.129300,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:32:07.129329,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:32:07.129355,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:32:07.129381,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.129395,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23233
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:32:07.129649, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:32:07.129843,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:32:07.130269, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:07.130339,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:07.130397,  3] smbd/process.c:1662(process_smb)
  Transaction 40 of length 45 (0 toread)
[2014/08/28 14:32:07.130453,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.130468,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=23297
  smt_wct=3
  smb_vwv[ 0]=10760 (0x2A08)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:07.130643, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.130658,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.130685,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.130711,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10760
[2014/08/28 14:32:07.130742, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.130772, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:32:07.130798, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.130841, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5a01, type= 0x0, gen_id = 4283767572, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.130869, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.130897, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.130931, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.130958, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.130986,  5] smbd/files.c:482(file_free)
  freed files structure 10760 (0 used)
[2014/08/28 14:32:07.131013,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.131028,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=23297
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.131170, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.133562, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:07.133633,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:07.133692,  3] smbd/process.c:1662(process_smb)
  Transaction 41 of length 90 (0 toread)
[2014/08/28 14:32:07.133752,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.133768,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23361
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:32:07.134164, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:32:07.134197,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.134224,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.134251, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:07.134280,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:07.134308,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:07.134333,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.134360,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.134386, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.134416, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.134446,  5] smbd/files.c:140(file_new)
  allocated file structure 6665, fnum = 10761 (1 used)
[2014/08/28 14:32:07.134475, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:07.134502,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:32:07.134528, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:07.134557,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.134583, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.134609, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.134648, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.134674, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.134704, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.134791, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.134873, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.134925, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.134979, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.135223, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.135249, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.135278, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.135360, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.135441, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.135487, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.135538, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.135779, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.135806, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.135832, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.135858, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.135883, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.135909, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.135934, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.135959, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.135985, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.136010, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.136042, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.136068, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.136094, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.136125, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.136152,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.137888,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.137916,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.137943, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:32:07.137976, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.138008, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea950
[2014/08/28 14:32:07.138035, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:32:07.138062, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.138100, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.138130, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023028b0
[2014/08/28 14:32:07.138157, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:32:07.138183,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:32:07.138214, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:32:07.138242, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.138269, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.138297, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.138331,  5] smbd/files.c:482(file_free)
  freed files structure 10761 (0 used)
[2014/08/28 14:32:07.138358,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:07.138387, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.138426, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.138453, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.138483, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.138570, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.138677, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.138730, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.138786, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.139033, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.139060, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.139089, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.139172, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.139255, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.139301, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.139353, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.139600, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.139628, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.139654, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.139680, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.139706, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.139732, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.139758, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.139784, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.139809, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.139835, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.139861, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.139894, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.139920, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.139952, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:32:07.139982,  5] smbd/files.c:140(file_new)
  allocated file structure 6666, fnum = 10762 (1 used)
[2014/08/28 14:32:07.140012, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:07.140040, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:07.140073, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.140103, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d7ab0
[2014/08/28 14:32:07.140132, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:32:07.140174, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5b41, type= 0x0, gen_id = 4283767574, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.140204, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.140237, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:07.140264, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:07.140291,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.140317, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.140343, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.140380, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.140407, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.140436, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.140532, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.140616, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.140663, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.140718, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.140966, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.140998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.141028, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.141111, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.141195, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.141242, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.141294, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.141540, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.141567, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.141593, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.141619, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.141645, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.141671, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.141696, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.141722, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.141747, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.141772, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.141799, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.141824, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.141850, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.141880, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.141908,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.143619,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.143646,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.143682, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.143725, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5b41, type= 0x0, gen_id = 4283767574, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.143756,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10762, open name = .
[2014/08/28 14:32:07.144516, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.144549,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.144576,  3] smbd/process.c:1662(process_smb)
  Transaction 42 of length 76 (0 toread)
[2014/08/28 14:32:07.144602,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.144617,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23425
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.144921, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 0A 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.144955,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.144982,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.145010,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.145043, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.145084, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5b41, type= 0x0, gen_id = 4283767574, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.145112, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.145138,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10762) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.145166,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10762) level=1005 max_data=24
[2014/08/28 14:32:07.145192,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.145218, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.145244, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.145282, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.145309, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.145338, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.145424, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.145508, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.145560, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.145614, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.145862, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.145888, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.145917, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.145999, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.146082, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.146128, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.146180, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.146428, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.146455, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.146481, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.146507, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.146532, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.146558, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.146583, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.146609, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.146634, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.146660, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.146693, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.146719, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.146745, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.146777, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.146804,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.148524,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.148551,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.148581, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.148608,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.148634,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.148660,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.148675,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23425
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.148925, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.149411, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.149441,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.149468,  3] smbd/process.c:1662(process_smb)
  Transaction 43 of length 76 (0 toread)
[2014/08/28 14:32:07.149494,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.149509,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23489
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.149811, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 0A 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.149846,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.149872,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.149899,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.149933, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.149982, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5b41, type= 0x0, gen_id = 4283767574, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.150010, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.150036,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10762) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.150063,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10762) level=1005 max_data=24
[2014/08/28 14:32:07.150090,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.150116, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.150142, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.150181, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.150207, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.150237, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.150324, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.150408, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.150454, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.150508, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.150757, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.150783, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.150812, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.150894, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.150977, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.151023, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.151074, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.151326, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.151353, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.151379, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.151405, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.151431, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.151457, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.151482, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.151508, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.151534, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.151559, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.151586, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.151612, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.151638, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.151669, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.151697,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.153422,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.153450,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.153479, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.153506,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.153533,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.153559,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.153574,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23489
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.153823, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.154305, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:32:07.154374,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:32:07.154433,  3] smbd/process.c:1662(process_smb)
  Transaction 44 of length 106 (0 toread)
[2014/08/28 14:32:07.154490,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.154504,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23553
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:32:07.154808, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:32:07.154884,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.154911,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.154940,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:32:07.154970,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.154998, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.155027,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.155053,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.155079,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:32:07.155106,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:32:07.155131,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.155157,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.155188,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:32:07.155215,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:32:07.155241,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:32:07.155269,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.155296,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.155324,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d8630 now at offset -1
[2014/08/28 14:32:07.155352,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:32:07.155378, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:32:07.155404, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:32:07.155440, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.155466, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.155495, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.155587, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.155670, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.155716, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.155770, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.156012, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.156038, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.156064, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.156089, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.156115, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.156145, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.156172,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.157500,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.157527,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.157559, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:07.157585,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:32:07.157616, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:32:07.157641, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:32:07.157669,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:32:07.157695,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:32:07.157723,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:32:07.157749,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:32:07.157775,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.157790,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23553
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:32:07.158037, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:32:07.158228,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:32:07.158650, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:07.158717,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:07.158775,  3] smbd/process.c:1662(process_smb)
  Transaction 45 of length 45 (0 toread)
[2014/08/28 14:32:07.158833,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.158847,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=23617
  smt_wct=3
  smb_vwv[ 0]=10762 (0x2A0A)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:07.159028, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.159043,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.159070,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.159096,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10762
[2014/08/28 14:32:07.159126, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.159156, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:32:07.159182, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.159223, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5b41, type= 0x0, gen_id = 4283767574, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.159252, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.159280, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.159313, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.159340, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.159368,  5] smbd/files.c:482(file_free)
  freed files structure 10762 (0 used)
[2014/08/28 14:32:07.159394,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.159409,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=23617
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.159550, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.161666, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:07.161737,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:07.161795,  3] smbd/process.c:1662(process_smb)
  Transaction 46 of length 90 (0 toread)
[2014/08/28 14:32:07.161842,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.161859,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23681
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:32:07.162304, 10] ../lib/util/util.c:415(dump_data)
  [0000] CB 00 00                                          ... 
[2014/08/28 14:32:07.162341,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.162371,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.162402, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:07.162434,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:07.162465,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:07.162498,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.162528,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.162557, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.162590, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.162623,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:07.162655, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.162699, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.162729, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.162762, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.162858, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.162951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.163003, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.163063, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.163337, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.163367, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.163399, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.163491, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.163584, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.163635, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.163693, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.163970, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.164000, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.164030, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.164058, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.164087, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.164116, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.164145, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.164173, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.164202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.164231, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.164260, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.164289, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.164318, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.164352, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 14:32:07.164385,  5] smbd/files.c:140(file_new)
  allocated file structure 6667, fnum = 10763 (1 used)
[2014/08/28 14:32:07.164418, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:07.164451, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:07.164500, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.164535, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea950
[2014/08/28 14:32:07.164567, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:32:07.164613, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5c81, type= 0x0, gen_id = 4283767575, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.164646, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.164683, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:07.164712, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:07.164741,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.164770, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.164800, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.164847, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.164877, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.164910, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.165005, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.165098, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.165150, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.165211, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.165488, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.165517, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.165550, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.165642, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.165734, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.165786, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.165844, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.166116, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.166146, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.166175, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.166204, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.166236, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.166266, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.166294, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.166323, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.166352, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.166381, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.166410, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.166439, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.166467, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.166501, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.166532,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.168445,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.168475,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.168517, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.168564, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5c81, type= 0x0, gen_id = 4283767575, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.168598,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10763, open name = .
[2014/08/28 14:32:07.168962, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:32:07.169030,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:32:07.169089,  3] smbd/process.c:1662(process_smb)
  Transaction 47 of length 88 (0 toread)
[2014/08/28 14:32:07.169136,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.169153,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23745
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=10763 (0x2A0B)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:32:07.169588, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:32:07.169625,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.169660,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.169691, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 14:32:07.169722, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 14:32:07.169751, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 0B 2A 00 00                            .....*.. 
[2014/08/28 14:32:07.169789,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 14:32:07.169822,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 14:32:07.169857, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:32:07.169892, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d77c0
[2014/08/28 14:32:07.169934, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 2
[2014/08/28 14:32:07.169965, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:32:07.170000, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 14:32:07.209156, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 36
[2014/08/28 14:32:07.209239,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x24
[2014/08/28 14:32:07.209299,  3] smbd/process.c:1662(process_smb)
  Transaction 48 of length 40 (0 toread)
[2014/08/28 14:32:07.209357,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.209390,  5] lib/util.c:342(show_msg)
  size=36
  smb_com=0xa4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23745
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.209707, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.209742,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcancel (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.209801,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:07.209858,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:07.209915,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:07.210009,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:07.210072,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
[2014/08/28 14:32:07.210133,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.210166,  5] lib/util.c:342(show_msg)
  size=71
  smb_com=0xa0
  smb_rcls=32
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23745
  smt_wct=18
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=    0 (0x0)
  smb_bcc=0
[2014/08/28 14:32:07.210914, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.210961,  3] smbd/nttrans.c:1348(reply_ntcancel)
  reply_ntcancel: cancel called on mid = 23745.
[2014/08/28 14:32:07.211069, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:07.211142,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:07.211214,  3] smbd/process.c:1662(process_smb)
  Transaction 49 of length 110 (0 toread)
[2014/08/28 14:32:07.211288,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.211322,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23808
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:07.212214, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:07.212339,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.212402,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:07.212462,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:07.213249,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:07.213768,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:07.213833, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:07.213898,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.213959, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.214022,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.214083,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.214141, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:07.214218, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:07.214288,  5] smbd/files.c:140(file_new)
  allocated file structure 6668, fnum = 10764 (2 used)
[2014/08/28 14:32:07.214353, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:07.214412,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:07.214472, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:07.214535,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:07.214593, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:07.214652, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:07.214732, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.214791, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.214856, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.215050, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.215236, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.215339, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.215459, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.216004, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.216063, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.216121, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.216179, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.216236, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.216302, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.216363,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.219343,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.219404,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.219463,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:32:07.219523,  5] smbd/files.c:482(file_free)
  freed files structure 10764 (1 used)
[2014/08/28 14:32:07.219582, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.219639, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.219697,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.219757,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.219790,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23808
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.220108, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.220155,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:07.220215,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:07.220271,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:07.220363,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:07.220452, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:07.220551,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:07.220610,  3] smbd/process.c:1662(process_smb)
  Transaction 50 of length 45 (0 toread)
[2014/08/28 14:32:07.220667,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.220700,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=23873
  smt_wct=3
  smb_vwv[ 0]=10763 (0x2A0B)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:07.221106, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.221142,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.221204,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:07.221264,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:07.222027,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:07.222542,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:07.222605,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10763
[2014/08/28 14:32:07.222672, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.222738, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddcb0
[2014/08/28 14:32:07.222797, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.222888, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x5c81, type= 0x0, gen_id = 4283767575, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.222951, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.223013, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.223087, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.223148, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.223219, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.223283, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022de220
[2014/08/28 14:32:07.223355, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.223428, 10] smbd/notify_inotify.c:358(watch_destructor)
  Deleting inotify watch 2
[2014/08/28 14:32:07.223501, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:32:07.223566, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d77c0
[2014/08/28 14:32:07.223625, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:32:07.223693,  5] smbd/files.c:482(file_free)
  freed files structure 10763 (0 used)
[2014/08/28 14:32:07.223753,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.223787,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=23873
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.224104, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.224164, 10] smbd/notify_inotify.c:164(inotify_dispatch)
  inotify_dispatch called with mask=8000, name=[]
[2014/08/28 14:32:07.224236, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:07.224299,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:07.224357,  3] smbd/process.c:1662(process_smb)
  Transaction 51 of length 110 (0 toread)
[2014/08/28 14:32:07.224415,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.224448,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23936
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:07.225355, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:07.225481,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.225541,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.225602, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:07.225666,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.225726, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.225789,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.225849,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.225907, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:07.225973, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:07.226050,  5] smbd/files.c:140(file_new)
  allocated file structure 6669, fnum = 10765 (1 used)
[2014/08/28 14:32:07.226116, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:07.226175,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:07.226234, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:07.226297,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:07.226355, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:07.226414, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:07.226493, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.226551, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.226617, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.226810, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.226996, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.227100, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.227243, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.227798, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.227858, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.227917, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.227976, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.228033, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.228099, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.228161,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.231173,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.231235,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.231295,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:32:07.231355,  5] smbd/files.c:482(file_free)
  freed files structure 10765 (0 used)
[2014/08/28 14:32:07.231414, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.231472, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.231531,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.231591,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.231624,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=23936
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.231946, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.232576, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:07.232649,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:07.232711,  3] smbd/process.c:1662(process_smb)
  Transaction 52 of length 110 (0 toread)
[2014/08/28 14:32:07.232737,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.232752,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24000
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:07.233158, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:07.233215,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.233242,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.233269, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:07.233299,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.233326, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.233355,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.233382,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.233407, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:07.233437, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:07.233468,  5] smbd/files.c:140(file_new)
  allocated file structure 6670, fnum = 10766 (1 used)
[2014/08/28 14:32:07.233497, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:07.233523,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:07.233549, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:07.233578,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:07.233604, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:07.233630, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:07.233670, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.233696, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.233726, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.233813, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.233896, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.233942, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.234001, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.234246, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.234273, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.234299, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.234325, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.234350, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.234380, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.234408,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.235737,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.235764,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.235791,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:32:07.235818,  5] smbd/files.c:482(file_free)
  freed files structure 10766 (0 used)
[2014/08/28 14:32:07.235844, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.235870, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.235896,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:32:07.235923,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.235938,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24000
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.236080, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.236573, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:32:07.236606,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:32:07.236632,  3] smbd/process.c:1662(process_smb)
  Transaction 53 of length 100 (0 toread)
[2014/08/28 14:32:07.236659,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.236673,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24064
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:32:07.236977, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:32:07.237037,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.237064,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.237091,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:32:07.237120,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.237148, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.237177,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.237204,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.237234, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:07.237265, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:07.237292,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 14:32:07.237320,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1004 max_data=40
[2014/08/28 14:32:07.237346,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:07.237379, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:07.237406, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:07.237444, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.237470, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.237500, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.237587, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.237671, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.237717, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.237771, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.238038, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.238065, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.238091, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.238117, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.238143, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.238172, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.238199,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.239529,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.239556,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.239587, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 14:32:07.239613,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu May 15 15:54:41 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu May 15 15:54:41 2014
   change: Thu May 15 15:54:41 2014
   mode: 20
[2014/08/28 14:32:07.239698,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 14:32:07.239724,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 14:32:07.239750,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.239765,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24064
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 14:32:07.240014, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 20 00 00   00 00 00 00 00            op.. .. .....
[2014/08/28 14:32:07.240347, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:32:07.240378,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:32:07.240404,  3] smbd/process.c:1662(process_smb)
  Transaction 54 of length 100 (0 toread)
[2014/08/28 14:32:07.240430,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.240445,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24128
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:32:07.240766, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:32:07.240826,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.240853,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.240880,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 14:32:07.240909,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.240936, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.240965,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.240992,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.241022, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:07.241052, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:07.241079,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 14:32:07.241106,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1005 max_data=24
[2014/08/28 14:32:07.241133,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:07.241159, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:07.241186, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:07.241222, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.241249, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.241279, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.241366, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.241450, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.241496, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.241551, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.241797, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.241823, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.241854, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.241881, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.241907, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.241940, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.241968,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.243288,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.243315,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.243346, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.243372,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.243398,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.243424,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.243438,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24128
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.243693, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 10   00 00 00 00 00 E3 30 00   ........ ......0.
  [0010] 00 00 00 00 00 01 00 00   00 00 00 00 00           ........ .....
[2014/08/28 14:32:07.244775, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:07.244808,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:07.244834,  3] smbd/process.c:1662(process_smb)
  Transaction 55 of length 90 (0 toread)
[2014/08/28 14:32:07.244860,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.244875,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24192
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:32:07.245275, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:32:07.245308,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.245334,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.245361, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:07.245391,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:07.245419,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:07.245444,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.245471,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.245498, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.245528, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.245559,  5] smbd/files.c:140(file_new)
  allocated file structure 6671, fnum = 10767 (1 used)
[2014/08/28 14:32:07.245588, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:07.245615,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:32:07.245642, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:07.245670,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.245697, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.245723, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.245770, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.245797, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.245827, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.245917, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.246000, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.246046, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.246104, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.246349, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.246376, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.246405, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.246488, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.246571, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.246617, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.246669, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.246911, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.246948, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.246974, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.247000, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.247035, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.247062, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.247087, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.247113, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.247139, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.247164, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.247191, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.247217, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.247243, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.247274, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.247302,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.249011,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.249039,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.249066, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:32:07.249098, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.249130, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea470
[2014/08/28 14:32:07.249156, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:32:07.249184, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.249221, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.249250, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea470
[2014/08/28 14:32:07.249278, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:32:07.249304,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:32:07.249334, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:32:07.249362, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.249390, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.249418, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.249451,  5] smbd/files.c:482(file_free)
  freed files structure 10767 (0 used)
[2014/08/28 14:32:07.249478,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:07.249506, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.249545, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.249576, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.249606, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.249692, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.249775, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.249822, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.249887, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.250138, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.250165, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.250194, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.250277, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.250359, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.250406, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.250458, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.250704, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.250731, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.250757, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.250783, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.250809, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.250841, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.250868, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.250894, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.250919, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.250945, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.250972, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.250998, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.251024, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.251057, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:32:07.251087,  5] smbd/files.c:140(file_new)
  allocated file structure 6672, fnum = 10768 (1 used)
[2014/08/28 14:32:07.251116, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:07.251145, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:07.251178, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.251207, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902302b60
[2014/08/28 14:32:07.251236, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:32:07.251279, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5e80, type= 0x0, gen_id = 4283767580, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.251308, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.251342, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:07.251368, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:07.251395,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.251422, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.251448, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.251486, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.251512, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.251542, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.251628, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.251711, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.251758, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.251812, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.252066, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.252092, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.252122, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.252205, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.252288, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.252334, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.252386, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.252653, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.252680, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.252706, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.252733, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.252759, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.252785, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.252811, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.252837, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.252863, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.252888, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.252914, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.252940, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.252966, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.252997, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.253031,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.254731,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.254758,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.254790, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.254831, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5e80, type= 0x0, gen_id = 4283767580, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.254863,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10768, open name = .
[2014/08/28 14:32:07.255390, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.255463,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.255522,  3] smbd/process.c:1662(process_smb)
  Transaction 56 of length 76 (0 toread)
[2014/08/28 14:32:07.255574,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.255589,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24256
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.255891, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 10 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.255925,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.255952,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.255980,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.256012, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.256054, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5e80, type= 0x0, gen_id = 4283767580, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.256081, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.256108,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10768) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.256135,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10768) level=1005 max_data=24
[2014/08/28 14:32:07.256161,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.256187, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.256213, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.256257, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.256284, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.256313, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.256399, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.256484, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.256548, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.256602, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.256849, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.256875, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.256903, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.256986, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.257068, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.257113, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.257164, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.257407, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.257434, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.257460, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.257485, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.257516, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.257542, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.257567, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.257592, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.257618, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.257643, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.257669, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.257694, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.257719, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.257750, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.257777,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.259467,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.259494,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.259523, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.259550,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.259577,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.259602,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.259617,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24256
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.259863, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.260153, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.260222,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.260280,  3] smbd/process.c:1662(process_smb)
  Transaction 57 of length 76 (0 toread)
[2014/08/28 14:32:07.260338,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.260360,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24320
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.260725, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 10 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.260760,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.260786,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.260813,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.260846, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.260887, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5e80, type= 0x0, gen_id = 4283767580, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.260914, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.260940,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10768) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.260967,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10768) level=1005 max_data=24
[2014/08/28 14:32:07.260993,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.261018, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.261044, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.261082, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.261108, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.261137, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.261223, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.261306, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.261352, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.261406, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.261651, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.261677, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.261705, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.261793, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.261876, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.261921, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.261972, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.262239, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.262266, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.262292, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.262317, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.262343, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.262369, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.262394, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.262419, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.262445, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.262470, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.262496, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.262522, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.262548, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.262578, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.262606,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.264297,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.264324,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.264353, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.264380,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.264411,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.264437,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.264452,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24320
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.264703, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.265142, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:32:07.265215,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:32:07.265275,  3] smbd/process.c:1662(process_smb)
  Transaction 58 of length 106 (0 toread)
[2014/08/28 14:32:07.265327,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.265341,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24384
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:32:07.265641, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:32:07.265718,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.265744,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.265774,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:32:07.265806,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.265834, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.265862,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.265890,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.265916,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:32:07.265943,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:32:07.265968,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.265994,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.266025,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:32:07.266052,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:32:07.266077,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:32:07.266107,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.266134,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.266162,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022eaaa0 now at offset -1
[2014/08/28 14:32:07.266195,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:32:07.266222, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:32:07.266248, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:32:07.266284, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.266310, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.266339, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.266426, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.266508, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.266555, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.266608, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.266850, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.266877, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.266902, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.266928, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.266953, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.266983, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.267010,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.268325,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.268352,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.268384, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:07.268410,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:32:07.268441, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:32:07.268467, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:32:07.268530,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:32:07.268566,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:32:07.268606,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:32:07.268641,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:32:07.268675,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.268695,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24384
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:32:07.269030, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:32:07.269289,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:32:07.269686, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:07.269755,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:07.269813,  3] smbd/process.c:1662(process_smb)
  Transaction 59 of length 45 (0 toread)
[2014/08/28 14:32:07.269848,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.269868,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=24448
  smt_wct=3
  smb_vwv[ 0]=10768 (0x2A10)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:07.270104, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.270125,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.270161,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.270196,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10768
[2014/08/28 14:32:07.270237, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.270277, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:32:07.270313, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.270368, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5e80, type= 0x0, gen_id = 4283767580, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.270406, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.270444, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.270488, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.270525, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.270562,  5] smbd/files.c:482(file_free)
  freed files structure 10768 (0 used)
[2014/08/28 14:32:07.270598,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.270618,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=24448
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.270809, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.271670, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:07.271743,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:07.271801,  3] smbd/process.c:1662(process_smb)
  Transaction 60 of length 90 (0 toread)
[2014/08/28 14:32:07.271835,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.271855,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24512
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:32:07.272395, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:32:07.272440,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.272475,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.272521, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:07.272559,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:07.272596,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:07.272630,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.272665,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.272700, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.272739, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:07.272780,  5] smbd/files.c:140(file_new)
  allocated file structure 6673, fnum = 10769 (1 used)
[2014/08/28 14:32:07.272818, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:07.272854,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:32:07.272888, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:07.272926,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.272961, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.272996, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.273047, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.273083, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.273122, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.273238, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.273350, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.273412, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.273484, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.273821, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.273857, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.273896, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.274007, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.274118, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.274179, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.274249, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.274573, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.274609, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.274644, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.274678, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.274713, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.274747, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.274781, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.274816, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.274850, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.274884, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.274919, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.274954, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.274988, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.275030, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.275066,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.277363,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.277399,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.277434, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:32:07.277476, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.277517, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea610
[2014/08/28 14:32:07.277552, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:32:07.277588, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.277638, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.277676, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea610
[2014/08/28 14:32:07.277713, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:32:07.277748,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:32:07.277787, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 28. 
[2014/08/28 14:32:07.277824, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.277861, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.277898, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.277941,  5] smbd/files.c:482(file_free)
  freed files structure 10769 (0 used)
[2014/08/28 14:32:07.277977,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:07.278015, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.278064, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.278099, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.278138, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.278253, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.278365, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.278428, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.278501, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.278839, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.278875, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.278914, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.279025, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.279136, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.279198, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.279268, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.279597, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.279633, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.279668, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.279703, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.279738, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.279773, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.279808, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.279842, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.279877, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.279911, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.279946, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.279981, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.280016, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.280058, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:32:07.280098,  5] smbd/files.c:140(file_new)
  allocated file structure 6674, fnum = 10770 (1 used)
[2014/08/28 14:32:07.280137, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:07.280174, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:07.280217, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.280256, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902302b60
[2014/08/28 14:32:07.280303, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:32:07.280358, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5fc0, type= 0x0, gen_id = 4283767582, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.280398, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.280442, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:07.280476, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:07.280547,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.280592, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.280636, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.280697, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.280741, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.280791, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.280933, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.281073, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.281151, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.281242, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.281679, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.281724, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.281773, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.281912, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.282051, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.282128, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.282225, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.282637, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.282682, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.282725, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.282769, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.282812, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.282855, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.282898, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.282941, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.282983, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.283027, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.283070, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.283113, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.283156, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.283207, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.283253,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.286118,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.286163,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.286215, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.286284, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5fc0, type= 0x0, gen_id = 4283767582, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.286335,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10770, open name = .
[2014/08/28 14:32:07.287197, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.287273,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.287318,  3] smbd/process.c:1662(process_smb)
  Transaction 61 of length 76 (0 toread)
[2014/08/28 14:32:07.287370,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.287395,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24576
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.287895, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 12 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.287953,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.287998,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.288043,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.288096, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.288165, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5fc0, type= 0x0, gen_id = 4283767582, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.288211, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.288255,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10770) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.288300,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10770) level=1005 max_data=24
[2014/08/28 14:32:07.288345,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.288388, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.288432, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.288502, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.288549, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.288598, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.288743, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.288883, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.288961, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.289051, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.289475, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.289520, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.289568, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.289707, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.289846, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.289923, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.290009, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.290419, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.290464, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.290507, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.290551, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.290593, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.290636, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.290679, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.290722, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.290765, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.290808, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.290852, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.290895, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.290938, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.290989, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.291035,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.293918,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.293963,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.294014, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.294059,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.294103,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.294146,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.294171,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24576
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.294589, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.295048, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:32:07.295126,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:32:07.295171,  3] smbd/process.c:1662(process_smb)
  Transaction 62 of length 76 (0 toread)
[2014/08/28 14:32:07.295214,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.295239,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24640
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:32:07.295745, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 12 2A ED 03                              ....*.. 
[2014/08/28 14:32:07.295803,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.295848,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.295892,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:32:07.295947, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.296016, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5fc0, type= 0x0, gen_id = 4283767582, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.296063, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.296107,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10770) level=1005 call=7 total_data=0
[2014/08/28 14:32:07.296153,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10770) level=1005 max_data=24
[2014/08/28 14:32:07.296197,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:07.296240, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:07.296294, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:07.296358, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.296403, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.296452, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.296618, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.296760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.296839, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.296930, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.297346, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:07.297391, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.297440, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.297579, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.297718, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.297795, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.297882, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:07.298293, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.298338, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.298381, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.298434, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.298478, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.298522, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.298565, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.298608, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.298651, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.298694, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:07.298738, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:07.298782, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:07.298825, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:07.298877, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.298923,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:07.301795,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:07.301840,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:07.301890, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:32:07.301935,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:32:07.301979,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:32:07.302023,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.302048,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24640
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:32:07.302467, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:32:07.302977, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:32:07.303045,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:32:07.303096,  3] smbd/process.c:1662(process_smb)
  Transaction 63 of length 106 (0 toread)
[2014/08/28 14:32:07.303140,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.303165,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24704
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:32:07.303683, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:32:07.303812,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.303856,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.303904,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:32:07.303954,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:07.304000, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:07.304048,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.304092,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.304136,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:32:07.304180,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:32:07.304223,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:07.304267,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.304318,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:32:07.304361,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:32:07.304405,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:32:07.304453,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:07.304538,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:07.304605,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022eaaa0 now at offset -1
[2014/08/28 14:32:07.304666,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:32:07.304724, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:32:07.304783, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:32:07.304836, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:07.304862, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.304891, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.304977, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:07.305060, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.305106, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:07.305159, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:07.305409, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.305435, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:07.305461, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:07.305487, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.305512, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:07.305542, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:07.305569,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:07.306885,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:07.306912,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:07.306948, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:32:07.306974,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:32:07.307004, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:32:07.307030, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:32:07.307058,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:32:07.307083,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:32:07.307112,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:32:07.307138,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:32:07.307164,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.307178,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24704
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:32:07.307424, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:32:07.307614,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:32:07.308017, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:32:07.308086,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:32:07.308145,  3] smbd/process.c:1662(process_smb)
  Transaction 64 of length 45 (0 toread)
[2014/08/28 14:32:07.308198,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.308213,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=24768
  smt_wct=3
  smb_vwv[ 0]=10770 (0x2A12)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:32:07.308388, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:07.308403,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:07.308430,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:07.308456,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10770
[2014/08/28 14:32:07.308503, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:07.308535, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:32:07.308561, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:07.308603, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15987, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x5fc0, type= 0x0, gen_id = 4283767582, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:07.308639, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:32:07.308667, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:07.308700, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:32:07.308727, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:32:07.308755,  5] smbd/files.c:482(file_free)
  freed files structure 10770 (0 used)
[2014/08/28 14:32:07.308781,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:07.308796,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=24768
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:07.308936, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:08.663444, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 14:32:08.663527,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 14:32:08.663586,  3] smbd/process.c:1662(process_smb)
  Transaction 65 of length 74 (0 toread)
[2014/08/28 14:32:08.663644,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.663677,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24832
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 14:32:08.664353, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 14:32:08.664429,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:08.664502,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:08.664564,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 14:32:08.664636,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 14:32:08.664712,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 14:32:08.664771,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 14:32:08.664829,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.664862,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24832
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 14:32:08.665418, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 14:32:08.665555,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 14:32:08.667012, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 14:32:08.667079,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 14:32:08.667156,  3] smbd/process.c:1662(process_smb)
  Transaction 66 of length 74 (0 toread)
[2014/08/28 14:32:08.667214,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.667247,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24896
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 14:32:08.667919, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 14:32:08.667994,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:08.668053,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:08.668112,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 14:32:08.668173,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 14:32:08.668242,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 14:32:08.668299,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 14:32:08.668357,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.668389,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24896
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 14:32:08.668957, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 14:32:08.669090,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 14:32:08.669737, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 104
[2014/08/28 14:32:08.669804,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x68
[2014/08/28 14:32:08.669862,  3] smbd/process.c:1662(process_smb)
  Transaction 67 of length 108 (0 toread)
[2014/08/28 14:32:08.669920,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.669953,  5] lib/util.c:342(show_msg)
  size=104
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24960
  smt_wct=15
  smb_vwv[ 0]=   36 (0x24)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   36 (0x24)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=39
[2014/08/28 14:32:08.670628, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 20 00 28 00 32 00 29   .s.i.o.n . .(.2.)
  [0020] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:08.670800,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:08.670859,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:08.670930,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:32:08.670995,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version (2).h"
[2014/08/28 14:32:08.671056, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION (2).H]
[2014/08/28 14:32:08.671114,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version (2).h, dirpath = , start = version (2).h
[2014/08/28 14:32:08.671177, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 14:32:08.671234, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 14:32:08.671294, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 14:32:08.671350, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 14:32:08.671458, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 14:32:08.671518, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 14:32:08.671576,  5] smbd/filename.c:781(unix_convert)
  New file version (2).h
[2014/08/28 14:32:08.671632,  8] lib/util.c:1320(is_in_path)
  is_in_path: version (2).h
[2014/08/28 14:32:08.671693,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:08.671754,  3] smbd/trans2.c:5236(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of version (2).h failed (No such file or directory)
[2014/08/28 14:32:08.671960,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(5238) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:32:08.672023,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.672056,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=24960
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:32:08.672371, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:32:08.673809, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:08.673879,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:08.673938,  3] smbd/process.c:1662(process_smb)
  Transaction 68 of length 110 (0 toread)
[2014/08/28 14:32:08.673996,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.674029,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=25024
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:08.674915, 10] ../lib/util/util.c:415(dump_data)
  [0000] CB 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:08.675040,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15987) conn 0x7fc9022e9c10
[2014/08/28 14:32:08.675099,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:08.675160, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:08.675239,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:08.675301, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:32:08.675365,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:08.675424,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:08.675482, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.675549, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.675621, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:08.675710, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.675770, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.675837, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.676033, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.676219, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.676323, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.676445, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.677029, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:08.677089, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.677154, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.677339, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.677523, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.677625, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.677740, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.678297, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.678357, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.678416, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.678474, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.678531, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.678589, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.678646, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.678703, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.678761, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.678818, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.678877, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:08.678935, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:08.678992, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:08.679061, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 14:32:08.679123,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:08.682952,  5] smbd/files.c:140(file_new)
  allocated file structure 6675, fnum = 10771 (1 used)
[2014/08/28 14:32:08.683020, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:08.683081,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.683140, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:08.683204,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.683263, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.683322, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.683399, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.683458, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.683536, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.683727, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.683913, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.684017, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.684138, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.684717, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.684743, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.684769, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.684795, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.684820, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.684850, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.684877,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.686196,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.686224,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.686251, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 14:32:08.686279, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x7019f
[2014/08/28 14:32:08.686312, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.686350, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fe6e0
[2014/08/28 14:32:08.686376, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:08.686404, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:08.686442, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.686472, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fe890
[2014/08/28 14:32:08.686500, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 14:32:08.686526,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x7019f, open_access_mask = 0x7019f
[2014/08/28 14:32:08.686559, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 14:32:08.686586,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 14:32:08.686618, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 14:32:08.686743,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 4283767583
[2014/08/28 14:32:08.686776,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/4283767583, tv_sec = 53ff6798, tv_usec = a6bc7
[2014/08/28 14:32:08.686808, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 14:32:08.686846,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.686873, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.686899, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.686934, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.686960, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.686990, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.687083, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.687167, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.687214, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.687268, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.687512, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.687538, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.687564, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.687589, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.687615, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.687645, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.687673,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.688996,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.689024,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.689050,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.689084, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 14:32:08.689122, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 14:32:08.689156, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.689187, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.689218,  5] smbd/files.c:140(file_new)
  allocated file structure 6676, fnum = 10772 (2 used)
[2014/08/28 14:32:08.689247, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:08.689274,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.689300, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 14:32:08.689328,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.689354, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.689380, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.689414, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.689440, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.689470, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.689555, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.689638, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.689684, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.689737, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.689988, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.690014, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.690040, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.690066, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.690091, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.690120, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.690148,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.691457,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.691484,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.691510, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 14:32:08.691546, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.691577, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305510
[2014/08/28 14:32:08.691603, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:08.691631, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:08.691668, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.691695, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023056c0
[2014/08/28 14:32:08.691721, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 14:32:08.691747,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 14:32:08.709171,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:08.709234,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:32:08.709262,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:32:08.709290,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:08.709315,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:32:08.709341,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:32:08.709367, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:08.709393,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:32:08.709419,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:32:08.709445, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:32:08.709470, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:32:08.709495,  5] ../lib/util/util.c:415(dump_data)
  [0000] 88 06 D8 3E 96 38 29 74                            ...>.8)t 
[2014/08/28 14:32:08.709531, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:32:08.709557, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:32:08.709585, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:32:08.709610,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:32:08.709638,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.709667,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.709693,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.709718,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.709743,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.709816, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.709845, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.709871, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.709902, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.709931,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.709960, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.709986, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.710012, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.710039,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.710066, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.710092, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.710120,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.710146,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.710171,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.710196,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.710220,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.710272, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.710302,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.710332, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.710362, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.710405,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.710431,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.710456,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.710481,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.710506,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.710548, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.710577,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.710606,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.710632,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.710696,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.710782,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:32:08.710812,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.710838,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.710863,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.710888,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.710913,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.710974,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.711003, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:32:08.711038,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:32:08.711065,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.711091,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.711116,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.711141,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.711166,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.711208, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.711237,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.711269, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.711295, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.711321, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.711347, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.711373,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.711402, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.711428, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.711455, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.711481,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.711509, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.711535, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.711561,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.711587,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.711612,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.711637,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.711662,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.711704, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.711733,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.711759, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.711786, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.711826, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.711857,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.711892,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:32:08.711936,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:32:08.711965,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:32:08 2014
  )
[2014/08/28 14:32:08.712000,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712026,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.712051,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712077,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.712102,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.712144, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.712173,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.712200,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712226,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.712251,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712276,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.712301,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.712340,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.712365,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.712391,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.712420,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.712446,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712471,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.712504,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.712529,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.712571, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:32:08.712600,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712626,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.712652,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712677,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.712702,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.712727,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.712769, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.712797,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.712825,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.712855,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.712882,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.712925, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:32:08.713057,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:32:08.713084,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713110,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713135,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713161,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.713186,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.713232,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713259, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:32:08.713298,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:32:08.713324,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713350,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713375,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713400,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.713425,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.713471,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713498, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:32:08.713536,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:32:08.713562,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713588,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713613,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713639,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.713664,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.713709,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713736, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:32:08.713774,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:32:08.713800,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713826,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713851,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.713876,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.713901,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.713947,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.713979, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:32:08.714020,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:32:08.714046,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714072,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714097,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714122,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.714147,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.714193,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714220, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:32:08.714259,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:32:08.714284,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714310,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714335,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714361,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.714386,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.714431,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714458, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:32:08.714496,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:32:08.714522,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714548,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714573,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714599,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.714624,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.714670,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714696, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:32:08.714735,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:32:08.714760,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714786,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714811,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.714837,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.714862,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.714908,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.714934, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:32:08.714972,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:32:08.714998,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715028,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715054,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715079,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.715104,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.715149,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715175, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:32:08.715214,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:32:08.715239,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715265,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715290,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715315,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.715340,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.715385,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715412, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:32:08.715450,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:32:08.715476,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715501,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715526,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715552,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.715577,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.715622,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715649, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:32:08.715687,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:32:08.715712,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715738,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715763,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715788,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.715813,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.715859,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.715886, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:32:08.715924,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:32:08.715949,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.715975,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716000,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716031,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.716056,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.716101,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716128, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:32:08.716168,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:32:08.716194,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716219,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716245,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716270,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.716295,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.716340,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716367, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:32:08.716405,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:32:08.716430,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716456,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716481,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716522,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.716547,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.716593,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716620, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:32:08.716658,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:32:08.716684,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716709,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716735,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716760,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.716785,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.716831,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716857, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:32:08.716896,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:32:08.716921,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716947,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.716972,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.716998,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.717022,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.717074,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717101, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:32:08.717138,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:32:08.717168,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.717197,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:32:08.717223,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717249,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.717274,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717299,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.717324,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.717366,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.717392,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:32:08.717417,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:32:08.717447, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:32:08.717496, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:08.717524,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717550,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.717575,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717600,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.717625,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.717671,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.717698, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:08.717725,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717750,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.717775,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717801,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.717826,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.717889, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:08.717917,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.717943,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.717968,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.717993,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.718018,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.718070,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718096, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:08.718128,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:32:08.718155,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.718194, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:08.718221,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718247,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.718272,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718297,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.718322,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.718369,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.718395, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:08.718422,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718447,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.718472,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718497,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.718522,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.718576, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:08.718604,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.718630,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718655,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.718680,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.718705,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.718751,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718778, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:08.718809,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:32:08.718836,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.718862,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718888,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.718913,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.718938,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.718963,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.719129,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.719163,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:32:08.719212,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:32:08.719245,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:32:08.719276,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:32:08.719307,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:32:08.719338,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:32:08.719369,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:32:08.719400,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:32:08.719432,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:32:08.719463,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:32:08.719494,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:32:08.719526,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:32:08.719557,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:32:08.719588,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:32:08.719619,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:32:08.719650,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:32:08.719682,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:32:08.719713,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:32:08.719744,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:32:08.719775,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:32:08.719807,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:32:08.719847,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:32:08.719878,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:32:08.719971, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:32:08.719999,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.720026,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.720051,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.720076,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.720101,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.720140,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:08.720169,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.720195,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.720226,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.720251,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.720276,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.720315,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.720341,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.720366,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.720391,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.720415,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.720457, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.720497,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.720526,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.720552,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.720577,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.720603,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.720627,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.720669, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.720698,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.720729, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.720755, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.720781, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.720807, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.720834,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.720864, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.720890, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.720917, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.720943,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.720971, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.720997, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.721024,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.721049,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.721074,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.721100,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.721124,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.721172, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.721201,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.721228, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.721256, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.721296, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.721327,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.721356,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.721381,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.721408,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.721436,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.721462,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:32:08.721491,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.721516,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.721542,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.721567,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.721592,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.721630,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:08.721657,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.721682,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.721707,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.721733,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.721757,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.721797,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.721823,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.721848,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.721873,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.721898,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.721940, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.721969,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.721996,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.722022,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.722047,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.722072,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.722103,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.722145, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.722173,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.722203, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.722229, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.722254, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.722280, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.722306,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.722334, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.722360, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.722386, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.722412,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.722440, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.722466, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.722493,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.722518,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.722543,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.722569,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.722593,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.722635, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.722664,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.722690, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.722718, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.722759, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.722791,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.722820,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.722845,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.722871,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.722900,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.722926, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:32:08.722956,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.722982,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.723013,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723039,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.723063,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.723102,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:08.723128,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.723154,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723179,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.723204,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.723229,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.723276,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:08.723313,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723339,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:08.723367,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.723393, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.723421,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723447,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.723472,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723497,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.723522,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.723561,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:08.723587,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.723613,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723638,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.723663,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.723688,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.723733,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:08.723768,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723795,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:08.723822,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.723848, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.723876,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723902,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.723927,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.723958,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.723983,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.724029,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.724055, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:08.724082, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:08.724108,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.724134,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.724159,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.724184,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.724209,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.724255,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.724281, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:08.724307, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:08.724334,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.724360,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.724385,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.724410,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.724435,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.724480,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.724550, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:08.724577, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:08.724604, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:32:08.724635, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:32:08.724661, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:32:08.724687, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:32:08.724719, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:08.725066, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:08.725290, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:32:08.725317, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:32:08.725343, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:32:08.725373,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:32:08.725398,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:32:08.725541, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:32:08.725568,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:32:08.725594,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:32:08.725629, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353938382F31
[2014/08/28 14:32:08.725660, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d1ac0
[2014/08/28 14:32:08.725709, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353938382F31
[2014/08/28 14:32:08.725759,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:32:08.725785,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.725810,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.725837,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.725862,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:32:08.725918,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:32:08.725945, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:32:08.725973,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:32:08.726015,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:08.726079,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.726094,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=25152
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:32:08.726279, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:32:08.726912, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:32:08.726992,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:32:08.727052,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:32:08.727097,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.727111,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=25216
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:32:08.727295, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:32:08.727354,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15988) conn 0x0
[2014/08/28 14:32:08.727381,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.727406,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.727431,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.727470,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:08.727504,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:32:08.727540,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:32:08.727572,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:32:08.727605,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:08.727633, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:08.727658, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:08.727686,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.727712,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.727737,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.727762,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.727787,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.727836, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.727863, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.727889, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.727915, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.727941,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.727970, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.727996, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.728023, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.728049,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.728076, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.728109, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.728136,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.728162,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.728187,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.728212,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.728236,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.728279, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.728308,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.728335, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.728363, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.728403,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.728428,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.728454,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.728479,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.728513,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.728555, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.728584,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.728611,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:08.728637,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:08.728663,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:08.728696,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:08.728723,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.728749,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.728774,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.728800,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.728825,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.728867, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.728895,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.728926, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.728952, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.728978, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.729004, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.729036,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.729064, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.729090, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.729117, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.729143,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.729171, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.729197, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.729223,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.729249,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.729275,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.729300,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.729325,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.729368, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.729396,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.729423, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.729450, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.729490, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.729524,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.729556,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:08.729615,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:08.729642,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:08.729697, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:08.729723, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.729749,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.729775,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.729800,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.729825,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.729850,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.729897,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.729926, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:08.729951, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.730010, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:08.730047,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.730078,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.730104,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.730134, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:08.730161,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:32:08.730201, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:08.730230, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:32:08.730258,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:32:08.730286, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:32:08.730312,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:32:08.730340, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:32:08.730365,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:32:08.730390,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:32:08.730416, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:32:08.730455,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:32:08.730521, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 743E0000FFFFFFFFC3D7
[2014/08/28 14:32:08.730564, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:32:08.730603, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 743E0000FFFFFFFFC3D7
[2014/08/28 14:32:08.730706, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:08.730739,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:08.730767, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:08.730792, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:08.730819,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.730844,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.730870,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.730895,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.730920,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.730968, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.730995, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.731020, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.731046, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.731073,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.731102, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.731128, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.731160, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.731187,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.731215, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.731241, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.731268,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.731294,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.731319,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.731344,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.731369,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.731412, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.731441,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.731468, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.731496, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.731537,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.731563,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.731588,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.731613,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.731638,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.731681, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.731710,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.731737,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:08.731762,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:08.731789,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:08.731821,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:08.731848,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.731873,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.731899,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.731924,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.731949,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.731991, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.732020,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.732052, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.732079, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.732110, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.732135, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.732162,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.732189, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.732215, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.732242, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.732268,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.732296, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.732322, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.732348,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.732374,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.732399,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.732424,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.732449,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.732532, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.732586,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.732631, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.732678, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.732749, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.732810,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.732842,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:08.732870,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:08.732895,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:08.732931, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:08.732957, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.732983,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.733008,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.733034,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.733059,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.733084,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.733131,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.733161, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:08.733192, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.733243, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:08.733271, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:32:08.733304, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:08.733338, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:08.733376,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.733404,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:08.733742,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:08.733972,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:08.734001,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.734027,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.734053,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.734093,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:08.734130, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:32:08.734158,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15988)
[2014/08/28 14:32:08.734193,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:32:08.734548, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:08.734616,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:08.734675,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 110 (0 toread)
[2014/08/28 14:32:08.734729,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.734743,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=25280
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:08.735146, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:08.735203,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15988) conn 0x7fc9022e9ac0
[2014/08/28 14:32:08.735231,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.735258,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:08.735595,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:08.735824,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:08.735854,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:32:08.735890, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:08.735925,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:08.735954, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 14:32:08.735981,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 14:32:08.736012,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022dddd0:size 9) VERSION.H -> version.h
[2014/08/28 14:32:08.736038,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 14:32:08.736064,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:08.736093,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:08.736120, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.736155, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.736196, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:08.736294,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:32:08.736322,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.736353,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.736379,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.736405,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.736430,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.736506,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.736534,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.736560,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.736585,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.736610,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.736660, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:32:08.736688, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.736714, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.736740, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:32:08.736767,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.736796, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:32:08.736823, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.736850, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.736877,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.736905, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:32:08.736931, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.736958,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.736984,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.737010,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.737035,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.737060,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.737103, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.737132,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.737159, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:08.737192, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:32:08.737234,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.737266,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.737292, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:08.737338,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:32:08.737364,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.737393,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.737419,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.737444,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.737469,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.737519,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.737546, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:32:08.737578, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.737604, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.737635, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.737747, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.737828, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.737874, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.737928, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.738171, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:08.738197, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.738226, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.738307, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.738387, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.738439, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.738490, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.738731, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.738757, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.738783, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.738809, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.738834, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.738860, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.738885, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.738911, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.738936, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.738962, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.738988, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:08.739014, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:08.739040, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:08.739071, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 14:32:08.739100,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:08.740830,  5] smbd/files.c:140(file_new)
  allocated file structure 6636, fnum = 10732 (1 used)
[2014/08/28 14:32:08.740861, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:08.740891,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.740919, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:08.740949,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.740975, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.741007, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.741047, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.741073, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.741103, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.741187, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.741268, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.741315, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.741368, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.741611, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.741637, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.741663, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.741688, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.741714, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.741744, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.741771,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.743089,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.743116,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.743144, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 14:32:08.743173, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x70197
[2014/08/28 14:32:08.743210, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.743244, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f0030
[2014/08/28 14:32:08.743270, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:08.743300, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:08.743339, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.743383, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f0030
[2014/08/28 14:32:08.743415, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 14:32:08.743441,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x70197, open_access_mask = 0x70197
[2014/08/28 14:32:08.743474, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 14:32:08.743501,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 14:32:08.743536, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 14:32:08.743611,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 1044913750
[2014/08/28 14:32:08.743645,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/1044913750, tv_sec = 53ff6798, tv_usec = b4dde
[2014/08/28 14:32:08.743679, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 14:32:08.743716,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.743743, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.743770, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.743803, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.743835, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.743865, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.743951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.744033, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.744079, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.744133, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.744374, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.744401, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.744426, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.744452, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.744477, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.744548, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.744577,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.745897,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.745924,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.745950,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.745984, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 14:32:08.746020, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 14:32:08.746125, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.746157, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.746188,  5] smbd/files.c:140(file_new)
  allocated file structure 6637, fnum = 10733 (2 used)
[2014/08/28 14:32:08.746217, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:08.746244,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.746271, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 14:32:08.746299,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.746325, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.746351, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.746386, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.746412, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.746441, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.746526, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.746607, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.746654, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.746713, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.746960, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.746986, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.747012, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.747038, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.747063, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.747094, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.747122,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.748449,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.748476,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.748524, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 14:32:08.748558, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.748589, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f3230
[2014/08/28 14:32:08.748615, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:08.748642, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:08.748680, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.748711, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f33e0
[2014/08/28 14:32:08.748738, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 14:32:08.748765,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 14:32:08.770476,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:08.770594,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:32:08.770647,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:32:08.770700,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:08.770750,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:32:08.770800,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:32:08.770850, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:08.770899,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:32:08.770951,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:32:08.771000, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:32:08.771048, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:32:08.771097,  5] ../lib/util/util.c:415(dump_data)
  [0000] 97 D1 9A CB F9 B3 8B 97                            ........ 
[2014/08/28 14:32:08.771166, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:32:08.771216, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:32:08.771269, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:32:08.771317,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:32:08.771371,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.771426,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.771475,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.771525,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.771573,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.771710, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.771765, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.771814, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.771864, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.771918,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.771973, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.772023, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.772074, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.772124,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.772177, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.772228, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.772281,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.772330,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.772379,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.772427,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.772474,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.772583, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.772640,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.772698, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.772755, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.772845,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.772896,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.772945,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.772993,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.773041,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.773122, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.773177,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.773233,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.773282,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.773392,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.773535,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:32:08.773591,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.773641,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.773702,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.773751,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.773799,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.773899,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.773954, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:32:08.774021,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:32:08.774074,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.774124,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.774173,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.774222,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.774270,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.774351, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.774407,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.774468, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.774526, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.774576, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.774625, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.774677,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.774731, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.774781, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.774833, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.774883,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.774937, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.774988, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.775039,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.775088,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.775137,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.775186,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.775234,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.775316, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.775372,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.775423, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.775477, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.775564, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.775625,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.775681,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:32:08.775763,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:32:08.775819,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:32:08 2014
  )
[2014/08/28 14:32:08.775887,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.775937,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.775986,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.776035,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.776083,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.776165, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.776221,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.776274,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.776323,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.776372,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.776421,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.776469,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.776556,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.776605,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.776656,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.776710,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.776760,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.776809,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.776857,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.776905,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.776986, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:32:08.777041,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.777092,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.777141,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.777190,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.777238,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.777286,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.777374, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.777431,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.777485,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.777534,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.777585,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.777663, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:32:08.777900,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:32:08.777953,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.778003,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.778052,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.778102,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.778150,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.778239,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.778291, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:32:08.778366,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:32:08.778416,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.778466,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.778515,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.778564,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.778612,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.778700,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.778751, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:32:08.778825,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:32:08.778875,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.778925,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.778974,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.779022,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.779070,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.779158,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.779210, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:32:08.779283,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:32:08.779332,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.779382,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.779431,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.779480,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.779539,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.779626,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.779678, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:32:08.779755,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:32:08.779805,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.779855,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.779904,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.779953,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.780001,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.780090,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.780142, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:32:08.780216,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:32:08.780265,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.780316,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.780365,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.780414,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.780462,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.780586,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.780639, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:32:08.780704,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:32:08.780730,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.780756,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.780782,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.780807,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.780832,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.780878,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.780905, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:32:08.780943,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:32:08.780969,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.780995,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781020,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781046,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.781071,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.781117,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781149, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:32:08.781188,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:32:08.781214,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781240,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781265,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781291,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.781316,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.781361,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781389, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:32:08.781427,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:32:08.781453,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781478,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781504,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781529,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.781554,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.781600,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781627, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:32:08.781665,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:32:08.781691,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781716,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781742,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781767,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.781792,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.781838,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781865, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:32:08.781903,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:32:08.781928,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.781954,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.781979,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782005,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.782030,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.782075,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782102, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:32:08.782140,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:32:08.782172,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782198,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782223,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782248,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.782273,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.782319,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782346, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:32:08.782386,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:32:08.782412,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782438,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782463,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782488,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.782513,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.782559,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782586, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:32:08.782624,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:32:08.782650,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782676,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782701,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782726,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.782751,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.782796,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782823, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:32:08.782861,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:32:08.782886,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782912,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.782938,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.782963,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.782988,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.783034,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783060, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:32:08.783099,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:32:08.783125,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.783150,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783181,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.783206,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.783231,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.783277,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783303, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:32:08.783342,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:32:08.783372,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.783401,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:32:08.783427,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783453,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.783478,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783503,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.783528,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.783570,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.783596,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:32:08.783622,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:32:08.783651, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:32:08.783703, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:08.783731,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783757,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.783782,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783807,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.783832,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.783879,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.783905, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:08.783932,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.783958,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.783984,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784009,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.784034,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.784099, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:08.784126,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.784152,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784184,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.784209,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.784234,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.784281,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784307, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:08.784339,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:32:08.784367,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.784406, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:08.784433,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784459,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.784494,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784522,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.784547,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.784593,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.784620, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:08.784647,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784672,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.784698,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784723,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.784748,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.784803, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:08.784831,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.784857,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.784882,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.784907,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.784932,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.784979,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.785005, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:08.785036,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:32:08.785063,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.785089,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.785115,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.785140,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.785166,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.785196,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.785361,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.785395,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:32:08.785439,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:32:08.785471,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:32:08.785503,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:32:08.785534,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:32:08.785566,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:32:08.785597,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:32:08.785628,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:32:08.785660,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:32:08.785691,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:32:08.785723,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:32:08.785754,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:32:08.785786,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:32:08.785817,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:32:08.785848,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:32:08.785880,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:32:08.785911,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:32:08.785942,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:32:08.785974,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:32:08.786005,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:32:08.786037,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:32:08.786077,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:32:08.786108,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:32:08.786202, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:32:08.786231,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.786258,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.786283,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.786309,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.786334,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.786378,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:08.786407,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.786433,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.786458,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.786484,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.786509,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.786548,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.786574,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.786600,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.786625,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.786650,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.786692, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.786721,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.786749,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.786775,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.786800,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.786825,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.786850,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.786892, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.786920,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.786951, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.786977, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.787003, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.787029, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.787056,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.787085, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.787112, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.787138, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.787165,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.787193, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.787219, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.787246,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.787271,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.787302,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.787328,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.787353,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.787395, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.787424,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.787451, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.787479, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.787520, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.787550,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.787579,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.787604,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.787631,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.787660,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.787686,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:32:08.787715,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.787740,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.787766,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.787791,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.787816,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.787855,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:08.787882,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.787908,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.787933,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.787959,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.787984,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.788023,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.788049,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.788075,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.788101,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.788126,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.788168, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.788197,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.788228,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.788255,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.788280,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.788306,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.788330,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.788373, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.788402,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.788431, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:08.788457, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.788483, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.788515, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:08.788541,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.788569, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:08.788595, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.788621, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.788647,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.788676, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:08.788702, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.788728,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.788754,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.788780,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.788805,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.788830,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.788873, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.788901,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.788928, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:08.788956, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:08.789001, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.789031,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789060,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.789085,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.789112,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.789140,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.789171, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:32:08.789201,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789227,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.789253,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789278,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.789303,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.789342,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:08.789368,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.789394,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789419,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.789444,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.789469,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.789517,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:08.789554,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789581,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:08.789609,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.789635, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.789663,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789689,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.789714,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789740,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.789765,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.789803,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:08.789830,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.789855,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.789881,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.789906,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.789931,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.789974,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:08.790010,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.790036,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:08.790064,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.790091, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.790125,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.790151,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.790176,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.790202,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.790227,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.790274,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.790300, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:08.790327, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:08.790354,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.790379,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.790405,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.790430,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.790455,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.790501,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.790527, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:08.790554, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:08.790580,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.790606,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.790632,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.790657,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.790682,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.790728,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.790754, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:08.790781, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:08.790808, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:32:08.790838, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:32:08.790864, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:32:08.790891, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:32:08.790921, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:08.791270, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:08.791496, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:32:08.791523, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:32:08.791548, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:32:08.791578,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:32:08.791604,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:32:08.791747, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:32:08.791774,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:32:08.791799,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:32:08.791834, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353938392F31
[2014/08/28 14:32:08.791866, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022c21f0
[2014/08/28 14:32:08.791917, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353938392F31
[2014/08/28 14:32:08.791967,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:32:08.791994,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.792019,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.792046,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.792072,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:32:08.792127,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:32:08.792154, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:32:08.792183,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:32:08.792225,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:08.792289,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.792304,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=25408
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:32:08.792512, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:32:08.793257, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:32:08.793337,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:32:08.793398,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:32:08.793443,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.793457,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=25472
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:32:08.793642, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:32:08.793702,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15989) conn 0x0
[2014/08/28 14:32:08.793728,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.793753,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.793778,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.793818,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:08.793851,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:32:08.793888,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:32:08.793919,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:32:08.793952,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:08.793980, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:08.794006, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:08.794033,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.794059,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.794085,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.794110,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.794134,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.794184, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.794212, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.794238, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.794264, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.794290,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.794319, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.794345, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.794378, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.794405,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.794433, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.794459, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.794486,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.794512,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.794537,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.794562,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.794586,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.794630, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.794659,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.794685, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.794713, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.794753,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.794779,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.794804,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.794829,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.794854,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.794896, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.794925,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.794952,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:08.794977,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:08.795004,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:08.795036,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:08.795063,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.795089,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.795114,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.795140,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.795164,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.795207, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.795235,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.795266, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.795298, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.795324, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.795350, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.795376,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.795404, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.795430, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.795456, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.795482,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.795510, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.795536, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.795563,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.795589,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.795614,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.795639,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.795664,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.795706, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.795735,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.795762, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.795789, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.795829, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.795863,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.795894,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:08.795953,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:08.795980,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:08.796030, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:08.796056, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.796082,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.796108,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.796133,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.796158,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.796183,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.796229,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.796258, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:08.796288, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.796351, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:08.796388,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:08.796414,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:08.796441,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:08.796471, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:08.796506,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:32:08.796547, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:08.796577, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:32:08.796605,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:32:08.796634, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:32:08.796660,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:32:08.796687, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:32:08.796713,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:32:08.796738,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:32:08.796764, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:32:08.796803,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:32:08.796868, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 753E0000FFFFFFFF88C6
[2014/08/28 14:32:08.796913, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:32:08.796954, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 753E0000FFFFFFFF88C6
[2014/08/28 14:32:08.797057, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:08.797089,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:08.797117, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:08.797142, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:08.797169,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.797195,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.797220,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.797245,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.797270,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.797317, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.797344, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.797370, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.797395, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.797428,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.797457, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.797484, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.797510, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.797536,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.797564, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.797590, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.797617,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.797642,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.797667,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.797693,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.797718,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.797761, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.797789,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.797816, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.797844, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.797885,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.797911,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.797936,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.797961,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.797986,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.798028, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:08.798057,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.798085,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:08.798110,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:08.798136,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:08.798168,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:08.798195,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.798220,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.798246,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.798271,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.798295,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.798338, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.798372,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.798403, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:08.798429, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.798455, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.798480, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:08.798506,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.798534, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:08.798560, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.798587, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.798613,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.798641, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:08.798668, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.798694,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.798720,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.798745,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.798771,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.798796,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.798838, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.798866,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.798893, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:08.798920, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:08.798961, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:08.798995,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.799026,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:08.799053,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:08.799078,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:08.799112, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:08.799137, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.799163,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.799189,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.799214,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.799240,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.799269,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.799316,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.799345, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:08.799370, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:08.799421, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:08.799449, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:32:08.799482, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:08.799515, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:08.799553,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.799581,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:08.799918,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:08.800148,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:08.800178,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.800203,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.800228,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.800269,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:08.800305, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:32:08.800334,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15989)
[2014/08/28 14:32:08.800367,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:32:08.800690, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:08.800763,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:08.800822,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 110 (0 toread)
[2014/08/28 14:32:08.800874,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:08.800894,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=25536
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:08.801289, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:08.801346,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15989) conn 0x7fc9022d0050
[2014/08/28 14:32:08.801374,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.801401,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:08.801739,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:08.801969,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:08.801998,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:32:08.802034, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:08.802069,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:08.802098, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 14:32:08.802124,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 14:32:08.802156,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022dddd0:size 9) VERSION.H -> version.h
[2014/08/28 14:32:08.802182,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 14:32:08.802208,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:08.802236,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:08.802269, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.802304, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.802339, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:08.802436,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:32:08.802465,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.802493,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.802519,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.802545,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.802570,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.802637,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.802664,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:08.802690,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.802715,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.802740,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.802790, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:32:08.802817, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:08.802843, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:08.802869, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:32:08.802895,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.802924, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:32:08.802951, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:08.802978, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:08.803004,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:08.803032, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:32:08.803059, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:08.803086,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.803111,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:08.803137,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:08.803162,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.803187,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.803236, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:08.803265,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:08.803292, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:08.803320, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:32:08.803361,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.803392,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.803418, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:08.803464,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:32:08.803490,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.803518,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:08.803544,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:08.803570,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:08.803595,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:08.803644,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:08.803671, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:32:08.803703, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.803729, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.803760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.803872, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.803954, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.804000, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.804054, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.804297, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:08.804323, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.804352, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.804439, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.804612, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.804717, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.804833, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:08.805117, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.805144, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.805170, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.805195, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.805221, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.805246, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.805272, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.805297, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.805322, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.805348, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:08.805374, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:08.805400, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:08.805425, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:08.805459, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 14:32:08.805489,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:08.807196,  5] smbd/files.c:140(file_new)
  allocated file structure 6637, fnum = 10733 (1 used)
[2014/08/28 14:32:08.807226, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:08.807256,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.807284, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:08.807320,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.807347, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.807373, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.807411, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.807437, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.807466, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.807550, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.807632, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.807678, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.807732, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.807973, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.807999, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.808025, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.808050, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.808076, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.808105, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.808133,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.809460,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.809487,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.809516, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 14:32:08.809545, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x70196
[2014/08/28 14:32:08.809581, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.809616, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ed9f0
[2014/08/28 14:32:08.809642, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:08.809672, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:08.809711, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.809756, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f0600
[2014/08/28 14:32:08.809787, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 14:32:08.809813,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x70196, open_access_mask = 0x70196
[2014/08/28 14:32:08.809850, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 14:32:08.809878,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=No write=Yes (numopen=1)
[2014/08/28 14:32:08.809912, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 14:32:08.809989,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 2918248438
[2014/08/28 14:32:08.810022,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/2918248438, tv_sec = 53ff6798, tv_usec = c511b
[2014/08/28 14:32:08.810055, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 14:32:08.810095,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.810128, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.810155, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.810189, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.810216, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.810245, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.810332, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.810413, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.810460, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.810515, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.810761, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.810787, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.810813, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.810839, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.810864, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.810894, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.810922,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.812237,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.812263,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.812290,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.812323, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 14:32:08.812359, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 14:32:08.812464, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.812544, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:08.812575,  5] smbd/files.c:140(file_new)
  allocated file structure 6638, fnum = 10734 (2 used)
[2014/08/28 14:32:08.812605, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:08.812632,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:08.812658, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 14:32:08.812686,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:08.812712, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:08.812738, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:08.812773, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:08.812800, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.812829, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.812913, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:08.813001, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.813048, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:08.813103, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:08.813347, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.813376, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:08.813402, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:08.813428, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.813453, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:08.813483, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:08.813510,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:08.814829,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:08.814856,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:08.814883, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 14:32:08.814914, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.814946, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f3540
[2014/08/28 14:32:08.814972, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:08.814999, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:08.815036, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:08.815067, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f36f0
[2014/08/28 14:32:08.815094, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 14:32:08.815120,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 14:32:13.549273,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:13.549337,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:32:13.549365,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:32:13.549392,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:13.549418,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:32:13.549444,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:32:13.549470, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:13.549496,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:32:13.549522,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:32:13.549548, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:32:13.549573, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:32:13.549598,  5] ../lib/util/util.c:415(dump_data)
  [0000] 97 78 79 2E C5 B7 61 C5                            .xy...a. 
[2014/08/28 14:32:13.549634, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:32:13.549660, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:32:13.549688, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:32:13.549713,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:32:13.549741,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.549770,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.549801,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.549827,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.549852,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.549923, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.549951, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.549977, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.550002, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.550031,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.550060, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.550087, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.550113, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.550139,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.550167, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.550193, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.550221,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.550247,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.550272,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.550297,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.550322,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.550374, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.550404,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.550435, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.550464, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.550508,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.550535,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.550560,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.550585,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.550610,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.550652, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.550681,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.550711,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.550736,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.550800,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.550892,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:32:13.550922,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.550948,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.550973,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.550999,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.551023,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.551078,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.551107, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:32:13.551141,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:32:13.551169,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.551195,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.551220,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.551246,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.551270,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.551313, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.551342,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.551375, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.551401, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.551427, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.551453, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.551479,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.551508, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.551534, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.551561, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.551587,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.551615, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.551641, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.551668,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.551693,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.551719,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.551744,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.551769,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.551811, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.551846,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.551872, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.551900, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.551939, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.551971,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.552001,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:32:13.552044,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:32:13.552074,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:32:13 2014
  )
[2014/08/28 14:32:13.552109,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552135,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.552160,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552186,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.552211,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.552253, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.552282,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.552309,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552335,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.552360,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552385,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.552410,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.552449,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.552474,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.552509,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.552538,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.552564,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552590,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.552615,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.552640,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.552682, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:32:13.552710,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552737,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.552763,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552793,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.552819,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.552844,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.552886, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.552915,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.552943,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.552968,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.552994,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.553037, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:32:13.553169,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:32:13.553197,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553223,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.553248,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553274,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.553298,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.553345,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.553372, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:32:13.553411,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:32:13.553436,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553462,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.553487,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553513,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.553538,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.553584,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.553611, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:32:13.553649,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:32:13.553675,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553701,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.553726,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553752,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.553777,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.553823,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.553849, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:32:13.553888,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:32:13.553919,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553945,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.553971,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.553996,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.554021,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.554067,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554094, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:32:13.554134,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:32:13.554160,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554186,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554212,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554237,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.554262,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.554308,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554335, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:32:13.554373,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:32:13.554399,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554425,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554451,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554476,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.554501,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.554548,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554575, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:32:13.554613,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:32:13.554639,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554665,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554690,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554716,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.554741,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.554786,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554813, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:32:13.554851,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:32:13.554877,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554903,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.554928,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.554959,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.554984,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.555031,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555057, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:32:13.555096,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:32:13.555121,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555147,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555172,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555198,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.555222,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.555268,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555295, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:32:13.555333,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:32:13.555359,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555384,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555410,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555435,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.555460,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.555506,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555533, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:32:13.555571,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:32:13.555596,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555622,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555647,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555673,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.555697,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.555743,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555770, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:32:13.555808,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:32:13.555834,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555859,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.555885,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.555910,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.555935,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.555987,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556013, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:32:13.556052,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:32:13.556077,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556103,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556129,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556154,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.556179,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.556225,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556252, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:32:13.556291,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:32:13.556317,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556343,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556369,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556394,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.556419,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.556465,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556508, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:32:13.556548,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:32:13.556573,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556599,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556625,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556650,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.556675,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.556720,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556747, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:32:13.556785,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:32:13.556811,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556837,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556862,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.556887,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.556912,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.556958,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.556984, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:32:13.557029,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:32:13.557055,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.557080,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557106,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.557131,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.557156,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.557201,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557228, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:32:13.557270,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:32:13.557300,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.557328,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:32:13.557355,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557380,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.557406,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557431,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.557456,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.557498,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.557525,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:32:13.557550,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:32:13.557579, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:32:13.557629, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:13.557657,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557683,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.557708,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557734,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.557758,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.557806,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.557832, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:13.557859,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557885,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.557910,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.557936,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.557960,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.558030, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:13.558058,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.558084,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558110,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.558136,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.558161,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.558208,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558234, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:13.558265,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:32:13.558293,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.558333, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:13.558360,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558386,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.558412,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558437,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.558462,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.558509,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.558535, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:13.558562,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558588,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.558613,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558639,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.558664,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.558719, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:13.558746,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.558772,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558798,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.558823,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.558848,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.558895,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.558921, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:13.558952,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:32:13.558979,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.559006,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.559037,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.559063,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.559088,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.559113,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.559277,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.559310,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:32:13.559354,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:32:13.559386,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:32:13.559418,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:32:13.559449,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:32:13.559481,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:32:13.559512,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:32:13.559543,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:32:13.559575,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:32:13.559606,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:32:13.559638,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:32:13.559669,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:32:13.559701,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:32:13.559732,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:32:13.559764,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:32:13.559795,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:32:13.559826,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:32:13.559858,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:32:13.559889,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:32:13.559920,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:32:13.559952,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:32:13.559993,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:32:13.560023,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:32:13.560116, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:32:13.560145,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.560172,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.560203,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.560229,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.560254,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.560293,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:13.560322,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.560348,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.560373,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.560398,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.560423,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.560462,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.560496,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.560524,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.560549,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.560574,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.560616, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.560645,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.560673,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.560699,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.560724,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.560750,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.560774,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.560817, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.560845,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.560876, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.560902, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.560928, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.560954, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.560981,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.561011, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.561037, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.561064, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.561091,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.561120, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.561150, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.561178,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.561204,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.561229,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.561254,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.561279,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.561322, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.561351,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.561377, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.561405, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.561446, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.561477,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.561505,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.561531,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.561558,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.561586,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.561612,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:32:13.561641,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.561667,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.561693,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.561718,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.561743,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.561782,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:13.561809,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.561834,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.561860,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.561885,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.561910,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.561950,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.561976,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.562001,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.562027,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.562052,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.562100, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.562129,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.562156,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.562182,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.562207,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.562233,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.562257,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.562299, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.562328,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.562357, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.562384, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.562409, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.562435, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.562461,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.562489, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.562515, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.562542, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.562568,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.562598, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.562625, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.562651,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.562677,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.562702,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.562728,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.562753,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.562796, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.562825,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.562851, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.562879, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.562920, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.562951,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.562980,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.563011,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.563038,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.563067,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.563093, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:32:13.563123,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563149,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.563174,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563200,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.563224,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.563263,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:13.563290,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.563315,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563341,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.563366,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.563391,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.563438,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:13.563476,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563502,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:13.563530,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.563556, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.563584,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563610,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.563635,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563661,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.563686,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.563725,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:13.563752,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.563777,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563803,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.563828,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.563853,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.563896,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:13.563932,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.563963,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:13.563992,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.564018, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.564046,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.564072,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.564097,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.564123,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.564148,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.564194,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.564220, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:13.564247, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:13.564274,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.564300,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.564325,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.564351,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.564376,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.564422,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.564448, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:13.564475, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:13.564508,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.564534,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.564559,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.564585,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.564610,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.564656,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.564683, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:13.564709, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:13.564736, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:32:13.564766, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:32:13.564793, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:32:13.564819, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:32:13.564849, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.565199, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.565425, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:32:13.565452, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:32:13.565478, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:32:13.565507,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:32:13.565533,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:32:13.565676, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:32:13.565704,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:32:13.565729,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:32:13.565764, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353939312F31
[2014/08/28 14:32:13.565807, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d79e0
[2014/08/28 14:32:13.565846, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353939312F31
[2014/08/28 14:32:13.565895,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:32:13.565921,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.565947,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.565973,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.565999,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:32:13.566054,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:32:13.566081, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:32:13.566110,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:32:13.566153,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:13.566222,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.566237,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=25664
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:32:13.566422, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:32:13.567150, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:32:13.567229,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:32:13.567288,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:32:13.567334,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.567349,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=25728
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:32:13.567533, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:32:13.567592,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15991) conn 0x0
[2014/08/28 14:32:13.567618,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.567644,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.567669,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.567708,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:13.567741,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:32:13.567778,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:32:13.567809,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:32:13.567842,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:13.567870, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:13.567895, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:13.567923,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.567949,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.567974,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.568000,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.568024,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.568075, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.568102, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.568128, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.568154, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.568187,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.568216, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.568243, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.568269, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.568296,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.568324, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.568350, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.568377,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.568403,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.568428,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.568453,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.568478,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.568553, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.568582,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.568610, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.568638, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.568678,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.568704,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.568729,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.568754,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.568779,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.568821, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.568850,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.568878,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:13.568903,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:13.568930,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:13.568963,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:13.568990,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.569016,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.569041,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.569067,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.569091,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.569134, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.569169,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.569199, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.569225, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.569251, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.569277, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.569303,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.569331, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.569357, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.569384, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.569410,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.569438, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.569465, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.569491,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.569517,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.569542,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.569568,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.569593,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.569636, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.569664,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.569691, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.569718, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.569758, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.569792,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.569823,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:13.569883,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:13.569910,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:13.569962, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:13.569988, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.570014,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.570040,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.570065,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.570090,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.570121,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.570167,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.570196, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:13.570221, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.570284, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:13.570320,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.570346,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.570373,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.570403, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:13.570430,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:32:13.570469, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.570499, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:32:13.570526,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:32:13.570555, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:32:13.570581,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:32:13.570609, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:32:13.570634,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:32:13.570659,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:32:13.570685, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:32:13.570724,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:32:13.570790, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 773E0000FFFFFFFF7684
[2014/08/28 14:32:13.570822, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:32:13.570868, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 773E0000FFFFFFFF7684
[2014/08/28 14:32:13.570972, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:13.571004,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:13.571032, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:13.571057, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:13.571083,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.571109,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.571135,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.571160,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.571185,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.571231, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.571263, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.571289, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.571315, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.571341,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.571370, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.571396, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.571423, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.571449,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.571477, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.571503, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.571529,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.571555,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.571580,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.571605,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.571630,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.571672, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.571701,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.571728, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.571755, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.571796,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.571822,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.571847,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.571873,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.571897,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.571939, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.571968,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.571995,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:13.572020,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:13.572047,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:13.572079,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:13.572106,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.572131,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.572156,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.572187,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.572212,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.572254, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.572282,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.572312, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.572338, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.572364, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.572390, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.572416,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.572443, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.572469, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.572520, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.572547,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.572575, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.572601, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.572627,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.572653,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.572678,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.572703,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.572728,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.572771, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.572799,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.572825, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.572853, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.572893, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.572926,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.572957,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:13.572984,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:13.573009,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:13.573043, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:13.573068, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.573094,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.573125,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.573151,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.573176,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.573201,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.573247,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.573276, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:13.573302, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.573351, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:13.573379, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:32:13.573412, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.573445, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.573483,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.573511,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.573850,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.574079,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:13.574108,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.574134,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.574158,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.574198,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:13.574235, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:32:13.574263,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15991)
[2014/08/28 14:32:13.574297,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:32:13.574560, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:13.574630,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:13.574688,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 110 (0 toread)
[2014/08/28 14:32:13.574746,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.574774,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=25792
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:13.575170, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:13.575227,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15991) conn 0x7fc9022e9e20
[2014/08/28 14:32:13.575254,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.575281,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.575621,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.575850,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:13.575880,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:32:13.575914, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:13.575949,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:13.575978, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 14:32:13.576005,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 14:32:13.576036,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022dddd0:size 9) VERSION.H -> version.h
[2014/08/28 14:32:13.576066,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 14:32:13.576093,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:13.576121,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:13.576148, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.576183, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.576217, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:13.576312,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:32:13.576340,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.576369,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.576395,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.576420,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.576445,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.576519,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.576547,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.576572,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.576597,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.576622,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.576671, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:32:13.576698, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.576724, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.576750, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:32:13.576777,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.576806, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:32:13.576832, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.576859, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.576885,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.576913, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:32:13.576940, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.576966,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.576992,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.577018,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.577049,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.577074,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.577117, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.577145,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.577172, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:13.577200, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:32:13.577241,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.577272,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.577298, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:13.577344,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:32:13.577370,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.577398,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.577424,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.577449,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.577474,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.577524,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.577551, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:32:13.577582, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.577609, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.577640, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.577751, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.577834, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.577880, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.577933, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.578182, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:13.578209, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.578237, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.578319, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.578400, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.578446, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.578497, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.578738, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.578765, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.578791, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.578816, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.578842, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.578867, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.578893, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.578918, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.578944, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.578969, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.578995, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:13.579021, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:13.579047, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:13.579080, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 14:32:13.579111,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:13.581072,  5] smbd/files.c:140(file_new)
  allocated file structure 6634, fnum = 10730 (1 used)
[2014/08/28 14:32:13.581108, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:13.581138,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.581166, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:13.581197,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.581224, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.581250, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.581289, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.581315, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.581344, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.581429, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.581512, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.581558, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.581613, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.581858, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.581885, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.581910, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.581936, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.581961, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.581991, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.582018,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.583340,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.583366,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.583395, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 14:32:13.583424, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x7019f
[2014/08/28 14:32:13.583461, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.583495, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d54d0
[2014/08/28 14:32:13.583521, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:13.583551, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:13.583590, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.583634, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d9ba0
[2014/08/28 14:32:13.583665, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 14:32:13.583691,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x7019f, open_access_mask = 0x7019f
[2014/08/28 14:32:13.583723, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 14:32:13.583750,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 14:32:13.583784, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 14:32:13.583862,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 3345635776
[2014/08/28 14:32:13.583904,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/3345635776, tv_sec = 53ff679d, tv_usec = 8ddd0
[2014/08/28 14:32:13.583939, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 14:32:13.583975,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.584002, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.584028, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.584063, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.584089, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.584118, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.584205, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.584288, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.584335, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.584391, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.584665, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.584692, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.584718, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.584743, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.584768, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.584798, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.584826,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.586138,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.586165,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.586191,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.586225, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 14:32:13.586261, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 14:32:13.586366, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.586397, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.586428,  5] smbd/files.c:140(file_new)
  allocated file structure 6635, fnum = 10731 (2 used)
[2014/08/28 14:32:13.586457, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:13.586484,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.586510, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 14:32:13.586538,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.586564, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.586590, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.586624, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.586651, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.586685, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.586771, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.586853, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.586903, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.586957, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.587202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.587229, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.587254, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.587280, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.587305, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.587334, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.587362,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.588695,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.588722,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.588749, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 14:32:13.588780, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.588812, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f3640
[2014/08/28 14:32:13.588838, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:13.588865, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:13.588902, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.588933, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f37f0
[2014/08/28 14:32:13.588959, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 14:32:13.588986,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 14:32:13.611465,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:13.611600,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:32:13.611662,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:32:13.611724,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:13.611782,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:32:13.611841,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:32:13.611899, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:13.611956,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:32:13.612016,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:32:13.612073, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:32:13.612129, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:32:13.612186,  5] ../lib/util/util.c:415(dump_data)
  [0000] AC 34 C7 46 0A ED 75 2F                            .4.F..u/ 
[2014/08/28 14:32:13.612266, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:32:13.612325, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:32:13.612387, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:32:13.612456,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:32:13.612531,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.612596,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.612655,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.612712,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.612768,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.612912, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.612975, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.613034, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.613091, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.613154,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.613219, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.613278, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.613338, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.613397,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.613460, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.613519, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.613581,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.613640,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.613697,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.613754,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.613810,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.613921, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.613988,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.614056, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.614123, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.614220,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.614279,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.614336,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.614393,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.614449,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.614543, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.614619,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.614686,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.614743,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.614873,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.615039,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:32:13.615104,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.615163,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.615220,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.615278,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.615334,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.615449,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.615513, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:32:13.615591,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:32:13.615653,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.615711,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.615768,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.615826,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.615882,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.615976, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.616041,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.616113, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.616173, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.616231, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.616289, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.616348,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.616412, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.616470, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.616582, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.616642,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.616706, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.616766, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.616825,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.616884,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.616941,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.617010,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.617068,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.617163, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.617227,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.617288, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.617349, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.617439, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.617510,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.617576,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:32:13.617669,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:32:13.617734,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:32:13 2014
  )
[2014/08/28 14:32:13.617814,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.617872,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.617929,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.617986,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.618042,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.618136, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.618201,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.618261,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.618319,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.618375,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.618432,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.618488,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.618575,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.618632,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.618692,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.618755,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.618813,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.618870,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.618927,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.618982,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.619075, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:32:13.619149,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.619209,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.619266,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.619323,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.619380,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.619435,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.619529, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.619593,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.619656,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.619712,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.619771,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.619857, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:32:13.620135,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:32:13.620197,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.620256,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.620313,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.620371,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.620427,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.620545,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.620606, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:32:13.620694,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:32:13.620753,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.620811,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.620868,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.620925,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.620981,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.621083,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.621144, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:32:13.621230,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:32:13.621289,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.621348,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.621405,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.621463,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.621519,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.621632,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.621695, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:32:13.621782,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:32:13.621840,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.621899,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.621956,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.622013,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.622069,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.622171,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.622231, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:32:13.622322,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:32:13.622380,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.622439,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.622497,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.622554,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.622611,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.622713,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.622774, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:32:13.622861,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:32:13.622918,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.622977,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.623034,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.623091,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.623148,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.623250,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.623311, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:32:13.623398,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:32:13.623456,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.623515,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.623572,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.623630,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.623686,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.623789,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.623849, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:32:13.623935,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:32:13.624005,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.624064,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.624121,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.624178,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.624233,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.624335,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.624396, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:32:13.624482,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:32:13.624552,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.624611,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.624668,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.624725,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.624781,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.624883,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.624943, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:32:13.625030,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:32:13.625088,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.625146,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.625203,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.625260,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.625316,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.625418,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.625478, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:32:13.625564,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:32:13.625622,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.625680,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.625736,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.625793,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.625848,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.625950,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.626010, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:32:13.626096,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:32:13.626153,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.626211,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.626281,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.626338,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.626394,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.626496,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.626556, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:32:13.626642,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:32:13.626699,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.626757,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.626814,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.626871,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.626927,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.627029,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.627089, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:32:13.627179,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:32:13.627237,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.627295,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.627352,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.627409,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.627464,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.627566,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.627627, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:32:13.627712,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:32:13.627770,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.627828,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.627884,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.627941,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.627996,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.628098,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.628159, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:32:13.628244,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:32:13.628301,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.628359,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.628416,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.628473,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.628572,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.628676,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.628725, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:32:13.628764,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:32:13.628789,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.628815,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.628841,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.628866,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.628891,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.628937,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.628964, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:32:13.629002,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:32:13.629032,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.629062,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:32:13.629088,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629114,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.629139,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629165,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.629189,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.629232,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.629258,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:32:13.629283,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:32:13.629313, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:32:13.629362, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:13.629390,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629416,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.629442,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629467,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.629492,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.629539,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.629565, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:13.629593,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629618,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.629648,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629674,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.629699,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.629764, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:13.629792,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.629818,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629844,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.629869,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.629894,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.629941,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.629968, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:13.630000,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:32:13.630028,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.630067, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:13.630094,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630120,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.630146,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630171,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.630196,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.630243,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.630269, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:13.630296,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630322,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.630347,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630373,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.630398,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.630453, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:13.630480,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.630507,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630532,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.630557,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.630582,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.630629,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630655, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:13.630693,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:32:13.630721,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.630747,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630773,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.630798,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.630823,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.630848,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.631013,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.631047,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:32:13.631091,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:32:13.631124,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:32:13.631156,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:32:13.631187,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:32:13.631219,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:32:13.631250,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:32:13.631281,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:32:13.631313,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:32:13.631344,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:32:13.631376,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:32:13.631408,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:32:13.631439,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:32:13.631471,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:32:13.631502,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:32:13.631533,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:32:13.631565,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:32:13.631596,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:32:13.631628,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:32:13.631659,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:32:13.631691,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:32:13.631731,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:32:13.631762,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:32:13.631862, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:32:13.631892,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.631918,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.631944,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.631970,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.631995,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.632035,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:13.632063,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.632089,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.632115,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.632140,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.632165,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.632205,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.632231,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.632257,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.632282,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.632307,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.632350, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.632379,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.632406,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.632432,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.632457,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.632484,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.632517,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.632560, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.632588,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.632619, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.632645, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.632671, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.632697, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.632724,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.632754, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.632780, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.632812, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.632840,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.632868, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.632895, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.632922,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.632948,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.632973,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.632998,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.633023,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.633065, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.633094,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.633121, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.633149, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.633189, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.633219,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.633248,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.633274,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.633300,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.633329,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.633355,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:32:13.633384,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.633410,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.633436,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.633461,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.633487,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.633526,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:13.633552,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.633578,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.633604,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.633629,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.633654,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.633693,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.633720,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.633751,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.633777,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.633802,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.633844, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.633873,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.633900,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.633926,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.633951,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.633977,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.634002,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.634044, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.634073,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.634103, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.634129, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.634154, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.634180, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.634206,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.634235, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.634261, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.634287, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.634314,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.634343, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.634370, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.634396,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.634422,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.634448,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.634473,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.634498,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.634540, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.634569,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.634596, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.634624, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.634670, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.634701,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.634730,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.634756,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.634782,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.634812,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.634838, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:32:13.634868,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.634894,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.634920,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.634945,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.634970,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.635009,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:13.635036,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.635062,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635087,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.635112,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.635137,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.635185,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:13.635222,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635249,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:13.635277,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.635303, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.635331,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635357,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.635382,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635408,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.635433,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.635471,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:13.635498,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.635524,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635549,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.635575,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.635605,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.635649,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:13.635685,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635711,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:13.635739,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.635765, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.635793,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635819,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.635844,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.635870,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.635895,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.635940,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.635967, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:13.635993, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:13.636020,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.636046,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.636072,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.636097,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.636122,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.636169,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.636195, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:13.636222, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:13.636249,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.636275,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.636300,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.636326,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.636351,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.636397,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.636423, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:13.636450, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:13.636477, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:32:13.636513, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:32:13.636540, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:32:13.636572, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:32:13.636603, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.636946, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.637173, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:32:13.637200, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:32:13.637226, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:32:13.637256,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:32:13.637281,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:32:13.637425, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:32:13.637453,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:32:13.637478,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:32:13.637513, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353939322F31
[2014/08/28 14:32:13.637558, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d79e0
[2014/08/28 14:32:13.637596, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353939322F31
[2014/08/28 14:32:13.637645,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:32:13.637672,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.637697,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.637723,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.637748,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:32:13.637804,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:32:13.637830, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:32:13.637865,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:32:13.637909,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:13.637971,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.637986,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=25920
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:32:13.638171, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:32:13.638841, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:32:13.638912,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:32:13.638970,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:32:13.639022,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.639037,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=25984
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:32:13.639222, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:32:13.639281,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15992) conn 0x0
[2014/08/28 14:32:13.639307,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.639333,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.639358,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.639398,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:13.639431,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:32:13.639467,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:32:13.639498,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:32:13.639532,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:13.639560, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:13.639585, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:13.639613,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.639639,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.639665,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.639690,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.639715,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.639765, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.639798, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.639824, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.639850, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.639876,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.639905, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.639931, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.639958, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.639984,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.640012, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.640038, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.640065,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.640090,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.640116,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.640141,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.640166,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.640208, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.640237,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.640264, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.640291, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.640331,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.640357,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.640382,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.640408,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.640433,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.640475, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.640519,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.640547,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:13.640572,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:13.640599,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:13.640632,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:13.640659,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.640685,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.640710,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.640741,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.640766,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.640808, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.640836,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.640866, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.640893, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.640918, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.640944, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.640970,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.640998, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.641024, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.641050, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.641077,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.641104, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.641130, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.641157,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.641182,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.641208,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.641233,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.641258,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.641301, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.641329,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.641356, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.641383, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.641423, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.641457,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.641488,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:13.641548,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:13.641574,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:13.641625, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:13.641651, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.641677,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.641708,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.641734,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.641759,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.641784,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.641830,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.641859, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:13.641884, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.641944, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:13.641982,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.642008,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.642034,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.642064, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:13.642091,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:32:13.642131, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.642161, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:32:13.642188,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:32:13.642217, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:32:13.642243,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:32:13.642271, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:32:13.642297,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:32:13.642322,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:32:13.642347, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:32:13.642387,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:32:13.642452, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 783E0000FFFFFFFF3FE9
[2014/08/28 14:32:13.642496, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:32:13.642536, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 783E0000FFFFFFFF3FE9
[2014/08/28 14:32:13.642637, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:13.642669,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:13.642697, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:13.642722, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:13.642748,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.642774,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.642800,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.642830,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.642856,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.642902, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.642929, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.642955, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.642981, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.643007,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.643036, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.643062, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.643089, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.643115,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.643143, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.643169, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.643196,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.643221,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.643247,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.643272,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.643297,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.643339, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.643368,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.643395, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.643422, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.643463,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.643489,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.643515,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.643540,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.643565,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.643607, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.643635,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.643662,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:13.643687,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:13.643714,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:13.643746,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:13.643778,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.643804,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.643829,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.643854,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.643879,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.643921, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.643949,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.643980, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.644006, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.644031, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.644057, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.644083,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.644110, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.644136, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.644162, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.644189,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.644216, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.644242, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.644269,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.644294,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.644320,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.644345,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.644369,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.644411, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.644440,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.644466, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.644502, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.644543, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.644576,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.644607,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:13.644634,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:13.644659,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:13.644699, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:13.644724, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.644750,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.644776,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.644802,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.644827,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.644852,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.644898,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.644927, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:13.644953, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.645002, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:13.645031, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:32:13.645064, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.645097, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.645135,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.645163,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.645501,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.645731,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:13.645760,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.645786,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.645811,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.645850,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:13.645887, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:32:13.645922,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15992)
[2014/08/28 14:32:13.645956,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:32:13.646245, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:13.646315,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:13.646373,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 110 (0 toread)
[2014/08/28 14:32:13.646431,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.646457,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=26048
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:13.646851, 10] ../lib/util/util.c:415(dump_data)
  [0000] 01 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:13.646908,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15992) conn 0x7fc9022e9e20
[2014/08/28 14:32:13.646936,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.646963,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.647302,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.647531,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:13.647560,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:32:13.647595, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:13.647630,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:13.647664, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 14:32:13.647691,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 14:32:13.647722,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022dddd0:size 9) VERSION.H -> version.h
[2014/08/28 14:32:13.647749,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 14:32:13.647774,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:13.647803,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:13.647830, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.647865, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.647899, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:13.647995,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:32:13.648024,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.648052,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.648078,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.648104,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.648129,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.648195,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.648222,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.648247,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.648273,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.648298,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.648347, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:32:13.648375, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.648401, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.648427, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:32:13.648454,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.648484, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:32:13.648518, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.648544, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.648571,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.648599, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:32:13.648625, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.648658,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.648684,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.648710,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.648735,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.648760,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.648804, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.648832,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.648859, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:13.648887, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:32:13.648928,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.648958,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.648985, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:13.649030,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:32:13.649056,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.649084,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.649110,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.649136,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.649161,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.649209,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.649237, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:32:13.649268, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.649295, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.649326, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.649438, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.649520, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.649566, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.649620, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.649870, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:13.649897, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.649926, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.650008, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.650089, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.650135, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.650186, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.650427, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.650453, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.650479, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.650505, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.650531, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.650557, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.650582, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.650608, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.650633, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.650659, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.650686, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:13.650712, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:13.650737, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:13.650771, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 14:32:13.650801,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:13.652536,  5] smbd/files.c:140(file_new)
  allocated file structure 6629, fnum = 10725 (1 used)
[2014/08/28 14:32:13.652567, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:13.652597,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.652625, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:13.652656,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.652683, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.652709, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.652747, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.652774, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.652803, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.652888, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.652971, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.653018, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.653073, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.653318, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.653344, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.653370, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.653396, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.653421, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.653451, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.653478,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.654795,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.654822,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.654851, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 14:32:13.654880, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x70197
[2014/08/28 14:32:13.654916, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.654950, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d54d0
[2014/08/28 14:32:13.654977, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:13.655007, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:13.655046, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.655090, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d9ba0
[2014/08/28 14:32:13.655121, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 14:32:13.655148,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x70197, open_access_mask = 0x70197
[2014/08/28 14:32:13.655180, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 14:32:13.655208,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 14:32:13.655248, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 14:32:13.655321,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 3232486118
[2014/08/28 14:32:13.655358,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/3232486118, tv_sec = 53ff679d, tv_usec = 9f4f7
[2014/08/28 14:32:13.655393, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 14:32:13.655429,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.655456, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.655482, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.655516, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.655542, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.655572, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.655659, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.655742, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.655789, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.655844, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.656090, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.656116, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.656142, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.656167, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.656193, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.656223, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.656250,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.657577,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.657604,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.657630,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.657663, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 14:32:13.657700, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 14:32:13.657804, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.657836, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.657867,  5] smbd/files.c:140(file_new)
  allocated file structure 6630, fnum = 10726 (2 used)
[2014/08/28 14:32:13.657896, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:13.657923,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.657949, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 14:32:13.657977,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.658003, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.658035, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.658070, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.658096, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.658126, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.658210, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.658292, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.658342, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.658397, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.658642, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.658669, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.658695, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.658720, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.658746, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.658775, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.658803,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.660126,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.660152,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.660179, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 14:32:13.660211, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.660242, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f3640
[2014/08/28 14:32:13.660268, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:13.660295, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:13.660332, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.660363, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f37f0
[2014/08/28 14:32:13.660389, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 14:32:13.660416,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 14:32:13.682435,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:13.682570,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:32:13.682632,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:32:13.682694,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:13.682751,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:32:13.682810,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:32:13.682868, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:13.682925,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:32:13.682985,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:32:13.683042, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:32:13.683098, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:32:13.683155,  5] ../lib/util/util.c:415(dump_data)
  [0000] 30 F4 2C 75 81 3D 09 20                            0.,u.=.  
[2014/08/28 14:32:13.683248, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:32:13.683307, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:32:13.683368, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:32:13.683424,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:32:13.683488,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.683552,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.683609,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.683666,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.683722,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.683865, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.683929, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.683987, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.684044, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.684107,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.684172, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.684231, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.684291, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.684349,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.684411, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.684470, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.684550,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.684609,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.684665,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.684722,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.684778,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.684888, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.684956,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.685023, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.685090, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.685187,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.685246,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.685303,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.685359,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.685428,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.685522, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.685587,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.685652,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.685708,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.685838,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.686003,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:32:13.686069,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.686128,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.686185,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.686242,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.686297,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.686414,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.686478, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:32:13.686555,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:32:13.686617,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.686675,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.686731,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.686788,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.686844,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.686939, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.687003,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.687075, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.687135, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.687194, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.687252, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.687311,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.687375, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.687433, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.687494, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.687553,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.687616, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.687675, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.687747,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.687806,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.687863,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.687919,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.687975,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.688069, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.688133,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.688192, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.688255, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.688344, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.688414,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.688480,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:32:13.688618,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:32:13.688684,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:32:13 2014
  )
[2014/08/28 14:32:13.688742,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.688768,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.688794,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.688819,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.688844,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.688886, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.688915,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.688942,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.688967,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.688992,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.689018,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.689042,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.689081,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.689107,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.689133,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.689162,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.689188,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.689213,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.689243,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.689269,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.689311, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:32:13.689340,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.689366,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.689392,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.689417,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.689442,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.689467,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.689509, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.689537,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.689565,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.689591,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.689617,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.689660, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:32:13.689791,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:32:13.689819,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.689845,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.689871,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.689896,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.689921,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.689967,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.689994, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:32:13.690033,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:32:13.690059,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690085,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690110,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690136,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.690161,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.690206,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690233, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:32:13.690272,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:32:13.690298,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690324,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690355,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690381,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.690406,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.690452,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690479, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:32:13.690517,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:32:13.690543,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690569,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690594,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690620,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.690645,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.690691,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690718, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:32:13.690758,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:32:13.690784,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690810,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690836,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.690861,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.690886,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.690931,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.690958, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:32:13.690997,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:32:13.691022,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691048,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691074,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691099,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.691124,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.691170,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691197, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:32:13.691236,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:32:13.691262,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691288,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691313,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691338,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.691363,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.691415,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691441, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:32:13.691480,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:32:13.691505,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691531,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691556,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691581,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.691606,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.691652,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691679, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:32:13.691717,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:32:13.691742,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691768,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691794,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.691819,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.691844,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.691890,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.691917, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:32:13.691955,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:32:13.691980,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692006,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692032,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692057,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.692082,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.692128,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692154, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:32:13.692192,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:32:13.692218,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692244,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692269,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692295,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.692319,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.692366,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692392, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:32:13.692436,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:32:13.692462,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692494,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692520,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692546,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.692571,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.692617,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692644, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:32:13.692683,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:32:13.692709,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692735,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692760,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692785,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.692810,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.692856,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692883, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:32:13.692923,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:32:13.692948,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.692974,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.692999,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.693025,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.693050,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.693095,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693122, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:32:13.693160,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:32:13.693186,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.693212,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693237,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.693262,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.693287,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.693332,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693359, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:32:13.693397,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:32:13.693423,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.693455,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693480,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.693505,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.693530,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.693576,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693603, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:32:13.693642,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:32:13.693667,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.693693,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693718,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.693743,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.693768,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.693814,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693841, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:32:13.693878,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:32:13.693908,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.693936,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:32:13.693962,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.693988,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.694013,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694038,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.694063,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.694105,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.694131,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:32:13.694156,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:32:13.694185, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:32:13.694235, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:13.694263,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694288,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.694314,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694339,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.694364,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.694411,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.694443, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:13.694470,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694496,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.694521,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694546,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.694571,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.694635, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:13.694663,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.694689,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694714,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.694740,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.694764,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.694812,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694838, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:13.694869,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:32:13.694897,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.694936, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:13.694963,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.694989,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.695014,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.695040,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.695065,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.695111,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.695138, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:13.695165,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.695190,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.695215,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.695241,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.695265,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.695321, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:13.695348,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.695374,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.695399,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.695424,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.695455,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.695502,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.695528, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:13.695559,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:32:13.695586,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.695612,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.695638,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.695663,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.695688,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.695713,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.695878,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.695911,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:32:13.695955,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:32:13.695987,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:32:13.696019,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:32:13.696050,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:32:13.696082,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:32:13.696113,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:32:13.696144,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:32:13.696175,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:32:13.696207,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:32:13.696238,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:32:13.696269,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:32:13.696300,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:32:13.696332,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:32:13.696363,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:32:13.696394,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:32:13.696425,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:32:13.696456,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:32:13.696492,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:32:13.696525,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:32:13.696561,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:32:13.696602,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:32:13.696633,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:32:13.696727, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:32:13.696756,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.696783,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.696808,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.696834,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.696859,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.696899,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:13.696927,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.696953,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.696978,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.697004,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.697028,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.697068,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.697095,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.697120,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.697145,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.697170,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.697213, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.697242,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.697269,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.697294,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.697320,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.697345,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.697370,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.697412, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.697441,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.697471, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.697498, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.697523, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.697549, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.697582,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.697612, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.697638, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.697665, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.697692,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.697720, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.697747, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.697774,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.697799,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.697825,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.697850,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.697875,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.697917, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.697946,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.697973, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.698001, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.698041, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.698072,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.698101,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.698126,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.698153,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.698182,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.698208,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:32:13.698237,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.698263,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.698288,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.698314,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.698339,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.698378,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:13.698404,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.698430,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.698456,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.698481,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.698512,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.698551,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.698578,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.698603,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.698628,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.698653,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.698695, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.698724,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.698751,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.698777,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.698802,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.698828,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.698852,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.698894, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.698923,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.698952, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:13.698979, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.699004, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.699030, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:13.699056,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.699085, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:13.699111, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.699137, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.699164,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.699193, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:13.699220, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.699246,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.699272,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.699298,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.699323,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.699348,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.699391, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.699419,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.699452, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:13.699480, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:13.699521, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.699552,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.699581,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.699606,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.699632,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.699661,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.699687, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:32:13.699717,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.699743,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.699769,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.699794,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.699819,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.699859,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:13.699885,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.699911,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.699936,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.699961,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.699986,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.700033,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:13.700070,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700096,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:13.700124,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.700150, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.700178,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700204,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.700229,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700254,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.700279,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.700318,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:13.700344,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.700376,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700401,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.700426,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.700451,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.700518,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:13.700556,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700583,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:13.700610,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.700636, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.700665,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700691,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.700716,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700741,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.700766,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.700812,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.700838, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:13.700865, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:13.700892,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700917,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.700943,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.700968,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.700993,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.701038,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.701065, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:13.701091, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:13.701118,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.701144,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.701169,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.701194,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.701219,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.701265,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.701291, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:13.701318, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:13.701345, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:32:13.701381, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:32:13.701408, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:32:13.701434, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:32:13.701464, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.701806, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.702032, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:32:13.702059, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:32:13.702084, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:32:13.702114,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:32:13.702140,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:32:13.702283, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:32:13.702310,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:32:13.702336,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:32:13.702371, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353939332F31
[2014/08/28 14:32:13.702416, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d79e0
[2014/08/28 14:32:13.702455, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353939332F31
[2014/08/28 14:32:13.702503,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:32:13.702530,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.702555,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.702582,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.702612,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:32:13.702668,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:32:13.702695, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:32:13.702724,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:32:13.702768,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:13.702832,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.702847,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=26176
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:32:13.703031, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:32:13.703787, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:32:13.703857,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:32:13.703916,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:32:13.703967,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.703982,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=26240
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:32:13.704167, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:32:13.704226,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15993) conn 0x0
[2014/08/28 14:32:13.704252,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.704278,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.704303,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.704342,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:13.704375,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:32:13.704411,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:32:13.704442,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:32:13.704475,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:13.704512, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:13.704537, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:13.704565,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.704591,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.704616,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.704647,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.704673,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.704722, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.704749, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.704775, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.704800, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.704827,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.704856, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.704883, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.704909, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.704936,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.704964, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.704990, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.705017,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.705043,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.705068,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.705093,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.705118,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.705161, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.705189,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.705216, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.705244, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.705284,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.705309,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.705335,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.705360,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.705384,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.705426, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.705455,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.705482,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:13.705507,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:13.705534,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:13.705566,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:13.705599,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.705624,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.705649,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.705674,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.705699,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.705741, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.705769,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.705799, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.705825, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.705851, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.705876, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.705902,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.705930, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.705956, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.705983, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.706009,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.706036, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.706063, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.706089,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.706114,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.706139,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.706164,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.706189,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.706231, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.706260,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.706286, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.706314, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.706353, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.706387,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.706418,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:13.706477,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:13.706505,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:13.706561, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:13.706588, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.706613,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.706639,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.706664,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.706689,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.706714,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.706759,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.706788, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:13.706813, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.706873, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:13.706910,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:13.706936,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:13.706962,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:13.706992, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:13.707019,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:32:13.707058, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.707088, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:32:13.707115,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:32:13.707144, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:32:13.707170,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:32:13.707197, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:32:13.707223,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:32:13.707248,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:32:13.707273, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:32:13.707312,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:32:13.707378, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 793E0000FFFFFFFFF6F7
[2014/08/28 14:32:13.707422, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:32:13.707463, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 793E0000FFFFFFFFF6F7
[2014/08/28 14:32:13.707565, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:13.707597,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:13.707625, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:13.707650, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:13.707685,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.707711,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.707736,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.707761,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.707786,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.707832, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.707859, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.707885, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.707910, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.707937,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.707966, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.707992, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.708019, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.708045,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.708073, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.708099, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.708126,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.708152,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.708177,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.708202,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.708227,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.708270, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.708298,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.708325, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.708353, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.708394,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.708420,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.708445,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.708470,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.708503,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.708545, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:13.708574,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.708601,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:13.708633,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:13.708659,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:13.708691,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:13.708718,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.708744,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.708769,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.708794,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.708819,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.708861, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.708889,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.708920, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:13.708946, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.708972, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.708997, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:13.709024,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.709051, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:13.709077, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.709104, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.709130,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.709158, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:13.709185, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.709211,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.709237,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.709262,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.709287,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.709312,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.709354, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.709383,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.709410, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:13.709437, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:13.709478, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:13.709511,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.709548,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:13.709575,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:13.709601,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:13.709634, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:13.709660, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.709686,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.709712,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.709737,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.709763,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.709788,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.709834,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.709863, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:13.709889, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:13.709938, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:13.709967, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:32:13.709999, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.710032, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:13.710070,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.710098,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.710436,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.710666,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:13.710695,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.710720,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.710751,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.710791,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:13.710828, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:32:13.710857,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15993)
[2014/08/28 14:32:13.710891,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:32:13.711253, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:32:13.711323,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:32:13.711381,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 110 (0 toread)
[2014/08/28 14:32:13.711436,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:13.711450,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=26304
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:32:13.711849, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:32:13.711906,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15993) conn 0x7fc9022e9e20
[2014/08/28 14:32:13.711933,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.711960,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:13.712300,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:13.712545,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:13.712575,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:32:13.712616, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:32:13.712652,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:32:13.712681, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 14:32:13.712707,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 14:32:13.712739,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022dddd0:size 9) VERSION.H -> version.h
[2014/08/28 14:32:13.712765,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 14:32:13.712790,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:32:13.712819,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:13.712846, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.712881, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.712915, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:13.713011,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:32:13.713040,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.713068,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.713094,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.713120,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.713145,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.713211,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.713238,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:13.713263,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.713289,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.713314,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.713363, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:32:13.713390, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:13.713416, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:13.713442, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:32:13.713469,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.713498, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:32:13.713524, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:13.713551, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:13.713583,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:13.713611, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:32:13.713638, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:13.713664,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.713690,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:13.713716,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:13.713741,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.713765,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.713808, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:13.713836,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:13.713863, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:13.713891, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:32:13.713932,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.713963,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.713989, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:13.714034,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:32:13.714061,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.714089,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:13.714115,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:13.714140,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:13.714165,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:13.714214,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:13.714241, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:32:13.714272, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.714299, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.714330, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.714441, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.714523, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.714569, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.714628, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.714873, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:13.714900, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.714928, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.715009, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.715090, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.715136, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.715187, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:13.715428, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.715454, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.715480, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.715505, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.715530, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.715556, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.715581, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.715606, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.715632, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.715657, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:13.715683, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:13.715709, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:13.715735, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:13.715774, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 14:32:13.715804,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:13.717532,  5] smbd/files.c:140(file_new)
  allocated file structure 6628, fnum = 10724 (1 used)
[2014/08/28 14:32:13.717562, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:13.717592,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.717620, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:32:13.717651,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.717677, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.717704, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.717741, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.717768, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.717797, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.717882, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.717965, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.718011, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.718066, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.718310, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.718336, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.718362, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.718387, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.718413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.718448, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.718476,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.719784,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.719810,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.719839, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 14:32:13.719868, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x70196
[2014/08/28 14:32:13.719904, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.719938, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d54d0
[2014/08/28 14:32:13.719965, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:13.719995, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:13.720034, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.720077, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d9ba0
[2014/08/28 14:32:13.720109, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 14:32:13.720141,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x70196, open_access_mask = 0x70196
[2014/08/28 14:32:13.720173, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 28. 
[2014/08/28 14:32:13.720201,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=No write=Yes (numopen=1)
[2014/08/28 14:32:13.720235, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 14:32:13.720307,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 946971660
[2014/08/28 14:32:13.720344,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/946971660, tv_sec = 53ff679d, tv_usec = af2db
[2014/08/28 14:32:13.720378, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 14:32:13.720416,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.720442, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.720469, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.720512, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.720539, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.720568, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.720655, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.720737, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.720785, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.720840, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.721086, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.721113, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.721138, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.721163, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.721189, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.721219, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.721246,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.722568,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.722595,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.722621,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.722654, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 14:32:13.722690, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 14:32:13.722793, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.722824, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x2 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x8 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:32:13.722855,  5] smbd/files.c:140(file_new)
  allocated file structure 6629, fnum = 10725 (2 used)
[2014/08/28 14:32:13.722885, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:32:13.722912,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:32:13.722938, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x0 access_mask=0x2 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=8 private_flags = 0x0
[2014/08/28 14:32:13.722971,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:32:13.722998, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:32:13.723025, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:32:13.723059, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:13.723085, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.723115, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.723200, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:13.723282, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.723332, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:32:13.723386, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:32:13.723631, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.723658, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:13.723684, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:13.723709, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.723734, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:32:13.723764, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:13.723791,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:32:13.725140,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:32:13.725167,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:32:13.725194, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x2
[2014/08/28 14:32:13.725227, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.725259, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f3640
[2014/08/28 14:32:13.725285, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:32:13.725312, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:32:13.725349, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:32:13.725380, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f37f0
[2014/08/28 14:32:13.725407, 10] smbd/open.c:1156(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file version.h
[2014/08/28 14:32:13.725434,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x1 flags2=0x0 mode=0744, access_mask = 0x2, open_access_mask = 0x2
[2014/08/28 14:32:15.131887,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:15.132024,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:32:15.132086,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:32:15.132148,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:15.132206,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:32:15.132264,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:32:15.132322, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:32:15.132380,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:32:15.132455,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:32:15.132536, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:32:15.132594, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:32:15.132650,  5] ../lib/util/util.c:415(dump_data)
  [0000] 49 06 7B 08 5F 57 7A 0F                            I.{._Wz. 
[2014/08/28 14:32:15.132731, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:32:15.132791, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:32:15.132853, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:32:15.132909,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:32:15.132971,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.133036,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.133093,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.133151,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.133207,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.133352, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:15.133416, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.133474, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.133532, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:15.133594,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.133660, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:15.133719, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.133778, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.133837,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.133899, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:15.133958, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.134020,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.134078,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.134134,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.134191,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.134247,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.134358, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.134425,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.134493, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:15.134559, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:15.134656,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.134725,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.134783,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.134840,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.134895,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.134990, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:15.135055,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.135120,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:15.135176,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:15.135307,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:15.135475,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:32:15.135541,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.135600,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.135657,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.135714,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.135769,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.135884,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.135949, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:32:15.136025,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:32:15.136087,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.136145,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.136202,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.136258,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.136314,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.136409, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.136474,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.136560, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:15.136620, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.136678, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.136736, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:15.136795,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.136859, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:15.136917, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.136977, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.137048,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.137112, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:15.137171, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.137230,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.137287,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.137344,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.137400,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.137456,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.137550, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.137614,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.137674, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:15.137736, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:15.137825, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:15.137896,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.137962,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:32:15.138055,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:32:15.138120,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:32:15 2014
  )
[2014/08/28 14:32:15.138200,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.138258,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.138315,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.138372,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.138428,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.138522, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:15.138587,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.138648,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.138705,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.138762,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.138819,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.138875,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.138962,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:15.139019,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:15.139078,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:15.139153,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.139213,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.139270,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.139326,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.139381,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.139476, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:32:15.139540,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.139600,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.139657,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.139714,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.139770,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.139826,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.139919, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:15.139983,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.140046,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:15.140102,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:15.140161,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:15.140246, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:32:15.140560,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:32:15.140625,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.140684,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.140730,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.140756,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.140780,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.140827,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.140854, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:32:15.140893,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:32:15.140919,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.140944,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.140970,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.140995,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.141020,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.141066,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141093, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:32:15.141136,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:32:15.141163,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141189,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141214,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141239,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.141264,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.141309,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141336, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:32:15.141375,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:32:15.141400,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141426,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141451,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141476,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.141501,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.141547,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141573, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:32:15.141613,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:32:15.141639,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141665,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141690,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141715,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.141740,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.141786,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141813, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:32:15.141851,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:32:15.141877,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141902,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.141928,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.141953,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.141977,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.142023,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142050, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:32:15.142088,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:32:15.142114,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142140,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142170,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142196,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.142221,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.142266,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142293, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:32:15.142331,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:32:15.142357,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142382,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142408,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142433,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.142457,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.142503,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142530, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:32:15.142568,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:32:15.142593,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142619,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142644,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142669,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.142694,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.142739,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142766, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:32:15.142804,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:32:15.142830,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142855,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.142881,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.142906,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.142931,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.142976,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143002, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:32:15.143040,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:32:15.143066,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143092,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143117,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143143,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.143173,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.143219,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143246, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:32:15.143284,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:32:15.143310,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143335,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143361,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143386,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.143410,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.143456,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143483, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:32:15.143521,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:32:15.143546,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143572,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143597,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143623,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.143647,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.143693,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143720, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:32:15.143759,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:32:15.143785,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143811,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143836,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.143861,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.143886,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.143931,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.143958, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:32:15.143996,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:32:15.144021,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.144047,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144072,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.144098,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.144123,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.144169,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144201, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:32:15.144240,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:32:15.144266,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.144291,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144317,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.144342,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.144367,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.144412,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144439, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:32:15.144477,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:32:15.144510,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.144536,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144561,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.144586,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.144611,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.144657,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144684, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:32:15.144721,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:32:15.144751,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.144780,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:32:15.144807,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144833,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.144858,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.144883,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.144908,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.144951,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.144977,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:32:15.145002,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:32:15.145032, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:32:15.145081, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:15.145109,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145136,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.145161,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145192,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.145217,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.145265,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.145291, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:15.145319,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145344,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.145369,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145395,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.145420,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.145484, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:32:15.145511,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.145537,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145563,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.145588,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.145613,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.145660,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145686, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:32:15.145718,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:32:15.145746,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.145785, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:15.145812,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145838,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.145864,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.145889,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.145914,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.145961,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.145988, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:15.146015,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.146040,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.146066,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.146091,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.146116,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.146171, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:32:15.146198,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.146230,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.146255,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.146281,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.146305,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.146352,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.146378, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:32:15.146410,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:32:15.146437,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.146463,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.146489,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.146514,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.146540,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.146564,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.146728,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.146762,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:32:15.146805,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:32:15.146838,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:32:15.146870,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:32:15.146901,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:32:15.146933,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:32:15.146964,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:32:15.146995,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:32:15.147027,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:32:15.147058,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:32:15.147089,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:32:15.147121,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:32:15.147152,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:32:15.147184,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:32:15.147215,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:32:15.147246,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:32:15.147277,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:32:15.147314,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:32:15.147346,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:32:15.147377,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:32:15.147408,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:32:15.147449,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:32:15.147479,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:32:15.147573, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:32:15.147601,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.147628,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.147654,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.147679,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.147704,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.147744,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:15.147773,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.147799,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.147824,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.147850,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.147875,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.147914,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.147941,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:15.147966,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.147992,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.148017,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.148059, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:15.148088,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.148115,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.148141,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:15.148167,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.148192,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.148217,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.148260, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.148289,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.148319, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:15.148351, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.148377, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.148403, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:15.148430,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.148460, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:15.148491, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.148520, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.148546,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.148575, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:15.148601, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.148628,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.148654,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:15.148679,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.148705,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.148729,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.148772, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.148801,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.148828, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:15.148855, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:15.148896, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:15.148927,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.148955,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:15.148981,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:15.149007,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:15.149036,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.149062,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:32:15.149091,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.149117,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.149143,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.149168,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.149193,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.149232,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:32:15.149264,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.149290,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.149316,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.149341,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.149366,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.149405,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.149432,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:15.149457,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.149482,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.149507,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.149550, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:15.149579,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.149606,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.149632,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:15.149657,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.149682,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.149707,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.149749, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.149778,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.149808, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:32:15.149834, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.149860, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.149886, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:32:15.149912,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.149940, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:32:15.149966, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.149992, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.150019,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.150048, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:32:15.150075, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.150102,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.150128,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:15.150153,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.150178,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.150209,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.150252, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.150280,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.150307, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:32:15.150335, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:32:15.150376, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:15.150407,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.150435,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:15.150460,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:15.150487,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:15.150515,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.150542, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:32:15.150571,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.150597,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.150623,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.150648,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.150673,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.150712,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:15.150738,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.150764,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.150789,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.150815,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.150839,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.150887,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:15.150924,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.150951,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:15.150979,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.151005, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:15.151033,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151059,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.151085,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151110,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.151140,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.151180,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:32:15.151207,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.151232,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151258,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.151283,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.151308,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.151351,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:32:15.151387,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151413,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:32:15.151441,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.151467, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:15.151495,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151521,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.151547,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151572,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.151597,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.151643,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.151670, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:15.151696, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:32:15.151723,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151749,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.151775,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151800,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.151825,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.151872,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.151898, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:15.151924, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:32:15.151951,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.151977,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.152002,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.152028,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.152053,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.152099,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.152131, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:15.152157, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:32:15.152185, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:32:15.152215, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:32:15.152241, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:32:15.152267, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:32:15.152297, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:15.152654, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:15.152880, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:32:15.152907, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:32:15.152933, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:32:15.152963,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:32:15.152989,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:32:15.153130, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:32:15.153158,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:32:15.153184,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:32:15.153219, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353939342F31
[2014/08/28 14:32:15.153251, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d79e0
[2014/08/28 14:32:15.153298, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353939342F31
[2014/08/28 14:32:15.153348,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:32:15.153380,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:15.153406,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:15.153432,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:15.153457,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:32:15.153514,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:32:15.153540, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:32:15.153570,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:32:15.153617,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:31:46 2014
  
[2014/08/28 14:32:15.153681,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:15.153696,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=26432
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:32:15.153879, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:32:15.154524, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:32:15.154601,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:32:15.154660,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:32:15.154706,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:15.154720,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=26496
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:32:15.154904, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:32:15.154963,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15994) conn 0x0
[2014/08/28 14:32:15.154990,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.155015,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.155040,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.155080,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:15.155113,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:32:15.155150,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:32:15.155181,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:32:15.155214,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:15.155242, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:15.155267, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:15.155301,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.155327,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.155352,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.155378,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.155402,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.155453, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:15.155480, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.155505, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.155531, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:15.155557,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.155586, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:15.155612, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.155639, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.155665,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.155693, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:15.155719, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.155746,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.155771,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.155796,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.155821,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.155846,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.155889, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.155918,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.155944, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:15.155972, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:15.156012,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.156038,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.156063,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.156088,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.156113,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.156155, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:15.156183,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.156216,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:15.156242,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:15.156269,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:15.156301,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:15.156328,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.156354,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.156379,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.156405,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.156429,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.156472, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.156516,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.156548, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:15.156574, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.156599, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.156625, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:15.156651,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.156679, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:15.156705, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.156731, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.156757,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.156785, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:15.156811, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.156838,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.156863,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.156889,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.156914,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.156939,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.156982, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.157010,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.157037, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:15.157065, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:15.157104, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:15.157139,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.157175,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:15.157236,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:15.157263,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:15.157315, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:15.157341, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:15.157367,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.157392,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.157417,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.157443,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.157467,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.157513,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.157542, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:15.157567, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:15.157629, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:15.157666,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:32:15.157692,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:32:15.157718,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:32:15.157748, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:15.157775,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:32:15.157814, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:15.157844, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:32:15.157871,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:32:15.157900, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:32:15.157926,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:32:15.157954, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:32:15.157980,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:32:15.158004,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:32:15.158030, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:32:15.158069,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:32:15.158135, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 7A3E0000FFFFFFFF5034
[2014/08/28 14:32:15.158180, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:32:15.158219, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 7A3E0000FFFFFFFF5034
[2014/08/28 14:32:15.158322, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:32:15.158360,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:32:15.158389, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:32:15.158414, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:32:15.158440,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.158465,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.158490,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.158516,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.158540,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.158587, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:15.158614, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.158640, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.158665, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:15.158692,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.158721, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:15.158747, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.158773, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.158800,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.158827, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:15.158854, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.158880,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.158906,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.158931,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.158956,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.158981,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.159024, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.159053,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.159079, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:15.159107, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:15.159148,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.159174,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.159199,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.159224,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.159249,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.159298, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:32:15.159326,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.159353,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:32:15.159379,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:32:15.159405,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:32:15.159437,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:32:15.159464,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.159490,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.159515,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.159540,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.159565,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.159607, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.159636,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.159666, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:32:15.159692, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.159718, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.159744, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:32:15.159770,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.159798, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:32:15.159824, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.159850, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.159876,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.159904, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:32:15.159930, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.159957,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.159982,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.160008,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.160033,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.160058,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.160100, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.160129,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.160155, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:32:15.160183, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:32:15.160229, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:32:15.160262,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.160293,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:32:15.160320,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:32:15.160345,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:32:15.160379, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:32:15.160405, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:15.160431,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.160457,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.160482,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.160518,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.160543,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.160589,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.160618, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:32:15.160644, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:32:15.160694, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:32:15.160722, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:32:15.160755, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:15.160788, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:32:15.160826,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.160855,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:15.161195,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:15.161431,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:15.161461,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.161486,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.161511,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.161551,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:32:15.161587, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:32:15.161616,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15994)
[2014/08/28 14:32:15.161650,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:32:15.162283, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:32:15.162351,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:32:15.162410,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 90 (0 toread)
[2014/08/28 14:32:15.162463,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:15.162478,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=26560
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:32:15.162878, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:32:15.162911,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15994) conn 0x7fc9022e9e20
[2014/08/28 14:32:15.162939,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.162966,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:32:15.163306,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:32:15.163542,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:32:15.163571,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:32:15.163606, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 14:32:15.163641,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:32:15.163670,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:32:15.163696,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:32:15.163724,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:32:15.163751, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:15.163785, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:32:15.163816,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:32:15.163849, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:15.163948,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:32:15.163976,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.164004,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.164031,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.164056,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.164081,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.164148,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.164175,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:32:15.164201,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.164226,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.164251,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.164300, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:32:15.164328, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:32:15.164354, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:32:15.164379, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:32:15.164406,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.164435, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:32:15.164461, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:32:15.164519, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:32:15.164597,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:32:15.164662, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:32:15.164723, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:32:15.164783,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.164843,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:32:15.164900,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:32:15.164932,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.164957,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.165001, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:32:15.165029,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:32:15.165056, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:15.165084, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:32:15.165126,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.165157,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.165183, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:32:15.165229,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:32:15.165255,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.165284,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:32:15.165310,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:32:15.165335,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:32:15.165360,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:32:15.165409,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:32:15.165436, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:32:15.165468, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:15.165494, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.165525, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:15.165637, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:15.165720, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.165766, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.165825, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.166070, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:15.166096, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.166126, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:15.166207, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:15.166288, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.166334, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.166384, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.166625, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.166651, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.166677, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:15.166703, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:15.166728, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.166754, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.166779, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.166805, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:15.166830, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:15.166855, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.166882, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:15.166908, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:15.166934, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:15.166974, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 14:32:15.167012,  5] smbd/files.c:140(file_new)
  allocated file structure 6629, fnum = 10725 (1 used)
[2014/08/28 14:32:15.167042, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:32:15.167072, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 28. 
[2014/08/28 14:32:15.167106, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:32:15.167152, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d00e0
[2014/08/28 14:32:15.167186, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:32:15.167232, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15994, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x67c0, type= 0x0, gen_id = 1079980441, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:15.167265, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:32:15.167298, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:32:15.167324, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:32:15.167352,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:32:15.167380, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:32:15.167406, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:32:15.167445, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:32:15.167471, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.167500, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:15.167584, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:15.167666, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.167712, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.167766, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.168011, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:32:15.168037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.168066, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:32:15.168154, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:32:15.168236, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.168283, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.168335, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:32:15.168587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.168614, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.168640, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:15.168665, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:15.168691, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.168717, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.168742, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.168767, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:32:15.168793, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:32:15.168818, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:32:15.168844, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:32:15.168870, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:32:15.168896, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:32:15.168927, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:32:15.168957,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:32:15.170660,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:32:15.170687,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:32:15.170720, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:32:15.170762, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15994, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x67c0, type= 0x0, gen_id = 1079980441, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:32:15.170803,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10725, open name = .
[2014/08/28 14:32:15.171099, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:32:15.171168,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:32:15.171228,  3] smbd/process.c:1662(process_smb)
  Transaction 5 of length 88 (0 toread)
[2014/08/28 14:32:15.171281,  5] lib/util.c:332(show_msg)
[2014/08/28 14:32:15.171296,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=26624
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=10725 (0x29E5)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:32:15.171685, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:32:15.171719,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15994) conn 0x7fc9022e9e20
[2014/08/28 14:32:15.171746,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:32:15.171775, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 14:32:15.171804, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 14:32:15.171830, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 E5 29 00 00                            .....).. 
[2014/08/28 14:32:15.171867,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 14:32:15.171900,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 14:32:15.171934, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:32:15.171978, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022c32b0
[2014/08/28 14:32:15.172020, 10] smbd/notify_internal.c:235(notify_load)
  notify_load:
[2014/08/28 14:32:15.172047,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       notify->array: struct notify_array
          num_depths               : 0x00000003 (3)
          depth: ARRAY(3)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000003 (3)
                  num_entries              : 0x00000001 (1)
                  entries: ARRAY(1)
                      entries: struct notify_entry
                          server: struct server_id
                              pid                      : 0x00003420 (13344)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x80f30b550c1b6b45 (9291782916098714437)
                          filter                   : 0x00000000 (0)
                          subdir_filter            : 0x00000003 (3)
                          dir_fd                   : 0x0000001c (28)
                          dir_id: struct file_id
                              devid                    : 0x0000000000000816 (2070)
                              inode                    : 0x0000000000000002 (2)
                              extid                    : 0x0000000000000000 (0)
                          path                     : '/shared/projects'
                          path_len                 : 0x00000010 (16)
                          private_data             : 0x7fc9022d14a0
[2014/08/28 14:32:15.172527, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 1
[2014/08/28 14:32:15.172557, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:32:15.172588, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 14:32:28.748911, 10] lib/messages_local.c:74(messaging_tdb_signal_handler)
  messaging_tdb_signal_handler: sig[10] count[1] msgs[1]
[2014/08/28 14:32:28.748994, 10] lib/messages_local.c:466(message_dispatch)
  message_dispatch: received_messages = 1
[2014/08/28 14:32:28.749073, 10] lib/messages_local.c:215(messaging_tdb_fetch)
  messaging_tdb_fetch:
[2014/08/28 14:32:28.749132,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       result: struct messaging_array
          num_messages             : 0x00000001 (1)
          messages: ARRAY(1)
              messages: struct messaging_rec
                  msg_version              : 0x00000002 (2)
                  msg_type                 : MSG_SMB_UNLOCK (773)
                  dest: struct server_id
                      pid                      : 0x00003e7a (15994)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x78c0e65220533450 (8701207720483828816)
                  src: struct server_id
                      pid                      : 0x000033db (13275)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0xed6f475c2e4113ce (17108971970642383822)
                  buf                      : DATA_BLOB length=0
-------------- next part --------------
[2014/08/28 13:59:30.585776,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:59:30.587266,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
[2014/08/28 13:59:30.587333,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.587366,  5] lib/util.c:342(show_msg)
  size=71
  smb_com=0xa0
  smb_rcls=32
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11009
  smt_wct=18
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=    0 (0x0)
  smb_bcc=0
[2014/08/28 13:59:30.588111, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.588163,  3] smbd/nttrans.c:1348(reply_ntcancel)
  reply_ntcancel: cancel called on mid = 11009.
[2014/08/28 13:59:30.588237, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:59:30.588301,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:59:30.588359,  3] smbd/process.c:1662(process_smb)
  Transaction 48 of length 110 (0 toread)
[2014/08/28 13:59:30.588417,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.588449,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11072
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:59:30.589371, 10] ../lib/util/util.c:415(dump_data)
  [0000] 02 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:59:30.589498,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.589561,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:59:30.589622,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:59:30.590380,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:59:30.591053,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:59:30.591121, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:59:30.591186,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:30.591248, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:30.591313,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.591374,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.591432, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:30.591499, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:30.591568,  5] smbd/files.c:140(file_new)
  allocated file structure 9067, fnum = 13163 (2 used)
[2014/08/28 13:59:30.591633, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:59:30.591693,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:59:30.591752, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:30.591816,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:30.591874, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:30.591933, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:30.592016, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.592075, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.592141, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.592337, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.592536, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.592641, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.592763, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.593327, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.593386, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.593444, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.593501, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.593558, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.593624, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.593685,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:30.596686,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:30.596730,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:30.596757,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 13:59:30.596789,  5] smbd/files.c:482(file_free)
  freed files structure 13163 (1 used)
[2014/08/28 13:59:30.596816, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.596842, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.596869,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.596895,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.596910,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11072
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:30.597050, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.597082, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:59:30.597112,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:59:30.597137,  3] smbd/process.c:1662(process_smb)
  Transaction 49 of length 45 (0 toread)
[2014/08/28 13:59:30.597167,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.597181,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=11137
  smt_wct=3
  smb_vwv[ 0]=13162 (0x336A)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:59:30.597354, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.597370,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.597396,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.597422,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13162
[2014/08/28 13:59:30.597452, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.597487, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 13:59:30.597513, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.597555, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x2ac1, type= 0x0, gen_id = 3921328249, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.597583, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:30.597612, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.597646, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:30.597673, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:30.597706, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.597735, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022de1c0
[2014/08/28 13:59:30.597760, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.597792, 10] smbd/notify_inotify.c:358(watch_destructor)
  Deleting inotify watch 2
[2014/08/28 13:59:30.597827, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 13:59:30.597856, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d0300
[2014/08/28 13:59:30.597883, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 13:59:30.597913,  5] smbd/files.c:482(file_free)
  freed files structure 13162 (0 used)
[2014/08/28 13:59:30.597940,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.597960,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=11137
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:30.598101, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.598122,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 13:59:30.598148,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:59:30.598173,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:59:30.598219,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 13:59:30.598253, 10] smbd/notify_inotify.c:164(inotify_dispatch)
  inotify_dispatch called with mask=8000, name=[]
[2014/08/28 13:59:30.598284, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:59:30.598312,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:59:30.598338,  3] smbd/process.c:1662(process_smb)
  Transaction 50 of length 110 (0 toread)
[2014/08/28 13:59:30.598363,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.598378,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11200
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:59:30.598771, 10] ../lib/util/util.c:415(dump_data)
  [0000] 01 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:59:30.598827,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.598854,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:59:30.598881,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 13:59:30.599219,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 13:59:30.599452,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 13:59:30.599482, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:59:30.599510,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:30.599538, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:30.599566,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.599593,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.599619, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:30.599648, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:30.599678,  5] smbd/files.c:140(file_new)
  allocated file structure 9068, fnum = 13164 (1 used)
[2014/08/28 13:59:30.599707, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:59:30.599734,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:59:30.599760, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:30.599788,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:30.599813, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:30.599839, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:30.599876, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.599902, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.599931, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.600017, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.600098, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.600145, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.600198, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.600446, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.600472, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.600507, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.600532, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.600558, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.600587, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.600615,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:30.601931,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:30.601958,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:30.601985,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 13:59:30.602011,  5] smbd/files.c:482(file_free)
  freed files structure 13164 (0 used)
[2014/08/28 13:59:30.602037, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.602068, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.602095,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.602121,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.602136,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11200
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:30.602276, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.602835, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:59:30.602914,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:59:30.602974,  3] smbd/process.c:1662(process_smb)
  Transaction 51 of length 110 (0 toread)
[2014/08/28 13:59:30.603032,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.603065,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11264
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:59:30.603503, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:59:30.603559,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.603585,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.603613, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:59:30.603641,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:30.603668, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:30.603696,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.603723,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.603748, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:30.603777, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:30.603808,  5] smbd/files.c:140(file_new)
  allocated file structure 9069, fnum = 13165 (1 used)
[2014/08/28 13:59:30.603836, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:59:30.603863,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:59:30.603889, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:30.603922,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:30.603949, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:30.603975, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:30.604011, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.604037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.604066, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.604152, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.604234, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.604281, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.604335, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.604587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.604614, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.604639, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.604665, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.604690, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.604719, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.604746,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:30.606057,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:30.606084,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:30.606110,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 13:59:30.606137,  5] smbd/files.c:482(file_free)
  freed files structure 13165 (0 used)
[2014/08/28 13:59:30.606163, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.606189, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.606215,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 13:59:30.606241,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.606255,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11264
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:30.606395, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.606928, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 13:59:30.606996,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 13:59:30.607055,  3] smbd/process.c:1662(process_smb)
  Transaction 52 of length 100 (0 toread)
[2014/08/28 13:59:30.607111,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.607126,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11328
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 13:59:30.607427, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 13:59:30.607486,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.607518,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.607545,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 13:59:30.607573,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:30.607599, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:30.607627,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.607653,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.607682, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:59:30.607714, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:59:30.607740,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 13:59:30.607767,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1004 max_data=40
[2014/08/28 13:59:30.607794,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:30.607819, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:30.607846, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:30.607881, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.607907, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.607936, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.608021, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.608102, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.608148, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.608201, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.608442, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.608468, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.608510, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.608537, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.608562, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.608598, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.608625,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:30.609943,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:30.609970,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:30.610001, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 13:59:30.610027,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu Aug 28 12:09:17 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu Aug 28 13:58:33 2014
   change: Thu Aug 28 13:58:33 2014
   mode: 20
[2014/08/28 13:59:30.610112,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 13:59:30.610138,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 13:59:30.610163,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.610178,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11328
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 13:59:30.610430, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 F1 75 4A   09 D2 C2 CF 01 F1 75 4A   ......uJ ......uJ
  [0010] 09 D2 C2 CF 01 38 FD A1   4C E1 C2 CF 01 38 FD A1   .....8.. L....8..
  [0020] 4C E1 C2 CF 01 20 00 00   00 00 00 00 00           L.... .. .....
[2014/08/28 13:59:30.610731, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 13:59:30.610799,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 13:59:30.610858,  3] smbd/process.c:1662(process_smb)
  Transaction 53 of length 100 (0 toread)
[2014/08/28 13:59:30.610916,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.610943,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11392
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 13:59:30.611242, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 13:59:30.611300,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.611327,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.611353,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 13:59:30.611381,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:30.611407, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:30.611435,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.611462,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.611491, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:59:30.611521, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:59:30.611547,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 13:59:30.611574,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1005 max_data=24
[2014/08/28 13:59:30.611600,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:30.611625, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:30.611651, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:30.611686, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.611712, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.611742, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.611826, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.611907, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.611959, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.612012, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.612252, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.612278, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.612304, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.612330, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.612355, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.612384, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.612411,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:30.613730,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:30.613757,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:30.613787, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:30.613813,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:30.613838,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:30.613864,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.613879,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11392
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:30.614125, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 00 00 00           ........ .....
[2014/08/28 13:59:30.615196, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:59:30.615264,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:59:30.615323,  3] smbd/process.c:1662(process_smb)
  Transaction 54 of length 90 (0 toread)
[2014/08/28 13:59:30.615380,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.615395,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11456
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 13:59:30.615790, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:30.615823,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.615849,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.615876, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 13:59:30.615905,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:59:30.615932,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:59:30.615957,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:30.615983,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.616009, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:30.616044, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:30.616074,  5] smbd/files.c:140(file_new)
  allocated file structure 9070, fnum = 13166 (1 used)
[2014/08/28 13:59:30.616103, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:30.616128,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 13:59:30.616154, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:30.616182,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.616207, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.616233, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.616270, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.616296, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.616325, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.616409, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.616500, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.616547, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.616600, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.616864, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.616890, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.616919, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.617001, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.617082, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.617133, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.617185, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.617424, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.617451, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.617477, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.617502, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.617528, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.617553, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.617578, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.617604, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.617629, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.617655, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.617681, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.617706, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.617732, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.617762, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.617790,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.619489,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.619516,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.619542, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 13:59:30.619574, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.619605, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022be150
[2014/08/28 13:59:30.619631, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 13:59:30.619659, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.619696, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.619725, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902301940
[2014/08/28 13:59:30.619757, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 13:59:30.619783,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 13:59:30.619813, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 13:59:30.619841, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:30.619868, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:30.619896, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.619928,  5] smbd/files.c:482(file_free)
  freed files structure 13166 (0 used)
[2014/08/28 13:59:30.619955,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:59:30.619983, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.620021, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.620047, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.620076, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.620161, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.620243, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.620289, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.620343, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.620613, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.620640, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.620669, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.620750, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.620832, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.620877, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.620935, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.621178, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.621205, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.621230, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.621256, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.621282, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.621307, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.621332, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.621358, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.621383, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.621409, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.621435, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.621460, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.621486, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.621517, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 13:59:30.621546,  5] smbd/files.c:140(file_new)
  allocated file structure 9071, fnum = 13167 (1 used)
[2014/08/28 13:59:30.621575, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:30.621603, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 13:59:30.621635, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.621664, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023014f0
[2014/08/28 13:59:30.621692, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:59:30.621733, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2cc0, type= 0x0, gen_id = 3921328254, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.621763, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.621796, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:59:30.621821, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:59:30.621848,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.621874, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.621906, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.621944, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.621970, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.621998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.622082, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.622165, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.622211, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.622265, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.622509, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.622535, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.622564, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.622646, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.622728, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.622774, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.622826, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.623067, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.623094, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.623119, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.623150, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.623176, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.623202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.623227, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.623253, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.623278, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.623303, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.623329, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.623355, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.623380, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.623411, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.623438,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.625134,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.625161,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.625192, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.625234, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2cc0, type= 0x0, gen_id = 3921328254, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.625265,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13167, open name = .
[2014/08/28 13:59:30.625797, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:30.625865,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:30.625924,  3] smbd/process.c:1662(process_smb)
  Transaction 55 of length 76 (0 toread)
[2014/08/28 13:59:30.625979,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.625994,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11520
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:30.626294, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 6F 33 ED 03                              ...o3.. 
[2014/08/28 13:59:30.626329,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.626356,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.626389,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:59:30.626420, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.626461, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2cc0, type= 0x0, gen_id = 3921328254, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.626488, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:30.626514,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13167) level=1005 call=7 total_data=0
[2014/08/28 13:59:30.626541,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13167) level=1005 max_data=24
[2014/08/28 13:59:30.626567,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.626593, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.626619, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.626656, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.626682, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.626712, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.626796, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.626878, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.626923, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.626977, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.627218, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.627244, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.627273, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.627354, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.627435, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.627485, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.627537, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.627776, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.627802, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.627828, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.627854, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.627879, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.627904, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.627930, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.627955, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.627981, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.628006, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.628032, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.628058, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.628083, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.628113, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.628140,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.629840,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.629867,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.629897, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:30.629924,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:30.629950,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:30.629975,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.629990,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11520
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:30.630241, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:59:30.630552, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:30.630620,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:30.630679,  3] smbd/process.c:1662(process_smb)
  Transaction 56 of length 76 (0 toread)
[2014/08/28 13:59:30.630735,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.630750,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11584
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:30.631050, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 6F 33 ED 03                              ...o3.. 
[2014/08/28 13:59:30.631084,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.631110,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.631137,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:59:30.631169, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.631210, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2cc0, type= 0x0, gen_id = 3921328254, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.631237, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:30.631263,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13167) level=1005 call=7 total_data=0
[2014/08/28 13:59:30.631290,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13167) level=1005 max_data=24
[2014/08/28 13:59:30.631316,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.631341, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.631367, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.631404, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.631430, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.631459, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.631543, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.631625, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.631676, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.631731, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.631972, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.631999, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.632028, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.632109, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.632190, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.632235, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.632286, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.632544, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.632571, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.632597, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.632623, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.632648, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.632674, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.632699, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.632725, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.632750, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.632776, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.632802, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.632833, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.632859, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.632890, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.632917,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.634606,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.634633,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.634662, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:30.634689,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:30.634715,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:30.634741,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.634755,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11584
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:30.635002, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:59:30.635326, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 13:59:30.635394,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 13:59:30.635453,  3] smbd/process.c:1662(process_smb)
  Transaction 57 of length 106 (0 toread)
[2014/08/28 13:59:30.635509,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.635524,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11648
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 13:59:30.635827, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 13:59:30.635903,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.635930,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.635959,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 13:59:30.635990,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:30.636023, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:30.636051,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.636078,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.636104,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 13:59:30.636130,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 13:59:30.636156,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:30.636182,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.636213,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 13:59:30.636239,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 13:59:30.636264,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 13:59:30.636294,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.636320,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.636349,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022bdd00 now at offset -1
[2014/08/28 13:59:30.636377,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 13:59:30.636402, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 13:59:30.636429, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 13:59:30.636464, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.636501, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.636531, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.636615, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.636697, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.636743, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.636796, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.637036, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.637063, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.637088, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.637114, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.637148, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.637177, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.637205,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:30.638510,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:30.638536,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:30.638568, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:59:30.638594,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 13:59:30.638625, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 13:59:30.638651, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 13:59:30.638679,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 13:59:30.638705,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 13:59:30.638734,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 13:59:30.638759,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 13:59:30.638791,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.638806,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11648
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 13:59:30.639051, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 F1 75 4A   09 D2 C2 CF 01 F1 75 4A   ......uJ ......uJ
  [0020] 09 D2 C2 CF 01 38 FD A1   4C E1 C2 CF 01 38 FD A1   .....8.. L....8..
  [0030] 4C E1 C2 CF 01 00 00 00   00 00 00 00 00 00 00 00   L....... ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 13:59:30.639242,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 13:59:30.639518, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:59:30.639584,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:59:30.639643,  3] smbd/process.c:1662(process_smb)
  Transaction 58 of length 45 (0 toread)
[2014/08/28 13:59:30.639700,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.639715,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=11712
  smt_wct=3
  smb_vwv[ 0]=13167 (0x336F)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:59:30.639888, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.639903,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.639929,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.639955,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13167
[2014/08/28 13:59:30.639985, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.640015, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 13:59:30.640041, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.640082, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2cc0, type= 0x0, gen_id = 3921328254, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.640110, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:30.640137, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.640170, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:30.640196, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:30.640224,  5] smbd/files.c:482(file_free)
  freed files structure 13167 (0 used)
[2014/08/28 13:59:30.640251,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.640265,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=11712
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:30.640412, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.640889, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:59:30.640959,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:59:30.641017,  3] smbd/process.c:1662(process_smb)
  Transaction 59 of length 90 (0 toread)
[2014/08/28 13:59:30.641074,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.641089,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11776
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 13:59:30.641482, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:30.641515,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.641541,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.641568, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 13:59:30.641596,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:59:30.641623,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:59:30.641648,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:30.641675,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.641700, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:30.641729, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:30.641759,  5] smbd/files.c:140(file_new)
  allocated file structure 9072, fnum = 13168 (1 used)
[2014/08/28 13:59:30.641788, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:30.641814,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 13:59:30.641840, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:30.641868,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.641893, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.641919, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.641957, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.641983, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.642018, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.642103, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.642185, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.642231, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.642285, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.642544, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.642570, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.642599, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.642680, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.642761, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.642807, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.642858, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.643098, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.643124, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.643150, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.643176, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.643202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.643228, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.643253, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.643284, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.643309, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.643335, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.643361, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.643387, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.643412, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.643443, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.643470,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.645183,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.645211,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.645237, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 13:59:30.645269, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.645299, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cfd50
[2014/08/28 13:59:30.645325, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 13:59:30.645353, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.645390, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.645419, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902301940
[2014/08/28 13:59:30.645446, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 13:59:30.645472,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 13:59:30.645501, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 13:59:30.645529, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:30.645556, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:30.645583, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.645616,  5] smbd/files.c:482(file_free)
  freed files structure 13168 (0 used)
[2014/08/28 13:59:30.645642,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:59:30.645671, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.645708, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.645734, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.645763, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.645852, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.645934, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.645981, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.646035, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.646279, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.646305, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.646334, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.646415, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.646497, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.646542, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.646594, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.646835, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.646862, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.646887, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.646913, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.646939, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.646964, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.646990, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.647015, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.647046, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.647071, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.647097, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.647123, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.647149, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.647179, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 13:59:30.647208,  5] smbd/files.c:140(file_new)
  allocated file structure 9073, fnum = 13169 (1 used)
[2014/08/28 13:59:30.647237, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:30.647265, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 13:59:30.647296, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.647325, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023014f0
[2014/08/28 13:59:30.647353, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:59:30.647394, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2e00, type= 0x0, gen_id = 3921328256, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.647424, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.647456, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:59:30.647482, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:59:30.647508,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.647534, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.647560, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.647597, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.647622, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.647652, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.647736, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.647818, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.647864, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.647919, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.648170, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.648196, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.648225, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.648307, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.648389, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.648435, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.648496, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.648739, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.648766, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.648791, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.648817, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.648842, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.648868, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.648893, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.648918, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.648944, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.648969, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.648995, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.649020, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.649046, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.649076, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.649103,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.650798,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.650824,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.650855, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.650896, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2e00, type= 0x0, gen_id = 3921328256, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.650926,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13169, open name = .
[2014/08/28 13:59:30.651370, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:30.651438,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:30.651497,  3] smbd/process.c:1662(process_smb)
  Transaction 60 of length 76 (0 toread)
[2014/08/28 13:59:30.651553,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.651568,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11840
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:30.651868, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 71 33 ED 03                              ...q3.. 
[2014/08/28 13:59:30.651902,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.651929,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.651956,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:59:30.651988, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.652029, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2e00, type= 0x0, gen_id = 3921328256, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.652056, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:30.652082,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13169) level=1005 call=7 total_data=0
[2014/08/28 13:59:30.652109,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13169) level=1005 max_data=24
[2014/08/28 13:59:30.652136,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.652161, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.652187, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.652225, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.652251, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.652285, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.652370, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.652452, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.652521, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.652576, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.652831, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.652858, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.652887, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.652968, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.653048, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.653094, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.653145, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.653383, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.653410, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.653436, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.653462, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.653487, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.653513, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.653538, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.653570, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.653595, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.653621, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.653647, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.653673, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.653698, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.653729, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.653756,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.655454,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.655481,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.655510, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:30.655537,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:30.655563,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:30.655589,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.655603,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11840
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:30.655850, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:59:30.656135, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:30.656203,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:30.656262,  3] smbd/process.c:1662(process_smb)
  Transaction 61 of length 76 (0 toread)
[2014/08/28 13:59:30.656320,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.656346,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11904
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:30.656660, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 71 33 ED 03                              ...q3.. 
[2014/08/28 13:59:30.656694,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.656727,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.656754,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:59:30.656786, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.656827, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2e00, type= 0x0, gen_id = 3921328256, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.656854, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:30.656880,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13169) level=1005 call=7 total_data=0
[2014/08/28 13:59:30.656907,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13169) level=1005 max_data=24
[2014/08/28 13:59:30.656933,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:30.656958, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:30.656984, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:30.657021, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.657047, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.657076, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.657161, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.657243, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.657289, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.657342, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.657583, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:30.657609, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.657638, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.657719, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.657800, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.657852, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.657903, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:30.658142, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.658168, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.658194, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.658220, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.658245, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.658271, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.658296, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.658321, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:30.658347, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.658372, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:30.658398, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:30.658423, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:30.658449, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:30.658479, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.658507,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:30.660204,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:30.660231,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:30.660260, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:30.660287,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:30.660313,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:30.660339,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.660353,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11904
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:30.660612, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:59:30.660964, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 13:59:30.661033,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 13:59:30.661092,  3] smbd/process.c:1662(process_smb)
  Transaction 62 of length 106 (0 toread)
[2014/08/28 13:59:30.661148,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.661162,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11968
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 13:59:30.661462, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 13:59:30.661539,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.661565,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.661594,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 13:59:30.661624,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:30.661652, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:30.661681,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.661707,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.661733,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 13:59:30.661760,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 13:59:30.661785,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:30.661811,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.661842,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 13:59:30.661868,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 13:59:30.661894,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 13:59:30.661923,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:30.661950,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:30.661978,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022bdb10 now at offset -1
[2014/08/28 13:59:30.662006,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 13:59:30.662031, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 13:59:30.662058, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 13:59:30.662099, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:30.662125, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.662154, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.662239, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:30.662320, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.662366, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:30.662419, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:30.662659, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.662685, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:30.662710, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:30.662736, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.662761, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:30.662790, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:30.662817,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:30.664131,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:30.664158,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:30.664189, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 13:59:30.664215,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 13:59:30.664245, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 13:59:30.664271, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 13:59:30.664299,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 13:59:30.664325,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 13:59:30.664353,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 13:59:30.664379,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 13:59:30.664405,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.664419,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=11968
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 13:59:30.664678, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 F1 75 4A   09 D2 C2 CF 01 F1 75 4A   ......uJ ......uJ
  [0020] 09 D2 C2 CF 01 38 FD A1   4C E1 C2 CF 01 38 FD A1   .....8.. L....8..
  [0030] 4C E1 C2 CF 01 00 00 00   00 00 00 00 00 00 00 00   L....... ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 13:59:30.664871,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 13:59:30.665189, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:59:30.665256,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:59:30.665323,  3] smbd/process.c:1662(process_smb)
  Transaction 63 of length 45 (0 toread)
[2014/08/28 13:59:30.665376,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.665391,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=12032
  smt_wct=3
  smb_vwv[ 0]=13169 (0x3371)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:59:30.665564, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:30.665580,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:30.665606,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:30.665632,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13169
[2014/08/28 13:59:30.665662, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:30.665691, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 13:59:30.665717, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:30.665758, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x2e00, type= 0x0, gen_id = 3921328256, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:30.665786, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:30.665813, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:30.665846, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:30.665873, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:30.665900,  5] smbd/files.c:482(file_free)
  freed files structure 13169 (0 used)
[2014/08/28 13:59:30.665926,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:30.665941,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=12032
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:30.666082, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:32.840095, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 13:59:32.840180,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 13:59:32.840239,  3] smbd/process.c:1662(process_smb)
  Transaction 64 of length 74 (0 toread)
[2014/08/28 13:59:32.840297,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.840330,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12096
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 13:59:32.841037, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 13:59:32.841115,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.841175,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.841237,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 13:59:32.841306,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 13:59:32.841397,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 13:59:32.841456,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 13:59:32.841514,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.841546,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12096
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 13:59:32.842100, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 13:59:32.842233,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 13:59:32.843412, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 13:59:32.843479,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 13:59:32.843537,  3] smbd/process.c:1662(process_smb)
  Transaction 65 of length 74 (0 toread)
[2014/08/28 13:59:32.843595,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.843628,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12160
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 13:59:32.844303, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 13:59:32.844377,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.844436,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.844505,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 13:59:32.844569,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 13:59:32.844638,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 13:59:32.844696,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 13:59:32.844753,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.844785,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12160
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 13:59:32.845337, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 13:59:32.845470,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 13:59:32.846074, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 104
[2014/08/28 13:59:32.846141,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x68
[2014/08/28 13:59:32.846212,  3] smbd/process.c:1662(process_smb)
  Transaction 66 of length 108 (0 toread)
[2014/08/28 13:59:32.846271,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.846304,  5] lib/util.c:342(show_msg)
  size=104
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12224
  smt_wct=15
  smb_vwv[ 0]=   36 (0x24)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   36 (0x24)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=39
[2014/08/28 13:59:32.846977, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 20 00 28 00 32 00 29   .s.i.o.n . .(.2.)
  [0020] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:59:32.847149,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.847207,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.847266,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 13:59:32.847329,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version (2).h"
[2014/08/28 13:59:32.847391, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION (2).H]
[2014/08/28 13:59:32.847450,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version (2).h, dirpath = , start = version (2).h
[2014/08/28 13:59:32.847513, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 13:59:32.847570, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 13:59:32.847632, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 13:59:32.847688, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 13:59:32.847795, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 13:59:32.847855, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 13:59:32.847912,  5] smbd/filename.c:781(unix_convert)
  New file version (2).h
[2014/08/28 13:59:32.847970,  8] lib/util.c:1320(is_in_path)
  is_in_path: version (2).h
[2014/08/28 13:59:32.848031,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:32.848091,  3] smbd/trans2.c:5236(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of version (2).h failed (No such file or directory)
[2014/08/28 13:59:32.848298,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(5238) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 13:59:32.848361,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.848394,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12224
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:32.848727, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:32.850558, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 13:59:32.850625,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 13:59:32.850684,  3] smbd/process.c:1662(process_smb)
  Transaction 67 of length 110 (0 toread)
[2014/08/28 13:59:32.850742,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.850775,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12288
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 13:59:32.851676, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 13:59:32.851801,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.851860,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.851920, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 13:59:32.851985,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:32.852045, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:32.852108,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:32.852167,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:32.852224, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:32.852290, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 13:59:32.852361, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.852450, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.852538, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.852605, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.852799, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.852984, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.853088, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.853210, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.853769, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.853828, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.853893, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.854075, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.854257, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.854359, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.854474, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.855013, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.855073, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.855131, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.855189, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.855246, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.855303, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.855361, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.855418, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.855475, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.855532, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.855591, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.855648, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.855706, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.855775, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 13:59:32.855837,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:32.859678,  5] smbd/files.c:140(file_new)
  allocated file structure 9074, fnum = 13170 (1 used)
[2014/08/28 13:59:32.859746, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 13:59:32.859807,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:59:32.859866, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:32.859929,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.859988, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.860047, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.860124, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.860183, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.860249, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.860437, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.860633, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.860738, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.860860, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.861405, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.861465, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.861523, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.861580, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.861637, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.861703, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.861765,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.864738,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.864765,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.864792, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 13:59:32.864820, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x7019f
[2014/08/28 13:59:32.864853, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:59:32.864889, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fe020
[2014/08/28 13:59:32.864915, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 13:59:32.864943, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:59:32.864980, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:59:32.865009, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fe1d0
[2014/08/28 13:59:32.865037, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 13:59:32.865063,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x7019f, open_access_mask = 0x7019f
[2014/08/28 13:59:32.865094, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 29. 
[2014/08/28 13:59:32.865122,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 13:59:32.865158, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 13:59:32.865253,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 3921328257
[2014/08/28 13:59:32.865285,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/3921328257, tv_sec = 53ff5ff4, tv_usec = d1e1d
[2014/08/28 13:59:32.865317, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 13:59:32.865354,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.865380, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.865407, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.865441, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.865466, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.865496, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.865582, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.865664, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.865711, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.865765, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.866006, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.866033, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.866058, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.866083, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.866108, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.866138, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.866165,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.867477,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.867504,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.867530,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 13:59:32.867564, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 13:59:32.867602, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 13:59:32.867636, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 01:58:33 PM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:59:32.867679, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.867713, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:59:32.867748, 10] smbd/vfs.c:472(vfs_allocate_file_space)
  vfs_allocate_file_space: file version.h, len 1048576
[2014/08/28 13:59:32.867789, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=3
[2014/08/28 13:59:32.867815, 10] smbd/open.c:3756(create_file_default)
  create_file: info=3
[2014/08/28 13:59:32.867842,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.867868, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.867894, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.867928, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.867954, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.867990, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.868074, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.868157, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.868203, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.868257, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.868511, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.868537, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.868563, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.868588, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.868613, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.868643, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.868671,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.869976,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.870002,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.870034, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:58:33 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.870075, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.870108, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.870134, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.870168, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.870194, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.870223, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.870306, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.870388, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.870435, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.870488, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.870731, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.870758, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.870783, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.870814, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.870840, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.870870, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.870897,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.872201,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13170, open name = version.h
[2014/08/28 13:59:32.872572, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:32.872646,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:32.872705,  3] smbd/process.c:1662(process_smb)
  Transaction 68 of length 76 (0 toread)
[2014/08/28 13:59:32.872754,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.872769,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12352
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    8 (0x8)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:32.873075, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 72 33 EE 03                              ...r3.. 
[2014/08/28 13:59:32.873111,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.873137,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.873165,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2014/08/28 13:59:32.873199, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:58:33 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.873240, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.873267, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 13:59:32.873293,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 13170) level=1006 call=7 total_data=0
[2014/08/28 13:59:32.873320,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 13170) level=1006 max_data=8
[2014/08/28 13:59:32.873346,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.873372, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.873399, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.873434, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.873460, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.873490, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.873574, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.873656, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.873702, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.873755, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.873994, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.874020, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.874046, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.874071, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.874102, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.874132, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.874159,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.875466,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.875493,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.875524, 10] smbd/trans2.c:4621(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_INTERNAL_INFORMATION
[2014/08/28 13:59:32.875551,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 8, useable_space = 131010
[2014/08/28 13:59:32.875577,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 8, paramsize = 2, datasize = 8
[2014/08/28 13:59:32.875602,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.875617,  5] lib/util.c:342(show_msg)
  size=68
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12352
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    8 (0x8)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=13
[2014/08/28 13:59:32.875869, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 4F 12 94   00 00 00 00 00           .....O.. .....
[2014/08/28 13:59:32.876546, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 13:59:32.876626,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 13:59:32.876688,  3] smbd/process.c:1662(process_smb)
  Transaction 69 of length 74 (0 toread)
[2014/08/28 13:59:32.876714,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.876729,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12416
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 13:59:32.877026, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 13:59:32.877060,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.877086,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.877112,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 13:59:32.877141,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 13:59:32.877174,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 13:59:32.877200,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 13:59:32.877225,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.877240,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12416
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 13:59:32.877484, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 13:59:32.877544,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 13:59:32.877737, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:32.877809,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:32.877869,  3] smbd/process.c:1662(process_smb)
  Transaction 70 of length 76 (0 toread)
[2014/08/28 13:59:32.877927,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.877960,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12480
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:32.878279, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 72 33 EC 03                              ...r3.. 
[2014/08/28 13:59:32.878313,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.878344,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.878371,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2014/08/28 13:59:32.878404, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:58:33 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.878445, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.878472, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 13:59:32.878498,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 13170) level=1004 call=7 total_data=0
[2014/08/28 13:59:32.878524,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 13170) level=1004 max_data=40
[2014/08/28 13:59:32.878550,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.878576, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.878602, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.878637, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.878663, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.878693, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.878777, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.878859, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.878905, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.878958, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.879198, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.879225, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.879250, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.879276, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.879301, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.879336, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.879363,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.880681,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.880708,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.880738, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 13:59:32.880763,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu Aug 28 12:09:17 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu Aug 28 13:58:33 2014
   change: Thu Aug 28 13:58:33 2014
   mode: 20
[2014/08/28 13:59:32.880848,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 13:59:32.880874,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 13:59:32.880900,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.880914,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12480
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 13:59:32.881166, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 F1 75 4A   09 D2 C2 CF 01 F1 75 4A   ......uJ ......uJ
  [0010] 09 D2 C2 CF 01 38 FD A1   4C E1 C2 CF 01 38 FD A1   .....8.. L....8..
  [0020] 4C E1 C2 CF 01 20 00 00   00 00 00 00 00           L.... .. .....
[2014/08/28 13:59:32.881533, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 13:59:32.881602,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 13:59:32.881661,  3] smbd/process.c:1662(process_smb)
  Transaction 71 of length 88 (0 toread)
[2014/08/28 13:59:32.881717,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.881732,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12544
  smt_wct=15
  smb_vwv[ 0]=    6 (0x6)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    6 (0x6)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    8 (0x8)
  smb_vwv[12]=   76 (0x4C)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    8 (0x8)
  smb_bcc=19
[2014/08/28 13:59:32.882033, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 72 33 FC 03 00   00 00 00 E3 30 00 00 00   ...r3... ....0...
  [0010] 00 00 00                                          ... 
[2014/08/28 13:59:32.882087,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.882114,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.882142,  3] smbd/trans2.c:8050(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) version.h (fnum 13170) info_level=1020 totdata=8
[2014/08/28 13:59:32.882173,  3] smbd/trans2.c:7627(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: version.h (fnum 13170) info_level=1020 totdata=8
[2014/08/28 13:59:32.882202, 10] smbd/trans2.c:6729(smb_set_file_end_of_file_info)
  smb_set_file_end_of_file_info: Set end of file info for file version.h to 12515
[2014/08/28 13:59:32.882231,  6] smbd/trans2.c:5622(smb_set_file_size)
  smb_set_file_size: size: 12515 smb_set_file_size: file version.h : setting new size to 12515
[2014/08/28 13:59:32.882262, 10] smbd/vfs.c:561(vfs_set_filelen)
  vfs_set_filelen: ftruncate version.h to len 12515
[2014/08/28 13:59:32.882331, 10] smbd/notify_internal.c:930(notify_trigger)
  notify_trigger called action=0x3, filter=0xc, path=/shared/swhw/version.h
[2014/08/28 13:59:32.882363,  5] smbd/fileio.c:267(trigger_write_time_update_immediate)
  Update write time immediate on version.h
[2014/08/28 13:59:32.882390,  5] locking/locking.c:1710(set_write_time)
  set_write_time: Thu Aug 28 01:59:33 PM 2014 BRT id=819:94124f:0
[2014/08/28 13:59:32.882426, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:59:32.882456, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d5790
[2014/08/28 13:59:32.882482, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:58:33 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.882522, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.882551, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:59:32.882590, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.882626, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:59:32.882659,  5] smbd/trans2.c:5492(smb_set_file_time)
  smb_set_filetime: actime: Wed Dec 31 21:00:00 1969
  
   smb_set_filetime: modtime: Thu Aug 28 13:59:33 2014
  
   smb_set_filetime: ctime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: createtime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: setting utimes to modified values.
[2014/08/28 13:59:32.882782,  6] smbd/dosmode.c:953(file_ntimes)
  file_ntime: actime: Wed Dec 31 21:00:00 1969
[2014/08/28 13:59:32.882812,  6] smbd/dosmode.c:955(file_ntimes)
  file_ntime: modtime: Thu Aug 28 13:59:33 2014
[2014/08/28 13:59:32.882841,  6] smbd/dosmode.c:957(file_ntimes)
  file_ntime: ctime: Wed Dec 31 21:00:00 1969
[2014/08/28 13:59:32.882870,  6] smbd/dosmode.c:959(file_ntimes)
  file_ntime: createtime: Wed Dec 31 21:00:00 1969
[2014/08/28 13:59:32.882903, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.882929, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.882966, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.882992, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.883022, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.883109, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.883191, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.883237, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.883291, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.883532, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.883559, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.883584, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.883610, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.883635, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.883665, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.883692,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.885026,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:59:32.885058,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:59:32.885084,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:59:32.885109,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:59:32.885135,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:59:32.885186,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:59:32.885226, 10] smbd/notify_internal.c:930(notify_trigger)
  notify_trigger called action=0x3, filter=0x0, path=/shared/swhw/version.h
[2014/08/28 13:59:32.885254,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 0, useable_space = 131012
[2014/08/28 13:59:32.885281,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 0, paramsize = 2, datasize = 0
[2014/08/28 13:59:32.885306,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.885320,  5] lib/util.c:342(show_msg)
  size=58
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12544
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:59:32.885572, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:32.885866, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 13:59:32.885935,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 13:59:32.885994,  3] smbd/process.c:1662(process_smb)
  Transaction 72 of length 74 (0 toread)
[2014/08/28 13:59:32.886051,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.886066,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12608
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 13:59:32.886368, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 13:59:32.886401,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.886428,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.886454,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 13:59:32.886483,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 13:59:32.886515,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 13:59:32.886541,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 13:59:32.886567,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.886582,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12608
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 13:59:32.886828, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 13:59:32.886888,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 13:59:32.887420, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 12579
[2014/08/28 13:59:32.887668,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x3123
[2014/08/28 13:59:32.887740,  3] smbd/process.c:1662(process_smb)
  Transaction 73 of length 12583 (0 toread)
[2014/08/28 13:59:32.887800,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.887833,  5] lib/util.c:342(show_msg)
  size=12579
  smb_com=0x2f
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=12672
  smt_wct=14
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=13170 (0x3372)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=65535 (0xFFFF)
  smb_vwv[ 6]=65535 (0xFFFF)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=12515 (0x30E3)
  smb_vwv[11]=   64 (0x40)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_bcc=12516
[2014/08/28 13:59:32.888220, 10] ../lib/util/util.c:415(dump_data)
  [0000] EE 23 69 66 6E 64 65 66   20 56 45 52 53 49 4F 4E   .#ifndef  VERSION
  [0010] 5F 48 0D 0A 23 64 65 66   69 6E 65 20 56 45 52 53   _H..#def ine VERS
  [0020] 49 4F 4E 5F 48 0D 0A 0D   0A 23 64 65 66 69 6E 65   ION_H... .#define
  [0030] 20 56 45 52 53 49 4F 4E   20 22 30 36 2E 30 36 2E    VERSION  "06.06.
  [0040] 34 35 22 0D 0A 0D 0A 2F   2F 20 30 36 2E 30 30 2E   45"..../ / 06.00.
  [0050] 30 30 20 42 65 74 61 0D   0A 2F 2F 20 30 36 2E 30   00 Beta. .// 06.0
  [0060] 30 2E 30 31 20 53 6F 72   74 20 70 75 72 63 68 20   0.01 Sor t purch 
  [0070] 72 65 71 20 62 79 20 69   64 20 64 65 73 63 0D 0A   req by i d desc..
  [0080] 2F 2F 20 20 20 20 20 20   20 20 20 20 52 65 63 75   //           Recu
  [0090] 72 73 69 76 65 20 22 43   6F 64 65 20 6E 6F 74 20   rsive "C ode not 
  [00A0] 69 6E 20 64 61 74 61 62   61 73 65 22 0D 0A 2F 2F   in datab ase"..//
  [00B0] 20 30 36 2E 30 30 2E 30   32 20 43 6F 73 74 73 20    06.00.0 2 Costs 
  [00C0] 63 61 6C 63 0D 0A 2F 2F   20 30 36 2E 30 30 2E 30   calc..//  06.00.0
  [00D0] 33 20 74 78 61 64 6D 69   6E 0D 0A 2F 2F 20 30 36   3 txadmi n..// 06
  [00E0] 2E 30 30 2E 30 34 20 69   6D 70 6F 72 74 20 63 6F   .00.04 i mport co
  [00F0] 73 74 73 0D 0A 2F 2F 20   30 36 2E 30 30 2E 30 35   sts..//  06.00.05
  [0100] 20 52 65 61 64 2F 65 78   65 63 75 74 65 20 42 31    Read/ex ecute B1
  [0110] 20 66 6F 72 6D 75 6C 61   73 0D 0A 2F 2F 20 20 20    formula s..//   
  [0120] 20 20 20 20 20 20 20 43   61 6C 63 20 63 6F 73 74          C alc cost
  [0130] 73 20 62 61 73 65 64 20   6F 6E 20 42 31 20 66 6F   s based  on B1 fo
  [0140] 72 6D 75 6C 61 73 0D 0A   2F 2F 20 30 36 2E 30 30   rmulas.. // 06.00
  [0150] 2E 30 36 20 42 65 74 61   20 31 0D 0A 2F 2F 20 20   .06 Beta  1..//  
  [0160] 20 20 20 20 20 20 20 20   53 74 72 75 63 74 0D 0A            Struct..
  [0170] 2F 2F 20 20 20 20 20 20   20 20 20 20 43 61 6C 63   //           Calc
  [0180] 20 73 61 6C 65 20 70 72   69 63 65 0D 0A 2F 2F 20    sale pr ice..// 
  [0190] 20 20 20 20 20 20 20 20   20 44 65 74 61 69 6C 73             Details
  [01A0] 0D 0A 2F 2F 20 30 36 2E   30 30 2E 30 37 20 42 65   ..// 06. 00.07 Be
  [01B0] 74 61 20 32 0D 0A 2F 2F   20 20 20 20 20 20 20 20   ta 2..//         
  [01C0] 20 20 53 61 76 65 20 63   61 6C 63 20 70 61 72 6D     Save c alc parm
  [01D0] 73 0D 0A 2F 2F 20 30 36   2E 30 30 2E 30 38 20 42   s..// 06 .00.08 B
  [01E0] 65 74 61 20 33 0D 0A 2F   2F 20 20 20 20 20 20 20   eta 3../ /       
  [01F0] 20 20 20 43 C3 A1 6C 63   75 6C 6F 20 6D 61 72 67      C..lc ulo marg
[2014/08/28 13:59:32.889042,  3] smbd/process.c:1467(switch_message)
  switch message SMBwriteX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.889076,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.889112, 10] locking/locking.c:121(strict_lock_default)
  is_locked: optimisation - exclusive oplock on file version.h
[2014/08/28 13:59:32.889145, 10] locking/locking.c:163(strict_lock_default)
  strict_lock_default: flavour = WINDOWS_LOCK brl start=0 len=12515 unlocked for fnum 13170 file version.h
[2014/08/28 13:59:32.889187,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.889219, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.889251, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.889296, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.889328, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.889365, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.889471, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.889572, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.889636, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.889703, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.889999, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.890031, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.890062, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.890094, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.890125, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.890161, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.890194,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.891813,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.891846,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.891904, 10] smbd/fileio.c:143(real_write_file)
  real_write_file (version.h): pos = 0, size = 12515, returned 12515
[2014/08/28 13:59:32.891943,  3] smbd/reply.c:4636(reply_write_and_X)
  writeX fnum=13170 num=12515 wrote=12515
[2014/08/28 13:59:32.892368, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 116
[2014/08/28 13:59:32.892438,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x74
[2014/08/28 13:59:32.892511,  3] smbd/process.c:1662(process_smb)
  Transaction 74 of length 120 (0 toread)
[2014/08/28 13:59:32.892544,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.892562,  5] lib/util.c:342(show_msg)
  size=116
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12736
  smt_wct=15
  smb_vwv[ 0]=    6 (0x6)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    6 (0x6)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=   40 (0x28)
  smb_vwv[12]=   76 (0x4C)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    8 (0x8)
  smb_bcc=51
[2014/08/28 13:59:32.892930, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 72 33 EC 03 00   00 00 00 00 00 00 00 00   ...r3... ........
  [0010] 00 00 00 00 00 00 00 00   00 00 00 E7 F8 CD 20 6F   ........ ...... o
  [0020] 70 CF 01 E7 F8 CD 20 6F   70 CF 01 00 00 00 00 00   p..... o p.......
  [0030] 00 00 00                                          ... 
[2014/08/28 13:59:32.893049,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.893082,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.893117,  3] smbd/trans2.c:8050(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) version.h (fnum 13170) info_level=1004 totdata=40
[2014/08/28 13:59:32.893151,  3] smbd/trans2.c:7627(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: version.h (fnum 13170) info_level=1004 totdata=40
[2014/08/28 13:59:32.893185,  6] smbd/trans2.c:5574(smb_set_file_dosmode)
  smb_set_file_dosmode: dosmode: 0x0
[2014/08/28 13:59:32.893217, 10] smbd/trans2.c:6544(smb_set_file_basic_info)
  smb_set_file_basic_info: file version.h
[2014/08/28 13:59:32.893249,  5] smbd/trans2.c:5492(smb_set_file_time)
  smb_set_filetime: actime: Wed Dec 31 21:00:00 1969
  
   smb_set_filetime: modtime: Thu May 15 15:54:41 2014
  
   smb_set_filetime: ctime: Thu May 15 15:54:41 2014
  
   smb_set_file_time: createtime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: setting pending modtime to Thu May 15 15:54:41 2014
  
[2014/08/28 13:59:32.893416,  5] locking/locking.c:1687(set_sticky_write_time)
  set_sticky_write_time: Thu May 15 03:54:41 PM 2014 BRT id=819:94124f:0
[2014/08/28 13:59:32.893461, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 13:59:32.893501, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d5790
[2014/08/28 13:59:32.893533, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.893583, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.893625, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num: 1
[2014/08/28 13:59:32.893674, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.893710, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 13:59:32.893750, 10] smbd/trans2.c:5528(smb_set_file_time)
  smb_set_file_time: setting utimes to modified values.
[2014/08/28 13:59:32.893781,  6] smbd/dosmode.c:953(file_ntimes)
  file_ntime: actime: Wed Dec 31 21:00:00 1969
[2014/08/28 13:59:32.893817,  6] smbd/dosmode.c:955(file_ntimes)
  file_ntime: modtime: Thu May 15 15:54:41 2014
[2014/08/28 13:59:32.893853,  6] smbd/dosmode.c:957(file_ntimes)
  file_ntime: ctime: Thu May 15 15:54:41 2014
[2014/08/28 13:59:32.893888,  6] smbd/dosmode.c:959(file_ntimes)
  file_ntime: createtime: Wed Dec 31 21:00:00 1969
[2014/08/28 13:59:32.893927, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.893959, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.894004, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.894037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.894073, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.894179, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.894279, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.894336, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.894402, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.894698, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.894730, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.894762, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.894793, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.894824, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.894866, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.894901,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.896518,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 13:59:32.896556,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 13:59:32.896588,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 13:59:32.896619,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 13:59:32.896650,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 13:59:32.896712,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 13:59:32.896759, 10] smbd/notify_internal.c:930(notify_trigger)
  notify_trigger called action=0x3, filter=0x10, path=/shared/swhw/version.h
[2014/08/28 13:59:32.896793,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 0, useable_space = 131012
[2014/08/28 13:59:32.896825,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 0, paramsize = 2, datasize = 0
[2014/08/28 13:59:32.896857,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.896874,  5] lib/util.c:342(show_msg)
  size=58
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12736
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:59:32.897184, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:32.897531, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:32.897599,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:32.897658,  3] smbd/process.c:1662(process_smb)
  Transaction 75 of length 76 (0 toread)
[2014/08/28 13:59:32.897697,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.897715,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12800
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   56 (0x38)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:32.898086, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 72 33 0A 04                              ...r3.. 
[2014/08/28 13:59:32.898128,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.898160,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.898193,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1034
[2014/08/28 13:59:32.898232, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.898282, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.898316, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 13:59:32.898348,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 13170) level=1034 call=7 total_data=0
[2014/08/28 13:59:32.898381,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 13170) level=1034 max_data=56
[2014/08/28 13:59:32.898413,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.898446, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.898478, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.898521, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.898553, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.898590, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.898693, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.898793, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.898857, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.898923, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.899218, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.899250, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.899282, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.899313, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.899344, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.899380, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.899413,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.901170,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.901198,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.901229, 10] smbd/trans2.c:4720(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_NETWORK_OPEN_INFORMATION
[2014/08/28 13:59:32.901256,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 56, useable_space = 131010
[2014/08/28 13:59:32.901282,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 56, paramsize = 2, datasize = 56
[2014/08/28 13:59:32.901307,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.901322,  5] lib/util.c:342(show_msg)
  size=116
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12800
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   56 (0x38)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   56 (0x38)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=61
[2014/08/28 13:59:32.901569, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 00 00 10   00 00 00 00 00 E3 30 00    op..... ......0.
  [0030] 00 00 00 00 00 20 00 00   00 00 00 00 00           ..... .. .....
[2014/08/28 13:59:32.902194, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:32.902261,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:32.902320,  3] smbd/process.c:1662(process_smb)
  Transaction 76 of length 76 (0 toread)
[2014/08/28 13:59:32.902377,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.902392,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12864
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   56 (0x38)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:32.902694, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 72 33 0A 04                              ...r3.. 
[2014/08/28 13:59:32.902728,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.902754,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.902780,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1034
[2014/08/28 13:59:32.902812, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.902853, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:32.902880, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 13:59:32.902906,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 13170) level=1034 call=7 total_data=0
[2014/08/28 13:59:32.902938,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 13170) level=1034 max_data=56
[2014/08/28 13:59:32.902965,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 13:59:32.902991, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 13:59:32.903017, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 13:59:32.903052, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.903078, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.903107, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.903191, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.903297, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.903344, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.903397, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:32.903638, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.903665, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:32.903690, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.903716, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.903741, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:32.903771, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.903798,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:32.905134,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:32.905161,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:32.905191, 10] smbd/trans2.c:4720(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_NETWORK_OPEN_INFORMATION
[2014/08/28 13:59:32.905217,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 56, useable_space = 131010
[2014/08/28 13:59:32.905243,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 56, paramsize = 2, datasize = 56
[2014/08/28 13:59:32.905268,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.905283,  5] lib/util.c:342(show_msg)
  size=116
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12864
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   56 (0x38)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   56 (0x38)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=61
[2014/08/28 13:59:32.905530, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 00 00 10   00 00 00 00 00 E3 30 00    op..... ......0.
  [0030] 00 00 00 00 00 20 00 00   00 00 00 00 00           ..... .. .....
[2014/08/28 13:59:32.907790, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:59:32.907858,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:59:32.907917,  3] smbd/process.c:1662(process_smb)
  Transaction 77 of length 90 (0 toread)
[2014/08/28 13:59:32.907973,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.907988,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12928
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:59:32.908391, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 00 00                                          ... 
[2014/08/28 13:59:32.908424,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.908450,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.908479, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 13:59:32.908517,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:59:32.908545,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:59:32.908569,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:32.908597,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:32.908623, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:32.908653, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:32.908682,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:59:32.908710, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.908747, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.908773, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.908802, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.908886, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.908968, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.909014, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.909067, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.909316, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.909342, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.909371, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.909452, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.909533, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.909579, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.909630, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.909869, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.909895, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.909921, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.909946, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.909972, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.909997, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.910022, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.910048, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.910073, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.910098, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.910125, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.910151, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.910176, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.910207, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 13:59:32.910236,  5] smbd/files.c:140(file_new)
  allocated file structure 9075, fnum = 13171 (2 used)
[2014/08/28 13:59:32.910266, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:32.910295, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 32. 
[2014/08/28 13:59:32.910327, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:32.910361, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d5790
[2014/08/28 13:59:32.910391, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 13:59:32.910432, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.910462, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:32.910494, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:59:32.910520, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:59:32.910546,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:32.910572, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:32.910598, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.910635, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.910661, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.910690, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.910774, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.910857, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.910903, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.910957, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.911203, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.911230, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.911258, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.911341, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.911423, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.911469, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.911526, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.911769, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.911796, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.911822, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.911847, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.911873, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.911898, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.911924, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.911950, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.911975, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.912001, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.912027, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.912052, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.912078, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.912108, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.912136,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:32.914160,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:32.914193,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:32.914231, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.914282, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.914320,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13171, open name = .
[2014/08/28 13:59:32.914681, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 13:59:32.914751,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 13:59:32.914810,  3] smbd/process.c:1662(process_smb)
  Transaction 78 of length 88 (0 toread)
[2014/08/28 13:59:32.914855,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.914873,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=12992
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=13171 (0x3373)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 13:59:32.915340, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:32.915380,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.915413,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.915445, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 13:59:32.915479, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 13:59:32.915510, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 73 33 00 00                            ....s3.. 
[2014/08/28 13:59:32.915552,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 13:59:32.915587,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 13:59:32.915626, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 13:59:32.915663, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d5790
[2014/08/28 13:59:32.915710, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 3
[2014/08/28 13:59:32.915744, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 13:59:32.915782, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 13:59:32.967712, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:59:32.967792,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:59:32.967852,  3] smbd/process.c:1662(process_smb)
  Transaction 79 of length 90 (0 toread)
[2014/08/28 13:59:32.967911,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.967944,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13057
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 13:59:32.968867, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:32.968952,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.969013,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.969074, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 13:59:32.969138,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:59:32.969200,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:59:32.969256,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:32.969316,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:32.969373, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:32.969439, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:32.969506,  5] smbd/files.c:140(file_new)
  allocated file structure 9076, fnum = 13172 (3 used)
[2014/08/28 13:59:32.969570, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:32.969630,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 13:59:32.969688, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:32.969751,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:32.969809, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:32.969868, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.969952, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.970011, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.970078, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.970270, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.970454, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.970558, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.970678, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.971236, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.971297, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.971361, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.971544, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.971726, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.971829, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.971944, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.972483, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.972576, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.972635, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.972693, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.972732, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.972757, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.972783, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.972808, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.972834, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.972860, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.972886, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.972912, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.972938, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.972969, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.972996,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:32.974687,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:32.974718,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:32.974745, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 13:59:32.974777, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:32.974809, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902300d80
[2014/08/28 13:59:32.974835, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 13:59:32.974862, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:32.974900, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:32.974929, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902302d50
[2014/08/28 13:59:32.974954, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.974995, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.975023, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:32.975050, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:32.975077, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:32.975102, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 13:59:32.975128, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.975153, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.975179, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.975204, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 13:59:32.975229, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.975255, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.975280, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.975306, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 13:59:32.975331, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.975357, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.975382, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.975407, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:32.975433, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 13:59:32.975458,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 13:59:32.975487, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 34. 
[2014/08/28 13:59:32.975515, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:32.975543, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:32.975576, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:32.975609,  5] smbd/files.c:482(file_free)
  freed files structure 13172 (2 used)
[2014/08/28 13:59:32.975636,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:59:32.975664, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.975701, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.975727, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.975757, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.975841, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.975923, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.975970, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.976024, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.976268, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.976294, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.976323, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.976405, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.976493, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.976541, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.976593, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.976843, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.976870, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.976896, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.976921, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.976947, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.976972, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.976997, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.977023, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.977048, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.977074, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.977099, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.977125, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.977151, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.977181, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 13:59:32.977210,  5] smbd/files.c:140(file_new)
  allocated file structure 9077, fnum = 13173 (3 used)
[2014/08/28 13:59:32.977240, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:32.977268, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 34. 
[2014/08/28 13:59:32.977300, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:32.977329, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cc9b0
[2014/08/28 13:59:32.977355, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:32.977395, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.977423, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:32.977448, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:32.977475, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:32.977500, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 13:59:32.977526, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.977551, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.977577, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.977602, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 13:59:32.977628, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.977653, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.977684, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.977710, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 13:59:32.977735, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.977760, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.977785, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.977810, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:32.977837, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 13:59:32.977876, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.977910, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.977939, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:32.977971, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:59:32.977996, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:59:32.978023,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:32.978049, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:32.978075, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.978111, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.978137, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.978166, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.978251, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.978334, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.978380, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.978435, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.978680, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.978711, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.978740, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.978823, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.978905, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.978951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.979003, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.979246, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.979272, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.979298, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.979323, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.979349, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.979374, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.979399, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.979425, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.979450, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.979476, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.979501, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.979527, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.979552, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.979583, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.979610,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:32.981306,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:32.981339,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:32.981370, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 13:59:32.981411, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.981445, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.981475,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13173, open name = .
[2014/08/28 13:59:32.982209, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:59:32.982283,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:59:32.982342,  3] smbd/process.c:1662(process_smb)
  Transaction 80 of length 90 (0 toread)
[2014/08/28 13:59:32.982394,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.982409,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13121
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 13:59:32.982804, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:32.982837,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.982863,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.982891, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 13:59:32.982919,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:59:32.982947,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:59:32.982972,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:32.982998,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:32.983024, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:32.983053, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:32.983083,  5] smbd/files.c:140(file_new)
  allocated file structure 9078, fnum = 13174 (4 used)
[2014/08/28 13:59:32.983112, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:32.983139,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 13:59:32.983171, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:32.983199,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:32.983225, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:32.983251, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.983289, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.983316, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.983345, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.983430, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.983512, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.983558, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.983612, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.983854, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.983881, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.983910, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.983990, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.984071, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.984117, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.984167, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.984413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.984440, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.984465, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.984515, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.984548, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.984579, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.984611, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.984642, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.984673, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.984705, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.984737, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.984769, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.984800, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.984838, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.984871,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:32.986958,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:32.986991,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:32.987023, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 13:59:32.987061, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:32.987097, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023030e0
[2014/08/28 13:59:32.987129, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 13:59:32.987163, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:32.987208, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:32.987244, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fd560
[2014/08/28 13:59:32.987275, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 13:59:32.987326, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.987367, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.987406, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:32.987439, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:32.987471, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:32.987502, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 13:59:32.987534, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.987565, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.987596, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.987627, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 13:59:32.987658, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.987689, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.987720, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.987752, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 13:59:32.987783, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.987814, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.987845, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.987876, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:32.987906, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:32.987938, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:32.987969, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.988000, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.988031, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.988062, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.988093, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.988124, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.988155, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.988186, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.988217, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.988248, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.988279, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.988310, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.988341, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:32.988372, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 13:59:32.988404,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 13:59:32.988445, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 35. 
[2014/08/28 13:59:32.988479, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:32.988520, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:32.988554, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:32.988594,  5] smbd/files.c:482(file_free)
  freed files structure 13174 (3 used)
[2014/08/28 13:59:32.988627,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:59:32.988662, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.988707, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.988739, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.988774, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.988878, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.988979, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.989036, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.989103, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.989402, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.989434, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.989470, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.989569, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.989669, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.989726, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.989789, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.990095, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.990128, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.990159, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.990191, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.990222, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.990253, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.990284, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.990315, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.990347, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.990378, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.990409, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.990441, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.990472, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.990509, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 13:59:32.990545,  5] smbd/files.c:140(file_new)
  allocated file structure 9079, fnum = 13175 (4 used)
[2014/08/28 13:59:32.990580, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:32.990615, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 35. 
[2014/08/28 13:59:32.990654, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:32.990690, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902303290
[2014/08/28 13:59:32.990722, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 13:59:32.990772, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.990813, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.990847, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:32.990878, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:32.990911, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:32.990943, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 13:59:32.990981, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.991013, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.991044, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.991075, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 13:59:32.991106, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.991137, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.991168, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.991200, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 13:59:32.991231, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.991262, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.991293, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.991324, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:32.991355, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:32.991386, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:32.991417, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.991448, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.991479, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:32.991510, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:32.991541, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.991572, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.991603, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:32.991634, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:32.991666, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.991697, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.991728, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:32.991759, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:32.991790, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:32.991823, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 13:59:32.991872, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.991913, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.991960, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x0, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.992001, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:32.992042, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:59:32.992073, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:59:32.992106,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:32.992138, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:32.992170, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.992215, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.992248, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.992284, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.992388, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.992495, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.992554, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.992620, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.992921, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.992953, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.992988, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.993089, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.993189, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.993246, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.993309, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.993635, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.993669, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.993700, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.993732, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.993764, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.993795, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.993826, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.993857, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.993889, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.993920, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.993952, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.993983, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.994015, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.994052, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.994086,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:32.996175,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:32.996208,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:32.996246, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:32.996297, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.996339, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.996380, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x0, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.996417,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13175, open name = .
[2014/08/28 13:59:32.996886, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:32.996960,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:32.997019,  3] smbd/process.c:1662(process_smb)
  Transaction 81 of length 76 (0 toread)
[2014/08/28 13:59:32.997069,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:32.997084,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13185
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:32.997384, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 75 33 ED 03                              ...u3.. 
[2014/08/28 13:59:32.997419,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:32.997446,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:32.997474,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:59:32.997506, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:32.997547, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.997581, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.997614, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x0, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:32.997641, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:32.997667,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13173) level=1005 call=7 total_data=0
[2014/08/28 13:59:32.997694,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13173) level=1005 max_data=24
[2014/08/28 13:59:32.997721,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:32.997747, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:32.997773, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:32.997811, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:32.997837, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.997867, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.997952, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.998040, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.998087, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.998141, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.998383, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:32.998409, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.998438, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:32.998519, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:32.998600, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.998646, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.998697, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:32.998938, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.998964, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.998990, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.999016, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.999041, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.999066, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.999092, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.999117, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:32.999143, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:32.999168, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:32.999200, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:32.999226, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:32.999252, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:32.999282, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:32.999309,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:33.001014,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:33.001042,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:33.001071, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:33.001098,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:33.001124,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:33.001150,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.001165,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13185
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:33.001412, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:59:33.001483, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:33.001513,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:33.001539,  3] smbd/process.c:1662(process_smb)
  Transaction 82 of length 76 (0 toread)
[2014/08/28 13:59:33.001564,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.001579,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13250
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:33.001880, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 77 33 ED 03                              ...w3.. 
[2014/08/28 13:59:33.001914,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.001940,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.001967,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:59:33.001999, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.002046, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.002080, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.002113, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x0, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.002140, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:33.002166,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13175) level=1005 call=7 total_data=0
[2014/08/28 13:59:33.002192,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13175) level=1005 max_data=24
[2014/08/28 13:59:33.002219,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:33.002244, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:33.002270, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:33.002307, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.002333, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.002363, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.002447, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.002529, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.002575, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.002628, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.002871, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:33.002897, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.002926, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.003007, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.003094, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.003140, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.003191, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.003431, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.003458, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.003484, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.003509, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.003535, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.003560, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.003586, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.003611, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.003637, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.003663, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.003689, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:33.003714, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:33.003740, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:33.003770, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:33.003798,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:33.005504,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:33.005531,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:33.005560, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:33.005587,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:33.005613,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:33.005644,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.005659,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13250
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:33.005906, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:59:33.006318, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 13:59:33.006387,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 13:59:33.006446,  3] smbd/process.c:1662(process_smb)
  Transaction 83 of length 106 (0 toread)
[2014/08/28 13:59:33.006505,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.006520,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13314
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 13:59:33.006822, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 13:59:33.006898,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.006925,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.006954,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 13:59:33.006984,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:33.007013, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:33.007042,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:33.007069,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.007095,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 13:59:33.007121,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 13:59:33.007147,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:33.007174,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.007205,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 13:59:33.007231,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 13:59:33.007257,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 13:59:33.007288,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:33.007314,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.007343,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc902300750 now at offset -1
[2014/08/28 13:59:33.007372,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 13:59:33.007403, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 13:59:33.007430, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 13:59:33.007466, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.007491, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.007521, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.007605, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.007686, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.007732, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.007786, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.008027, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:33.008053, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:33.008079, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.008104, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:33.008130, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:33.008159, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:33.008186,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:33.009522,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:33.009549,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:33.009582, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:33.009623, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:33.009651,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 13:59:33.009682, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 13:59:33.009709, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 13:59:33.009737,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 13:59:33.009763,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 13:59:33.009792,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 13:59:33.009819,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 13:59:33.009844,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.009859,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13314
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 13:59:33.010106, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 13:59:33.010304,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 13:59:33.010630, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 13:59:33.010699,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 13:59:33.010758,  3] smbd/process.c:1662(process_smb)
  Transaction 84 of length 106 (0 toread)
[2014/08/28 13:59:33.010814,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.010828,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13378
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 13:59:33.011131, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 13:59:33.011208,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.011234,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.011262,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 13:59:33.011292,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:33.011319, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:33.011348,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:33.011374,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.011400,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 13:59:33.011427,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 13:59:33.011453,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:33.011479,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.011510,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 13:59:33.011536,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 13:59:33.011562,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 13:59:33.011590,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:33.011617,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.011646,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc902300750 now at offset -1
[2014/08/28 13:59:33.011673,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 13:59:33.011699, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 13:59:33.011725, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 13:59:33.011761, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.011788, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.011823, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.011908, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.011990, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.012036, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.012089, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.012330, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:33.012357, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:33.012383, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.012408, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:33.012434, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:33.012463, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:33.012498,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:33.013821,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:33.013848,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:33.013880, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:33.013921, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:33.013949,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 13:59:33.013979, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 13:59:33.014005, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 13:59:33.014032,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 13:59:33.014058,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 13:59:33.014086,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 13:59:33.014113,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 13:59:33.014138,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.014153,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13378
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 13:59:33.014401, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 13:59:33.014592,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 13:59:33.015038, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:59:33.015104,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:59:33.015176,  3] smbd/process.c:1662(process_smb)
  Transaction 85 of length 45 (0 toread)
[2014/08/28 13:59:33.015226,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.015241,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=13442
  smt_wct=3
  smb_vwv[ 0]=13173 (0x3375)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:59:33.015413, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:33.015429,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.015455,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.015482,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13173
[2014/08/28 13:59:33.015512, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:33.015542, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fe9d0
[2014/08/28 13:59:33.015568, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.015608, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.015642, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x0, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.015675, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x0, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.015703, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:33.015729, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 13:59:33.015769, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.015802, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x40, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.015835, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x0, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.015864, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:33.015897, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:33.015924, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:33.015952,  5] smbd/files.c:482(file_free)
  freed files structure 13173 (3 used)
[2014/08/28 13:59:33.015979,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.015999,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=13442
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:33.016141, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:33.016518, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:59:33.016588,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:59:33.016647,  3] smbd/process.c:1662(process_smb)
  Transaction 86 of length 45 (0 toread)
[2014/08/28 13:59:33.016697,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.016712,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=13506
  smt_wct=3
  smb_vwv[ 0]=13175 (0x3377)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:59:33.016884, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:33.016899,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.016925,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.016951,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13175
[2014/08/28 13:59:33.016981, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:33.017010, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fe9d0
[2014/08/28 13:59:33.017036, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.017076, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.017110, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x40, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.017144, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x0, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.017171, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:33.017197, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 13:59:33.017236, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.017270, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x40, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.017303, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.017331, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:33.017370, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:33.017397, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:33.017425,  5] smbd/files.c:482(file_free)
  freed files structure 13175 (2 used)
[2014/08/28 13:59:33.017451,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.017466,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=13506
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:33.017607, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:33.018275, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 13:59:33.018343,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 13:59:33.018402,  3] smbd/process.c:1662(process_smb)
  Transaction 87 of length 90 (0 toread)
[2014/08/28 13:59:33.018459,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.018474,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13570
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 13:59:33.018871, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 13:59:33.018904,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.018930,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.018957, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 13:59:33.018986,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 13:59:33.019014,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 13:59:33.019039,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:33.019065,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.019091, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:33.019121, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 13:59:33.019151,  5] smbd/files.c:140(file_new)
  allocated file structure 9080, fnum = 13176 (3 used)
[2014/08/28 13:59:33.019180, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:33.019207,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 13:59:33.019233, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 13:59:33.019266,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:33.019293, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:33.019319, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:33.019357, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.019384, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.019414, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.019499, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.019581, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.019627, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.019681, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.019924, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:33.019951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.019980, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.020061, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.020141, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.020187, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.020238, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.020477, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.020519, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.020552, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.020578, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.020603, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.020629, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.020655, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.020680, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.020705, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.020731, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.020757, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:33.020783, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:33.020808, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:33.020839, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:33.020866,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:33.022561,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:33.022588,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:33.022614, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 13:59:33.022646, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:33.022676, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902300d80
[2014/08/28 13:59:33.022702, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 13:59:33.022730, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:33.022767, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:33.022795, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902302d50
[2014/08/28 13:59:33.022821, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.022862, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.022896, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x40, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.022929, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.022961, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:33.022988, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:33.023015, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:33.023040, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 13:59:33.023066, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:33.023092, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:33.023117, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:33.023142, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 13:59:33.023168, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:33.023194, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:33.023219, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:33.023244, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 13:59:33.023270, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:33.023295, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:33.023321, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:33.023350, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:33.023375, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 13:59:33.023401,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 13:59:33.023430, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 34. 
[2014/08/28 13:59:33.023457, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:33.023484, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:33.023512, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:33.023545,  5] smbd/files.c:482(file_free)
  freed files structure 13176 (2 used)
[2014/08/28 13:59:33.023571,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 13:59:33.023599, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:33.023637, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.023662, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.023692, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.023776, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.023859, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.023911, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.023966, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.024210, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:33.024236, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.024265, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.024347, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.024428, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.024474, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.024533, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.024776, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.024803, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.024828, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.024854, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.024879, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.024905, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.024930, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.024956, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.024981, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.025006, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.025032, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:33.025064, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:33.025090, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:33.025121, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 13:59:33.025150,  5] smbd/files.c:140(file_new)
  allocated file structure 9081, fnum = 13177 (3 used)
[2014/08/28 13:59:33.025179, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 13:59:33.025207, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 34. 
[2014/08/28 13:59:33.025239, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:33.025268, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fdaa0
[2014/08/28 13:59:33.025294, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.025335, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.025368, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3301, type= 0x40, gen_id = 3921328260, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.025402, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.025429, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:33.025455, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 13:59:33.025481, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 13:59:33.025507, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 13:59:33.025532, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:33.025558, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 13:59:33.025583, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 13:59:33.025609, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 13:59:33.025634, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:33.025660, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 13:59:33.025685, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 13:59:33.025711, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 13:59:33.025736, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:33.025762, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 13:59:33.025787, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 13:59:33.025813, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 13:59:33.025844, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 13:59:33.025884, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.025918, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3502, type= 0x0, gen_id = 3921328264, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.025952, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.025981, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:33.026013, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 13:59:33.026039, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 13:59:33.026065,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:33.026092, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:33.026118, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:33.026154, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.026181, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.026210, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.026295, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.026378, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.026424, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.026478, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.026741, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:33.026768, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.026796, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.026884, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.026967, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.027013, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.027065, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.027308, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.027334, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.027360, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.027386, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.027412, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.027437, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.027463, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.027488, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.027514, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.027539, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.027565, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:33.027591, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:33.027617, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:33.027647, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:33.027675,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:33.029382,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:33.029409,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:33.029439, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.029481, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.029520, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3502, type= 0x0, gen_id = 3921328264, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.029554, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.029584,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 13177, open name = .
[2014/08/28 13:59:33.030338, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 13:59:33.030406,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 13:59:33.030465,  3] smbd/process.c:1662(process_smb)
  Transaction 88 of length 76 (0 toread)
[2014/08/28 13:59:33.030521,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.030536,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13634
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 13:59:33.030836, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 79 33 ED 03                              ...y3.. 
[2014/08/28 13:59:33.030871,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.030897,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.030924,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 13:59:33.030956, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.030997, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.031031, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3502, type= 0x0, gen_id = 3921328264, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.031064, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.031091, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:33.031117,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 13177) level=1005 call=7 total_data=0
[2014/08/28 13:59:33.031144,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 13177) level=1005 max_data=24
[2014/08/28 13:59:33.031170,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 13:59:33.031201, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 13:59:33.031228, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 13:59:33.031266, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.031292, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.031321, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.031406, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.031488, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.031535, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.031588, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.031831, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 13:59:33.031857, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.031886, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.031967, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.032048, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.032094, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.032146, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 13:59:33.032386, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.032413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.032439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.032470, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.032509, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.032536, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.032561, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.032587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 13:59:33.032612, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.032638, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 13:59:33.032664, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 13:59:33.032690, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 13:59:33.032715, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 13:59:33.032746, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:33.032773,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 13:59:33.034473,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 13:59:33.034500,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 13:59:33.034529, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 13:59:33.034556,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 13:59:33.034582,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 13:59:33.034608,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.034623,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13634
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 13:59:33.034870, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 13:59:33.035372, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 13:59:33.035440,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 13:59:33.035499,  3] smbd/process.c:1662(process_smb)
  Transaction 89 of length 106 (0 toread)
[2014/08/28 13:59:33.035555,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.035570,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13698
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 13:59:33.035878, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 13:59:33.035954,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.035981,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.036009,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 13:59:33.036039,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 13:59:33.036067, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 13:59:33.036096,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:33.036122,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.036148,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 13:59:33.036175,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 13:59:33.036200,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 13:59:33.036226,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.036257,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 13:59:33.036283,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 13:59:33.036309,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 13:59:33.036338,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 13:59:33.036365,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 13:59:33.036393,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc902300750 now at offset -1
[2014/08/28 13:59:33.036421,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 13:59:33.036447, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 13:59:33.036473, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 13:59:33.036515, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 13:59:33.036542, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.036571, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.036655, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 13:59:33.036737, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.036783, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 13:59:33.036837, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 13:59:33.037083, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:33.037109, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 13:59:33.037135, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 13:59:33.037161, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:33.037186, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 13:59:33.037215, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 13:59:33.037242,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 13:59:33.038561,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 13:59:33.038588,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 13:59:33.038625, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 01:59:33 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 13:59:33.038666, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x3000, type= 0x3, gen_id = 3921328257, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 13:59:33.038694,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 13:59:33.038724, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 13:59:33.038750, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 13:59:33.038777,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 13:59:33.038803,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 13:59:33.038832,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 13:59:33.038858,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 13:59:33.038884,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.038899,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=13698
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 13:59:33.039145, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 13:59:33.039338,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 13:59:33.039694, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 13:59:33.039761,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 13:59:33.039820,  3] smbd/process.c:1662(process_smb)
  Transaction 90 of length 45 (0 toread)
[2014/08/28 13:59:33.039877,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.039891,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=13762
  smt_wct=3
  smb_vwv[ 0]=13177 (0x3379)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 13:59:33.040066, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 13:59:33.040082,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15538) conn 0x7fc9022d5cf0
[2014/08/28 13:59:33.040108,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 13:59:33.040134,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=13177
[2014/08/28 13:59:33.040164, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 13:59:33.040198, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022fe9d0
[2014/08/28 13:59:33.040225, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 13:59:33.040265, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.040299, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3502, type= 0x0, gen_id = 3921328264, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.040333, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.040360, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 13:59:33.040387, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 13:59:33.040426, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3280, type= 0x0, gen_id = 3921328258, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.040459, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3502, type= 0x40, gen_id = 3921328264, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.040499, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]: UNUSED pid = 15538, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3341, type= 0x40, gen_id = 3921328262, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 13:59:33.040529, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 13:59:33.040563, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 13:59:33.040590, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 13:59:33.040617,  5] smbd/files.c:482(file_free)
  freed files structure 13177 (2 used)
[2014/08/28 13:59:33.040644,  5] lib/util.c:332(show_msg)
[2014/08/28 13:59:33.040658,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=13762
  smt_wct=0
  smb_bcc=0
[2014/08/28 13:59:33.040799, 10] ../lib/util/util.c:415(dump_data)
-------------- next part --------------
[2014/08/28 14:30:09.595242,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:29:56 2014
  
[2014/08/28 14:30:09.595389,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [lynx]\[jsveiga] from workstation [LYNX]
[2014/08/28 14:30:09.595451,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [lynx] to [ZULU] for user [jsveiga] from workstation [LYNX]
[2014/08/28 14:30:09.595512,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for jsveiga (jsveiga)
[2014/08/28 14:30:09.595570,  5] auth/user_info.c:70(make_user_info)
  making strings for jsveiga's user_info struct
[2014/08/28 14:30:09.595628,  5] auth/user_info.c:87(make_user_info)
  making blobs for jsveiga's user_info struct
[2014/08/28 14:30:09.595685, 10] auth/user_info.c:123(make_user_info)
  made a user_info for jsveiga (jsveiga)
[2014/08/28 14:30:09.595742,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [lynx]\[jsveiga]@[LYNX] with the new password interface
[2014/08/28 14:30:09.595802,  3] auth/auth.c:222(check_ntlm_password)
  check_ntlm_password:  mapped user is: [ZULU]\[jsveiga]@[LYNX]
[2014/08/28 14:30:09.595859, 10] auth/auth.c:231(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2014/08/28 14:30:09.595915, 10] auth/auth.c:233(check_ntlm_password)
  challenge is: 
[2014/08/28 14:30:09.595972,  5] ../lib/util/util.c:415(dump_data)
  [0000] 4C CA D6 D9 15 2A 49 28                            L....*I( 
[2014/08/28 14:30:09.596052, 10] auth/auth_builtin.c:44(check_guest_security)
  Check auth for: [jsveiga]
[2014/08/28 14:30:09.596111, 10] auth/auth.c:259(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2014/08/28 14:30:09.596172, 10] auth/auth_sam.c:75(auth_samstrict_auth)
  Check auth for: [jsveiga]
[2014/08/28 14:30:09.596228,  8] lib/util.c:1521(is_myname)
  is_myname("ZULU") returns 1
[2014/08/28 14:30:09.596291,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.596355,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.596412,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.596470,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.596559,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.596706, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:30:09.596741, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.596766, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.596792, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:30:09.596820,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.596849, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:30:09.596876, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.596902, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.596928,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.596955, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:30:09.596981, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.597009,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.597041,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.597067,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.597092,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.597117,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.597168, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.597198,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.597229, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:30:09.597259, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:30:09.597303,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.597329,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.597355,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.597380,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.597404,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.597447, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.597475,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.597505,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.597530,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.597594,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.597679,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 100
[2014/08/28 14:30:09.597709,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.597735,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.597760,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.597785,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.597810,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.597864,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.597893, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 100 -> sid S-1-22-2-100
[2014/08/28 14:30:09.597928,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for jsveiga
[2014/08/28 14:30:09.597956,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.597982,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.598008,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.598033,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.598058,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.598100, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.598136,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.598168, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:30:09.598194, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.598220, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.598246, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:30:09.598272,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.598303, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:30:09.598329, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.598355, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.598382,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.598409, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:30:09.598436, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.598462,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.598488,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.598513,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.598538,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.598563,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.598605, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.598634,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.598660, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:30:09.598688, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:30:09.598733, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.598765,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.598794,  4] ../libcli/auth/ntlm_check.c:351(ntlm_password_check)
  ntlm_password_check: Checking NTLMv2 password with domain [lynx]
[2014/08/28 14:30:09.598838,  4] auth/check_samsec.c:183(sam_account_ok)
  sam_account_ok: Checking SMB password for user jsveiga
[2014/08/28 14:30:09.598867,  5] auth/check_samsec.c:165(logon_hours_ok)
  logon_hours_ok: user jsveiga allowed to logon at this time (Thu Aug 28 17:30:09 2014
  )
[2014/08/28 14:30:09.598902,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.598928,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.598954,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.598979,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.599004,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.599047, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.599081,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.599109,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.599134,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.599159,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.599184,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.599209,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.599248,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.599273,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.599300,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.599329,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.599355,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.599380,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.599405,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.599429,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.599471, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: minimum password age, val: 0
[2014/08/28 14:30:09.599500,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.599526,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.599552,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.599577,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.599602,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.599626,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.599668, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.599697,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.599725,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.599750,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.599776,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.599819, 10] lib/system_smbd.c:175(sys_getgrouplist)
  sys_getgrouplist: user [jsveiga]
[2014/08/28 14:30:09.599947,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 20
[2014/08/28 14:30:09.599975,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600001,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600026,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600051,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.600076,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.600123,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600156, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 20 -> sid S-1-22-2-20
[2014/08/28 14:30:09.600195,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 24
[2014/08/28 14:30:09.600221,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600246,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600272,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600297,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.600322,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.600368,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600395, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 24 -> sid S-1-22-2-24
[2014/08/28 14:30:09.600433,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 25
[2014/08/28 14:30:09.600459,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600492,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600519,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600545,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.600570,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.600615,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600642, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 25 -> sid S-1-22-2-25
[2014/08/28 14:30:09.600681,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 29
[2014/08/28 14:30:09.600707,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600732,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600758,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600783,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.600808,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.600853,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600880, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 29 -> sid S-1-22-2-29
[2014/08/28 14:30:09.600920,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 44
[2014/08/28 14:30:09.600946,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.600972,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.600997,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601022,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.601047,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.601092,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601119, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 44 -> sid S-1-22-2-44
[2014/08/28 14:30:09.601157,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 46
[2014/08/28 14:30:09.601188,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601214,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601239,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601264,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.601289,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.601334,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601360, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 46 -> sid S-1-22-2-46
[2014/08/28 14:30:09.601399,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1027
[2014/08/28 14:30:09.601425,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601450,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601476,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601501,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.601526,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.601572,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601598, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1027 -> sid S-1-22-2-1027
[2014/08/28 14:30:09.601637,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1001
[2014/08/28 14:30:09.601662,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601688,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601713,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601738,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.601763,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.601808,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601835, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1001 -> sid S-1-22-2-1001
[2014/08/28 14:30:09.601873,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1002
[2014/08/28 14:30:09.601899,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601924,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.601950,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.601975,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.602000,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.602045,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602072, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1002 -> sid S-1-22-2-1002
[2014/08/28 14:30:09.602110,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1003
[2014/08/28 14:30:09.602135,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602161,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602191,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602217,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.602242,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.602288,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602314, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1003 -> sid S-1-22-2-1003
[2014/08/28 14:30:09.602352,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1017
[2014/08/28 14:30:09.602378,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602404,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602429,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602454,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.602478,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.602524,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602551, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1017 -> sid S-1-22-2-1017
[2014/08/28 14:30:09.602589,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1019
[2014/08/28 14:30:09.602614,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602640,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602665,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602690,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.602715,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.602760,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602787, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1019 -> sid S-1-22-2-1019
[2014/08/28 14:30:09.602825,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1022
[2014/08/28 14:30:09.602850,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602876,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.602901,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.602926,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.602951,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.602996,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603023, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1022 -> sid S-1-22-2-1022
[2014/08/28 14:30:09.603063,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1026
[2014/08/28 14:30:09.603088,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603114,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603139,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603164,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.603189,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.603239,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603266, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1026 -> sid S-1-22-2-1026
[2014/08/28 14:30:09.603304,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1029
[2014/08/28 14:30:09.603330,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603355,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603380,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603406,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.603430,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.603476,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603502, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1029 -> sid S-1-22-2-1029
[2014/08/28 14:30:09.603540,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1018
[2014/08/28 14:30:09.603566,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603591,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603616,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603642,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.603666,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.603711,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603738, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1018 -> sid S-1-22-2-1018
[2014/08/28 14:30:09.603776,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1037
[2014/08/28 14:30:09.603802,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603827,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603853,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.603878,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.603903,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.603948,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.603975, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1037 -> sid S-1-22-2-1037
[2014/08/28 14:30:09.604011,  5] auth/server_info_sam.c:120(make_server_info_sam)
  make_server_info_sam: made server info for user jsveiga -> jsveiga
[2014/08/28 14:30:09.604041,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.604069,  3] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [jsveiga] succeeded
[2014/08/28 14:30:09.604096,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604121,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.604147,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604172,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.604203,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.604244,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.604271,  5] auth/auth.c:296(check_ntlm_password)
  check_ntlm_password:  PAM Account for user [jsveiga] succeeded
[2014/08/28 14:30:09.604296,  2] auth/auth.c:309(check_ntlm_password)
  check_ntlm_password:  authentication for user [jsveiga] -> [jsveiga] -> [jsveiga] succeeded
[2014/08/28 14:30:09.604325, 10] auth/token_util.c:223(create_local_nt_token_from_info3)
  Create local NT token for jsveiga
[2014/08/28 14:30:09.604375, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:30:09.604403,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604429,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.604454,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604479,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.604513,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.604560,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.604587, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:30:09.604614,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604640,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.604665,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604691,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.604716,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.604779, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-544
[2014/08/28 14:30:09.604807,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.604834,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604859,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.604884,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.604909,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.604957,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.604983, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-544
[2014/08/28 14:30:09.605014,  5] passdb/pdb_util.c:128(create_builtin_administrators)
  create_builtin_administrators: Failed to create Administrators
[2014/08/28 14:30:09.605042,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.605081, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:30:09.605108,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605134,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.605159,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605184,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.605209,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.605261,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.605287, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:30:09.605314,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605340,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.605365,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605390,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.605415,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.605470, 10] passdb/lookup_sid.c:1628(sid_to_gid)
  winbind failed to find a gid for sid S-1-5-32-545
[2014/08/28 14:30:09.605497,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.605523,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605549,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.605574,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.605599,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.605645,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605672, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-32-545
[2014/08/28 14:30:09.605703,  5] passdb/pdb_util.c:99(create_builtin_users)
  create_builtin_users: Failed to create Users
[2014/08/28 14:30:09.605730,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.605756,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605782,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.605807,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.605832,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.605857,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.606020,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.606054,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-5-21-1713247293-1926860970-2001202512-3000
  Privilege set: 0x20
[2014/08/28 14:30:09.606097,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-21-1713247293-1926860970-2001202512-513]
[2014/08/28 14:30:09.606130,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-100]
[2014/08/28 14:30:09.606162,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-20]
[2014/08/28 14:30:09.606193,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-24]
[2014/08/28 14:30:09.606225,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-25]
[2014/08/28 14:30:09.606256,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-29]
[2014/08/28 14:30:09.606287,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-44]
[2014/08/28 14:30:09.606319,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-46]
[2014/08/28 14:30:09.606355,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1027]
[2014/08/28 14:30:09.606386,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2014/08/28 14:30:09.606418,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2014/08/28 14:30:09.606449,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2014/08/28 14:30:09.606480,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1017]
[2014/08/28 14:30:09.606511,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1019]
[2014/08/28 14:30:09.606543,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1022]
[2014/08/28 14:30:09.606574,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1026]
[2014/08/28 14:30:09.606605,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1029]
[2014/08/28 14:30:09.606636,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1018]
[2014/08/28 14:30:09.606667,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-22-2-1037]
[2014/08/28 14:30:09.606699,  5] lib/privileges.c:175(get_privileges_for_sids)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set: 0x0
[2014/08/28 14:30:09.606739,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2014/08/28 14:30:09.606770,  4] lib/privileges.c:97(get_privileges)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2014/08/28 14:30:09.606866, 10] passdb/lookup_sid.c:1468(sids_to_unix_ids)
  wbcSidsToUnixIds returned WBC_ERR_WINBIND_NOT_AVAILABLE
[2014/08/28 14:30:09.606895,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.606921,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.606947,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.606972,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.606997,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.607037,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:30:09.607065,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.607091,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.607116,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.607142,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.607166,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.607206,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.607232,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:30:09.607257,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.607283,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.607308,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.607350, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.607384,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.607411,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.607437,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:30:09.607462,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.607488,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.607513,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.607555, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.607583,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.607614, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:30:09.607640, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.607666, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.607691, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:30:09.607718,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.607748, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:30:09.607773, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.607800, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.607827,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.607855, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:30:09.607881, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.607908,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.607933,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:30:09.607959,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.607984,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.608009,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.608051, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.608080,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.608106, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:30:09.608134, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:30:09.608174, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.608205,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.608233,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.608258,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.608290,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.608320,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.608346,  5] passdb/lookup_sid.c:1269(legacy_sid_to_gid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 is a User, expected a group
[2014/08/28 14:30:09.608375,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.608400,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.608426,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.608451,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.608476,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.608534,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 3000.
[2014/08/28 14:30:09.608561,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.608587,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.608612,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.608637,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.608662,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.608701,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.608727,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:30:09.608753,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.608778,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.608803,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.608845, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.608874,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.608901,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.608927,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:30:09.608952,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.608977,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.609002,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.609044, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.609073,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.609103, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username jsveiga, was 
[2014/08/28 14:30:09.609129, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.609154, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.609180, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Joao S Veiga,,,, was 
[2014/08/28 14:30:09.609206,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.609235, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\jsveiga, was 
[2014/08/28 14:30:09.609267, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.609294, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.609320,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.609349, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\jsveiga\profile, was 
[2014/08/28 14:30:09.609376, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.609403,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.609428,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2014/08/28 14:30:09.609453,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.609479,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.609503,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.609546, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.609574,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.609601, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000
[2014/08/28 14:30:09.609629, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3000 from rid 3000
[2014/08/28 14:30:09.609669, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.609700,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.609729,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.609754,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.609780,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.609809,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.609835, 10] passdb/lookup_sid.c:1223(legacy_sid_to_uid)
  LEGACY: sid S-1-5-21-1713247293-1926860970-2001202512-3000 -> uid 1000
[2014/08/28 14:30:09.609865,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.609891,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.609916,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.609941,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.609966,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.610005,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:30:09.610031,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.610057,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610082,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.610107,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.610132,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.610185,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:30:09.610222,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610249,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:30:09.610276,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.610302, 10] passdb/lookup_sid.c:1280(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.610330,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610356,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.610381,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610407,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.610432,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.610470,  5] passdb/pdb_interface.c:1606(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2014/08/28 14:30:09.610496,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.610522,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610547,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.610572,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.610597,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.610640,  5] passdb/pdb_tdb.c:614(tdbsam_getsampwrid)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
[2014/08/28 14:30:09.610676,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610702,  5] passdb/pdb_interface.c:1668(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2014/08/28 14:30:09.610730,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.610756, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.610784,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610809,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.610835,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.610860,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.610884,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.610931,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.610957, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:30:09.610984, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-1-0
[2014/08/28 14:30:09.611010,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.611036,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.611061,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.611086,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.611116,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.611162,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.611189, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:30:09.611215, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-2
[2014/08/28 14:30:09.611241,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.611267,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.611292,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.611318,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.611343,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.611388,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.611415, 10] passdb/lookup_sid.c:1253(legacy_sid_to_gid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:30:09.611441, 10] passdb/lookup_sid.c:1218(legacy_sid_to_uid)
  LEGACY: mapping failed for sid S-1-5-11
[2014/08/28 14:30:09.611468, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-21-1713247293-1926860970-2001202512-513 to gid, ignoring it
[2014/08/28 14:30:09.611498, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2014/08/28 14:30:09.611524, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2014/08/28 14:30:09.611550, 10] auth/auth_util.c:505(create_local_token)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2014/08/28 14:30:09.611581, 10] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.611924, 10] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.612149, 10] auth/auth_ntlmssp.c:174(auth_ntlmssp_check_password)
  Got NT session key of length 16
[2014/08/28 14:30:09.612176, 10] auth/auth_ntlmssp.c:181(auth_ntlmssp_check_password)
  Got LM session key of length 8
[2014/08/28 14:30:09.612201, 10] ../libcli/auth/ntlmssp_server.c:462(ntlmssp_server_postauth)
  ntlmssp_server_auth: Using unmodified nt session key.
[2014/08/28 14:30:09.612230,  3] ../libcli/auth/ntlmssp_sign.c:535(ntlmssp_sign_init)
  NTLMSSP Sign/Seal - Initialising with flags:
[2014/08/28 14:30:09.612256,  3] ../libcli/auth/ntlmssp.c:34(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xe2088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_VERSION
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
    NTLMSSP_NEGOTIATE_56
[2014/08/28 14:30:09.612404, 10] smbd/password.c:293(register_existing_vuid)
  register_existing_vuid: (1000,100) jsveiga jsveiga RFCOM guest=0
[2014/08/28 14:30:09.612431,  3] smbd/password.c:298(register_existing_vuid)
  register_existing_vuid: User name: jsveiga	Real name: Joao S Veiga,,,
[2014/08/28 14:30:09.612456,  3] smbd/password.c:308(register_existing_vuid)
  register_existing_vuid: UNIX uid 1000 is UNIX user jsveiga, and will be vuid 100
[2014/08/28 14:30:09.612495, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 49442F31353934372F31
[2014/08/28 14:30:09.612529, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d1f30
[2014/08/28 14:30:09.612577, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 49442F31353934372F31
[2014/08/28 14:30:09.612627,  7] param/loadparm.c:9834(lp_servicenumber)
  lp_servicenumber: couldn't find jsveiga
[2014/08/28 14:30:09.612653,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.612678,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.612705,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.612730,  3] smbd/password.c:238(register_homes_share)
  Adding homes service for user 'jsveiga' using home directory: '/home/jsveiga'
[2014/08/28 14:30:09.612786,  8] param/loadparm.c:6480(add_a_service)
  add_a_service: Creating snum = 34 for jsveiga
[2014/08/28 14:30:09.612813, 10] param/loadparm.c:6527(hash_a_service)
  hash_a_service: hashing index 34 for service name jsveiga
[2014/08/28 14:30:09.612841,  3] param/loadparm.c:6582(lp_add_home)
  adding home's share [jsveiga] for user 'jsveiga' at '/home/jsveiga'
[2014/08/28 14:30:09.612887,  6] param/loadparm.c:7490(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu Aug 28 14:29:56 2014
  
[2014/08/28 14:30:09.612951,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.612965,  5] lib/util.c:342(show_msg)
  size=98
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=100
  smb_mid=14016
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=55
[2014/08/28 14:30:09.613148, 10] ../lib/util/util.c:415(dump_data)
  [0000] A1 07 30 05 A0 03 0A 01   00 55 00 6E 00 69 00 78   ..0..... .U.n.i.x
  [0010] 00 00 00 53 00 61 00 6D   00 62 00 61 00 20 00 33   ...S.a.m .b.a. .3
  [0020] 00 2E 00 36 00 2E 00 36   00 00 00 52 00 46 00 43   ...6...6 ...R.F.C
  [0030] 00 4F 00 4D 00 00 00                              .O.M... 
[2014/08/28 14:30:09.613879, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:30:09.613962,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:30:09.614021,  3] smbd/process.c:1662(process_smb)
  Transaction 3 of length 78 (0 toread)
[2014/08/28 14:30:09.614063,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.614077,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=14080
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:30:09.614261, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 49   .\.\.Z.U .L.U.\.I
  [0010] 00 50 00 43 00 24 00 00   00 3F 3F 3F 3F 3F 00     .P.C.$.. .?????.
[2014/08/28 14:30:09.614321,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15947) conn 0x0
[2014/08/28 14:30:09.614347,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.614379,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.614404,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.614444,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:09.614477,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [IPC$]
[2014/08/28 14:30:09.614520,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service ipc$
[2014/08/28 14:30:09.614550,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:30:09.614583,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:30:09.614611, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:30:09.614636, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:30:09.614664,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.614690,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.614715,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.614740,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.614765,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.614814, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.614841, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.614867, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.614893, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.614919,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.614947, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.614973, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.615000, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.615026,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.615054, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.615080, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.615107,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.615132,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.615157,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.615182,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.615207,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.615250, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.615279,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.615305, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.615339, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.615379,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.615405,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.615431,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.615456,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.615481,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.615523, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.615552,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.615579,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:30:09.615604,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:30:09.615630,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:30:09.615663,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:30:09.615690,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.615716,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.615741,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.615766,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.615791,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.615834, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.615862,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.615892, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.615918, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.615944, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.615969, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.615995,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.616023, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.616048, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.616075, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.616101,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.616128, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.616154, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.616181,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.616206,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.616232,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.616263,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.616288,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.616331, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.616359,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.616386, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.616413, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.616453, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.616502,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.616535, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share IPC$ is ok for unix user jsveiga
[2014/08/28 14:30:09.616575,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.616601,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.616627,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.616657, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service IPC$, connectpath = /tmp
[2014/08/28 14:30:09.616684,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/tmp' for service [IPC$]
[2014/08/28 14:30:09.616723, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:30:09.616753, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:30:09.616781,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:30:09.616810, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2014/08/28 14:30:09.616835,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2014/08/28 14:30:09.616863, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2014/08/28 14:30:09.616889,  5] smbd/vfs.c:92(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2014/08/28 14:30:09.616913,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:30:09.616939, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:30:09.616978,  5] smbd/connection.c:134(claim_connection)
  claiming [IPC$]
[2014/08/28 14:30:09.617043, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 4B3E0000FFFFFFFF2A14
[2014/08/28 14:30:09.617086, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022dece0
[2014/08/28 14:30:09.617126, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 4B3E0000FFFFFFFF2A14
[2014/08/28 14:30:09.617204, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service IPC$, connectpath = /tmp
[2014/08/28 14:30:09.617235,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:30:09.617262, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:30:09.617287, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:30:09.617314,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.617345,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.617371,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.617396,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.617421,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.617467, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.617494, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.617520, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.617545, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.617572,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.617600, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.617626, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.617653, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.617679,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.617707, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.617733, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.617760,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.617786,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.617811,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.617837,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.617861,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.617904, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.617933,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.617960, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.617987, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.618027,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.618053,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.618079,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.618104,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.618129,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.618171, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.618200,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.618227,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:30:09.618252,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:30:09.618284,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:30:09.618316,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:30:09.618343,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.618368,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.618394,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.618419,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.618443,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.618485, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.618514,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.618544, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.618570, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.618596, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.618622, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.618648,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.618675, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.618701, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.618728, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.618754,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.618781, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.618807, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.618834,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.618859,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.618885,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.618910,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.618935,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.618977, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.619005,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.619032, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.619059, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.619100, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.619133,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.619162, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share IPC$ is ok for unix user jsveiga
[2014/08/28 14:30:09.619195, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share IPC$ is read-only for unix user jsveiga
[2014/08/28 14:30:09.619228, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:30:09.619265,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.619293,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.619633,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.619864,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.619893,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.619919,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.619944,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.619984,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:09.620015, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service IPC$, connectpath = /tmp
[2014/08/28 14:30:09.620050,  3] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service IPC$ initially as user jsveiga (uid=1000, gid=100) (pid 15947)
[2014/08/28 14:30:09.620082,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=IPC$ 
[2014/08/28 14:30:09.620743, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 92
[2014/08/28 14:30:09.620838,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x5c
[2014/08/28 14:30:09.620898,  3] smbd/process.c:1662(process_smb)
  Transaction 4 of length 96 (0 toread)
[2014/08/28 14:30:09.620956,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.620989,  5] lib/util.c:342(show_msg)
  size=92
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14144
  smt_wct=15
  smb_vwv[ 0]=   24 (0x18)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   24 (0x18)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=   16 (0x10)
  smb_bcc=27
[2014/08/28 14:30:09.621675, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 04 00 5C 00 7A   00 75 00 6C 00 75 00 5C   .....\.z .u.l.u.\
  [0010] 00 73 00 77 00 68 00 77   00 00 00                 .s.w.h.w ...
[2014/08/28 14:30:09.621823,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.621888,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.621948,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.622713,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.623233,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.623300,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:09.623378, 10] smbd/trans2.c:8324(call_trans2getdfsreferral)
  call_trans2getdfsreferral
[2014/08/28 14:30:09.623456, 10] smbd/msdfs.c:113(parse_dfs_path)
  parse_dfs_path: temp = |zulu\swhw| after trimming \'s
[2014/08/28 14:30:09.623515, 10] smbd/msdfs.c:138(parse_dfs_path)
  parse_dfs_path: hostname: zulu
[2014/08/28 14:30:09.623572, 10] smbd/msdfs.c:180(parse_dfs_path)
  parse_dfs_path: servicename: swhw
[2014/08/28 14:30:09.623642,  3] smbd/msdfs.c:891(get_referred_path)
  get_referred_path: |swhw| in dfs path \zulu\swhw is not a dfs root.
[2014/08/28 14:30:09.623707,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(8346) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND
[2014/08/28 14:30:09.623775,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.623808,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=37
  smb_reh=2
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14144
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.624128, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.624189, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 92
[2014/08/28 14:30:09.624255,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x5c
[2014/08/28 14:30:09.624320,  3] smbd/process.c:1662(process_smb)
  Transaction 5 of length 96 (0 toread)
[2014/08/28 14:30:09.624378,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.624411,  5] lib/util.c:342(show_msg)
  size=92
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14209
  smt_wct=15
  smb_vwv[ 0]=   24 (0x18)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   24 (0x18)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=   16 (0x10)
  smb_bcc=27
[2014/08/28 14:30:09.625110, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 04 00 5C 00 7A   00 75 00 6C 00 75 00 5C   .....\.z .u.l.u.\
  [0010] 00 73 00 77 00 68 00 77   00 00 00                 .s.w.h.w ...
[2014/08/28 14:30:09.625257,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.625318,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.625377, 10] smbd/trans2.c:8324(call_trans2getdfsreferral)
  call_trans2getdfsreferral
[2014/08/28 14:30:09.625440, 10] smbd/msdfs.c:113(parse_dfs_path)
  parse_dfs_path: temp = |zulu\swhw| after trimming \'s
[2014/08/28 14:30:09.625498, 10] smbd/msdfs.c:138(parse_dfs_path)
  parse_dfs_path: hostname: zulu
[2014/08/28 14:30:09.625554, 10] smbd/msdfs.c:180(parse_dfs_path)
  parse_dfs_path: servicename: swhw
[2014/08/28 14:30:09.625622,  3] smbd/msdfs.c:891(get_referred_path)
  get_referred_path: |swhw| in dfs path \zulu\swhw is not a dfs root.
[2014/08/28 14:30:09.625683,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(8346) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND
[2014/08/28 14:30:09.625746,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.625779,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=37
  smb_reh=2
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14209
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.626096, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.626153, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 92
[2014/08/28 14:30:09.626219,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x5c
[2014/08/28 14:30:09.626284,  3] smbd/process.c:1662(process_smb)
  Transaction 6 of length 96 (0 toread)
[2014/08/28 14:30:09.626342,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.626374,  5] lib/util.c:342(show_msg)
  size=92
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14274
  smt_wct=15
  smb_vwv[ 0]=   24 (0x18)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   24 (0x18)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=   16 (0x10)
  smb_bcc=27
[2014/08/28 14:30:09.627051, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 04 00 5C 00 7A   00 75 00 6C 00 75 00 5C   .....\.z .u.l.u.\
  [0010] 00 73 00 77 00 68 00 77   00 00 00                 .s.w.h.w ...
[2014/08/28 14:30:09.627183,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.627243,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.627302, 10] smbd/trans2.c:8324(call_trans2getdfsreferral)
  call_trans2getdfsreferral
[2014/08/28 14:30:09.627365, 10] smbd/msdfs.c:113(parse_dfs_path)
  parse_dfs_path: temp = |zulu\swhw| after trimming \'s
[2014/08/28 14:30:09.627421, 10] smbd/msdfs.c:138(parse_dfs_path)
  parse_dfs_path: hostname: zulu
[2014/08/28 14:30:09.627478, 10] smbd/msdfs.c:180(parse_dfs_path)
  parse_dfs_path: servicename: swhw
[2014/08/28 14:30:09.627546,  3] smbd/msdfs.c:891(get_referred_path)
  get_referred_path: |swhw| in dfs path \zulu\swhw is not a dfs root.
[2014/08/28 14:30:09.627607,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(8346) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND
[2014/08/28 14:30:09.627669,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.627702,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=37
  smb_reh=2
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14274
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.628020, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.628075, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 92
[2014/08/28 14:30:09.628140,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x5c
[2014/08/28 14:30:09.628212,  3] smbd/process.c:1662(process_smb)
  Transaction 7 of length 96 (0 toread)
[2014/08/28 14:30:09.628287,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.628321,  5] lib/util.c:342(show_msg)
  size=92
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14339
  smt_wct=15
  smb_vwv[ 0]=   24 (0x18)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   24 (0x18)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=   16 (0x10)
  smb_bcc=27
[2014/08/28 14:30:09.628846, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 04 00 5C 00 7A   00 75 00 6C 00 75 00 5C   .....\.z .u.l.u.\
  [0010] 00 73 00 77 00 68 00 77   00 00 00                 .s.w.h.w ...
[2014/08/28 14:30:09.628904,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.628931,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.628958, 10] smbd/trans2.c:8324(call_trans2getdfsreferral)
  call_trans2getdfsreferral
[2014/08/28 14:30:09.628986, 10] smbd/msdfs.c:113(parse_dfs_path)
  parse_dfs_path: temp = |zulu\swhw| after trimming \'s
[2014/08/28 14:30:09.629011, 10] smbd/msdfs.c:138(parse_dfs_path)
  parse_dfs_path: hostname: zulu
[2014/08/28 14:30:09.629036, 10] smbd/msdfs.c:180(parse_dfs_path)
  parse_dfs_path: servicename: swhw
[2014/08/28 14:30:09.629067,  3] smbd/msdfs.c:891(get_referred_path)
  get_referred_path: |swhw| in dfs path \zulu\swhw is not a dfs root.
[2014/08/28 14:30:09.629094,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(8346) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND
[2014/08/28 14:30:09.629122,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.629137,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=37
  smb_reh=2
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=14339
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.629278, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.629305, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 74
[2014/08/28 14:30:09.629334,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4a
[2014/08/28 14:30:09.629360,  3] smbd/process.c:1662(process_smb)
  Transaction 8 of length 78 (0 toread)
[2014/08/28 14:30:09.629386,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.629400,  5] lib/util.c:342(show_msg)
  size=74
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=14400
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=   74 (0x4A)
  smb_vwv[ 2]=    8 (0x8)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=31
[2014/08/28 14:30:09.629586, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 5C 00 5A 00 55   00 4C 00 55 00 5C 00 53   .\.\.Z.U .L.U.\.S
  [0010] 00 57 00 48 00 57 00 00   00 3F 3F 3F 3F 3F 00     .W.H.W.. .?????.
[2014/08/28 14:30:09.629646,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 15947) conn 0x0
[2014/08/28 14:30:09.629672,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.629698,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.629724,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.629765,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:09.629796,  4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [?????] for share [SWHW]
[2014/08/28 14:30:09.629829,  5] smbd/service.c:1354(make_connection)
  making a connection to 'normal' service swhw
[2014/08/28 14:30:09.629862,  3] lib/access.c:338(allow_access)
  Allowed connection from 192.168.168.130 (192.168.168.130)
[2014/08/28 14:30:09.629892,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:30:09.629921, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:30:09.629946, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:30:09.629973,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.629999,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.630024,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.630050,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.630074,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.630125, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.630153, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.630178, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.630204, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.630231,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.630260, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.630287, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.630313, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.630340,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.630368, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.630395, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.630421,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.630447,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.630472,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.630498,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.630522,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.630566, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.630595,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.630623, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.630651, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.630691,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.630718,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.630743,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.630768,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.630800,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.630842, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.630871,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.630898,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:30:09.630923,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:30:09.630951,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:30:09.630984,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:30:09.631012,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.631038,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.631063,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.631089,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.631113,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.631155, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.631185,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.631215, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.631242, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.631268, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.631293, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.631320,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.631349, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.631375, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.631402, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.631428,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.631456, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.631483, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.631509,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.631535,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.631560,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.631586,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.631611,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.631654, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.631683,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.631709, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.631743, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.631787, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.631820,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.631853,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:30:09.631918,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:30:09.631946,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:30:09.632003, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:30:09.632030, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:30:09.632056,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.632082,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.632108,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.632133,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.632159,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.632206,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.632236, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:30:09.632261, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:30:09.632323, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:30:09.632359,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user jsveiga
[2014/08/28 14:30:09.632385,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is jsveiga
[2014/08/28 14:30:09.632412,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [jsveiga]!
[2014/08/28 14:30:09.632443, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:30:09.632471,  3] smbd/service.c:872(make_connection_snum)
  Connect path is '/shared/swhw' for service [swhw]
[2014/08/28 14:30:09.632526, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:30:09.632556, 10] ../libcli/security/access_check.c:178(se_access_check)
  se_access_check: MAX desired = 0x2000000, granted = 0x101f01ff, remaining = 0x101f01ff
[2014/08/28 14:30:09.632583,  3] smbd/vfs.c:102(vfs_init_default)
  Initialising default vfs hooks
[2014/08/28 14:30:09.632609,  3] smbd/vfs.c:128(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2014/08/28 14:30:09.632635, 10] smbd/vfs.c:53(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2014/08/28 14:30:09.632674,  5] smbd/connection.c:134(claim_connection)
  claiming [swhw]
[2014/08/28 14:30:09.632740, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 4B3E0000FFFFFFFF2A14
[2014/08/28 14:30:09.632771, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ded40
[2014/08/28 14:30:09.632804, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 4B3E0000FFFFFFFF2A14
[2014/08/28 14:30:09.632907, 10] smbd/service.c:162(set_conn_connectpath)
  set_conn_connectpath: service swhw, connectpath = /shared/swhw
[2014/08/28 14:30:09.632946,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID root is not in a valid format
[2014/08/28 14:30:09.632975, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\root => domain=[ZULU], name=[root]
[2014/08/28 14:30:09.633001, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x073
[2014/08/28 14:30:09.633028,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.633054,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.633079,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.633105,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.633130,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.633177, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.633205, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.633231, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.633256, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.633283,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.633313, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.633339, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.633366, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.633392,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.633421, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.633447, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.633474,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.633500,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.633526,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.633551,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.633576,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.633620, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.633649,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.633676, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.633704, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.633746,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.633772,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.633798,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.633823,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.633848,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.633898, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2014/08/28 14:30:09.633927,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.633954,  5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user root
[2014/08/28 14:30:09.633979,  5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is root
[2014/08/28 14:30:09.634006,  5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [root]!
[2014/08/28 14:30:09.634039,  3] passdb/lookup_sid.c:1754(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for root
[2014/08/28 14:30:09.634066,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.634092,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.634117,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.634142,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.634167,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.634209, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.634238,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.634269, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username root, was 
[2014/08/28 14:30:09.634295, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.634321, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.634347, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name root, was 
[2014/08/28 14:30:09.634373,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.634401, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\root, was 
[2014/08/28 14:30:09.634430, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.634456, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.634482,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.634510, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\root\profile, was 
[2014/08/28 14:30:09.634536, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.634563,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.634588,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.634613,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.634639,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.634663,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.634705, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.634734,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.634760, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000
[2014/08/28 14:30:09.634788, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-1000 from rid 1000
[2014/08/28 14:30:09.634834, 10] passdb/pdb_get_set.c:562(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-1713247293-1926860970-2001202512-513
[2014/08/28 14:30:09.634868,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.634900,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @users is not in a valid format
[2014/08/28 14:30:09.634928,  5] auth/user_util.c:148(user_in_netgroup)
  Unable to get default yp domain, let's try without specifying it
[2014/08/28 14:30:09.634953,  5] auth/user_util.c:152(user_in_netgroup)
  looking for user jsveiga of domain (ANY) in netgroup users
[2014/08/28 14:30:09.634989, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: ZULU\users => domain=[ZULU], name=[users]
[2014/08/28 14:30:09.635015, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:30:09.635041,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.635067,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.635092,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.635117,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.635142,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.635188,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.635217, 10] passdb/lookup_sid.c:76(lookup_name)
  lookup_name: Unix Group\users => domain=[Unix Group], name=[users]
[2014/08/28 14:30:09.635243, 10] passdb/lookup_sid.c:77(lookup_name)
  lookup_name: flags = 0x077
[2014/08/28 14:30:09.635295, 10] smbd/share_access.c:241(user_ok_token)
  user_ok_token: share swhw is ok for unix user jsveiga
[2014/08/28 14:30:09.635323, 10] smbd/share_access.c:286(is_share_read_only_for_token)
  is_share_read_only_for_user: share swhw is read-write for unix user jsveiga
[2014/08/28 14:30:09.635356, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:30:09.635389, 10] ../libcli/security/access_check.c:58(se_map_generic)
  se_map_generic(): mapped mask 0x10000000 to 0x001f01ff
[2014/08/28 14:30:09.635426,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.635454,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.635794,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.636030,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.636059,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.636084,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.636109,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.636149,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:09.636185, 10] modules/vfs_default.c:160(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share swhw, directory /shared/swhw
[2014/08/28 14:30:09.636213,  1] smbd/service.c:1114(make_connection_snum)
  lynx (192.168.168.130) connect to service swhw initially as user jsveiga (uid=1000, gid=100) (pid 15947)
[2014/08/28 14:30:09.636248,  3] smbd/reply.c:871(reply_tcon_and_X)
  tconX service=SWHW 
[2014/08/28 14:30:09.636623, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 110
[2014/08/28 14:30:09.636696,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6e
[2014/08/28 14:30:09.636734,  3] smbd/process.c:1662(process_smb)
  Transaction 9 of length 114 (0 toread)
[2014/08/28 14:30:09.636760,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.636774,  5] lib/util.c:342(show_msg)
  size=110
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14464
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 6144 (0x1800)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=35072 (0x8900)
  smb_vwv[ 8]=  512 (0x200)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=27
[2014/08/28 14:30:09.637171, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 64 00 65 00 73   00 6B 00 74 00 6F 00 70   .\.d.e.s .k.t.o.p
  [0010] 00 2E 00 69 00 6E 00 69   00 00 00                 ...i.n.i ...
[2014/08/28 14:30:09.637229,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.637258,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.637284,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.637625,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.637863,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.637890,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:09.637926, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 root_dir_fid = 0x0, fname = desktop.ini
[2014/08/28 14:30:09.637961,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "desktop.ini"
[2014/08/28 14:30:09.637990, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [DESKTOP.INI]
[2014/08/28 14:30:09.638017,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = desktop.ini, dirpath = , start = desktop.ini
[2014/08/28 14:30:09.638048, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled desktop.ini ?
[2014/08/28 14:30:09.638075, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component desktop.ini (len 11) ?
[2014/08/28 14:30:09.638103, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled desktop.ini ?
[2014/08/28 14:30:09.638128, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component desktop.ini (len 11) ?
[2014/08/28 14:30:09.638186, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled desktop.ini ?
[2014/08/28 14:30:09.638214, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component desktop.ini (len 11) ?
[2014/08/28 14:30:09.638240,  5] smbd/filename.c:781(unix_convert)
  New file desktop.ini
[2014/08/28 14:30:09.638265,  8] lib/util.c:1320(is_in_path)
  is_in_path: desktop.ini
[2014/08/28 14:30:09.638294,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.638321, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = desktop.ini
[2014/08/28 14:30:09.638356, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = desktop.ini
[2014/08/28 14:30:09.638393,  5] smbd/files.c:140(file_new)
  allocated file structure 6506, fnum = 10602 (1 used)
[2014/08/28 14:30:09.638423, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/desktop.ini hash 0xd79f131a
[2014/08/28 14:30:09.638452,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(desktop.ini) returning 0744
[2014/08/28 14:30:09.638480, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=desktop.ini, dos_attrs=0x0 access_mask=0x20089 share_access=0x7 create_disposition = 0x1 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:09.638511,  5] smbd/open.c:1732(open_file_ntcreate)
  open_file_ntcreate: FILE_OPEN requested for file desktop.ini and file doesn't exist.
[2014/08/28 14:30:09.638538,  5] smbd/files.c:482(file_free)
  freed files structure 10602 (0 used)
[2014/08/28 14:30:09.638564, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:30:09.638591, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:30:09.638617,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(161) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:30:09.638644,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.638658,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14464
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.638804, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.638831, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 76
[2014/08/28 14:30:09.638860,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4c
[2014/08/28 14:30:09.638886,  3] smbd/process.c:1662(process_smb)
  Transaction 10 of length 80 (0 toread)
[2014/08/28 14:30:09.638912,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.638927,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14531
  smt_wct=15
  smb_vwv[ 0]=    8 (0x8)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    8 (0x8)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=11
[2014/08/28 14:30:09.639226, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 00 00                 ........ ...
[2014/08/28 14:30:09.639262,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.639288,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.639316,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:30:09.639343,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:09.639370,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:09.639395,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:09.639422,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.639451, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:09.639505, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.639536,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 14:30:09.639566,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = -1) level=1004 max_data=40
[2014/08/28 14:30:09.639594,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.639621, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.639649, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.639751,  5] passdb/lookup_sid.c:1331(uid_to_sid)
  uid_to_sid: winbind failed to find a sid for uid 1037
[2014/08/28 14:30:09.639780,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.639809,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.639835,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.639861,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.639886,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.639954,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.639981,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2014/08/28 14:30:09.640006,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.640031,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.640056,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.640113, 10] passdb/pdb_get_set.c:575(pdb_set_username)
  pdb_set_username: setting username thiago.alencar, was 
[2014/08/28 14:30:09.640140, 10] passdb/pdb_get_set.c:598(pdb_set_domain)
  pdb_set_domain: setting domain RFCOM, was 
[2014/08/28 14:30:09.640166, 10] passdb/pdb_get_set.c:621(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2014/08/28 14:30:09.640191, 10] passdb/pdb_get_set.c:644(pdb_set_fullname)
  pdb_set_full_name: setting full name Thiago Faria Alencar,,,, was 
[2014/08/28 14:30:09.640218,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.640248, 10] passdb/pdb_get_set.c:737(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\zulu\thiago.alencar, was 
[2014/08/28 14:30:09.640274, 10] passdb/pdb_get_set.c:713(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2014/08/28 14:30:09.640301, 10] passdb/pdb_get_set.c:667(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2014/08/28 14:30:09.640327,  4] lib/substitute.c:527(automount_server)
  Home server: zulu
[2014/08/28 14:30:09.640356, 10] passdb/pdb_get_set.c:690(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\zulu\thiago.alencar\profile, was 
[2014/08/28 14:30:09.640382, 10] passdb/pdb_get_set.c:780(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2014/08/28 14:30:09.640409,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.640435,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 2
[2014/08/28 14:30:09.640460,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2014/08/28 14:30:09.640516,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.640542,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.640585, 10] passdb/account_pol.c:339(account_policy_get)
  account_policy_get: name: password history, val: 0
[2014/08/28 14:30:09.640614,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2014/08/28 14:30:09.640641, 10] passdb/pdb_get_set.c:500(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:30:09.640669, 10] passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-1713247293-1926860970-2001202512-3074 from rid 3074
[2014/08/28 14:30:09.640710,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.640740,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.640767, 10] passdb/lookup_sid.c:1150(legacy_uid_to_sid)
  LEGACY: uid 1037 -> sid S-1-5-21-1713247293-1926860970-2001202512-3074
[2014/08/28 14:30:09.640813,  5] passdb/lookup_sid.c:1384(gid_to_sid)
  gid_to_sid: winbind failed to find a sid for gid 1036
[2014/08/28 14:30:09.640839,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.640868,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:09.640894,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:09.640919,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:09.640944,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:09.640993,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.641020, 10] passdb/lookup_sid.c:1181(legacy_gid_to_sid)
  LEGACY: gid 1036 -> sid S-1-22-2-1036
[2014/08/28 14:30:09.641052, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.641084, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.641115, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.641228, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.641310, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.641356, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.641410, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.641652, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.641678, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.641707, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.641788, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.641869, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.641915, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.641966, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.642206, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.642234, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.642260, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.642285, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.642311, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.642342, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.642368, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.642393, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.642419, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.642444, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.642471, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.642497, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.642522, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.642554, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.642583,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.644285,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.644312,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.644347, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 14:30:09.644374,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu Aug 28 11:45:47 2014
   access: Thu Aug 28 11:45:48 2014
   write: Thu Aug 28 11:45:47 2014
   change: Thu Aug 28 11:45:47 2014
   mode: 10
[2014/08/28 14:30:09.644461,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 14:30:09.644503,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 14:30:09.644531,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.644546,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14531
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 14:30:09.644793, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 5C 1B FF   C0 CE C2 CF 01 24 A8 89   .....\.. .....$..
  [0010] C1 CE C2 CF 01 5C 1B FF   C0 CE C2 CF 01 5C 1B FF   .....\.. .....\..
  [0020] C0 CE C2 CF 01 10 00 00   00 00 00 00 00           ........ .....
[2014/08/28 14:30:09.645208, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 76
[2014/08/28 14:30:09.645277,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x4c
[2014/08/28 14:30:09.645336,  3] smbd/process.c:1662(process_smb)
  Transaction 11 of length 80 (0 toread)
[2014/08/28 14:30:09.645395,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.645410,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14595
  smt_wct=15
  smb_vwv[ 0]=    8 (0x8)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    8 (0x8)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=11
[2014/08/28 14:30:09.645718, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 00 00                 ........ ...
[2014/08/28 14:30:09.645754,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.645780,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.645807,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 14:30:09.645836,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:09.645863,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:09.645888,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:09.645915,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.645944, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:09.645979, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.646005,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 14:30:09.646032,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = -1) level=1005 max_data=24
[2014/08/28 14:30:09.646059,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.646085, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.646111, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.646151, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.646177, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.646207, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.646292, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.646374, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.646420, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.646474, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.646715, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.646741, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.646776, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.646857, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.646938, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.646984, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.647035, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.647273, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.647300, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.647326, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.647352, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.647377, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.647403, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.647428, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.647454, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.647480, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.647505, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.647531, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.647557, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.647583, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.647613, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.647640,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.649346,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.649373,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.649405, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:09.649437,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:09.649463,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:09.649489,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.649503,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14595
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:09.649749, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:09.651508, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:09.651576,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:09.651635,  3] smbd/process.c:1662(process_smb)
  Transaction 12 of length 90 (0 toread)
[2014/08/28 14:30:09.651691,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.651706,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14659
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:09.652104, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:09.652137,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.652164,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.652190, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:09.652219,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:09.652247,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:09.652272,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:09.652298,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.652324, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:09.652354, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:09.652385,  5] smbd/files.c:140(file_new)
  allocated file structure 6507, fnum = 10603 (1 used)
[2014/08/28 14:30:09.652419, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:09.652446,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:09.652472, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:09.652507,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.652533, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.652559, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.652598, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.652624, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.652653, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.652739, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.652821, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.652868, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.652922, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.653167, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.653193, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.653222, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.653303, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.653385, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.653431, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.653483, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.653729, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.653756, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.653782, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.653807, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.653833, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.653859, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.653884, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.653910, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.653935, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.653961, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.653987, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.654013, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.654038, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.654069, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.654097,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.655787,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.655814,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.655842, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:09.655878, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.655913, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea810
[2014/08/28 14:30:09.655940, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:09.655968, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.656006, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.656035, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ea810
[2014/08/28 14:30:09.656064, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:30:09.656090,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:09.656119, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:09.656148, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:09.656177, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:09.656210, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.656243,  5] smbd/files.c:482(file_free)
  freed files structure 10603 (0 used)
[2014/08/28 14:30:09.656270,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:09.656298, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.656335, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.656361, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.656390, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.656474, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.656598, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.656651, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.656712, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.656990, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.657020, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.657053, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.657145, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.657237, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.657289, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.657348, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.657626, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.657657, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.657686, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.657715, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.657743, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.657772, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.657801, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.657829, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.657858, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.657886, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.657916, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.657945, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.657974, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.658009, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:09.658044,  5] smbd/files.c:140(file_new)
  allocated file structure 6508, fnum = 10604 (1 used)
[2014/08/28 14:30:09.658076, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:09.658108, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:09.658145, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.658178, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f20e0
[2014/08/28 14:30:09.658211, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:09.658260, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.658294, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.658330, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:09.658359, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:09.658388,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.658418, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.658447, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.658490, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.658520, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.658553, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.658654, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.658748, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.658801, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.658863, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.659139, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.659169, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.659201, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.659293, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.659384, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.659436, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.659499, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.659771, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.659801, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.659830, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.659859, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.659887, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.659916, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.659945, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.659973, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.660007, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.660036, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.660066, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.660095, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.660123, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.660159, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.660191,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.662109,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.662140,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.662175, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:09.662222, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.662260,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10604, open name = .
[2014/08/28 14:30:09.662631, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:09.662703,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:09.662761,  3] smbd/process.c:1662(process_smb)
  Transaction 13 of length 76 (0 toread)
[2014/08/28 14:30:09.662806,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.662822,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14723
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    8 (0x8)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:09.663162, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 6C 29 EE 03                              ...l).. 
[2014/08/28 14:30:09.663201,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.663231,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.663261,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2014/08/28 14:30:09.663298, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:09.663344, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.663381, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.663411,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10604) level=1006 call=7 total_data=0
[2014/08/28 14:30:09.663441,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10604) level=1006 max_data=8
[2014/08/28 14:30:09.663471,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.663500, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.663529, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.663572, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.663602, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.663635, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.663731, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.663823, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.663874, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.663934, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.664206, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.664236, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.664268, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.664360, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.664450, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.664511, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.664569, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.664845, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.664875, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.664904, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.664933, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.664962, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.664991, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.665019, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.665048, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.665077, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.665106, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.665135, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.665165, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.665193, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.665228, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.665259,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.667177,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.667208,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.667242, 10] smbd/trans2.c:4621(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_INTERNAL_INFORMATION
[2014/08/28 14:30:09.667272,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 8, useable_space = 131010
[2014/08/28 14:30:09.667301,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 8, paramsize = 2, datasize = 8
[2014/08/28 14:30:09.667330,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.667347,  5] lib/util.c:342(show_msg)
  size=68
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14723
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    8 (0x8)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=13
[2014/08/28 14:30:09.667626, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 01 00 94   00 00 00 00 00           ........ .....
[2014/08/28 14:30:09.667972, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:09.668041,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:09.668100,  3] smbd/process.c:1662(process_smb)
  Transaction 14 of length 76 (0 toread)
[2014/08/28 14:30:09.668153,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.668169,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14787
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:09.668521, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 6C 29 ED 03                              ...l).. 
[2014/08/28 14:30:09.668560,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.668590,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.668620,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:09.668657, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:09.668704, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.668735, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.668764,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10604) level=1005 call=7 total_data=0
[2014/08/28 14:30:09.668795,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10604) level=1005 max_data=24
[2014/08/28 14:30:09.668824,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.668853, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.668883, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.668925, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.668955, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.668987, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.669083, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.669175, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.669227, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.669287, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.669565, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.669595, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.669628, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.669719, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.669810, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.669861, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.669918, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.670186, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.670216, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.670245, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.670274, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.670303, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.670331, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.670360, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.670389, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.670417, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.670446, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.670475, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.670504, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.670533, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.670568, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.670598,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.672516,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.672546,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.672579, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:09.672609,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:09.672638,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:09.672667,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.672683,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14787
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:09.672962, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:09.673356, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:09.673425,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:09.673484,  3] smbd/process.c:1662(process_smb)
  Transaction 15 of length 90 (0 toread)
[2014/08/28 14:30:09.673530,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.673547,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14851
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:09.673991, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:09.674028,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.674057,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.674088, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:09.674120,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:09.674151,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:09.674179,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:09.674209,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.674238, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:09.674278, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:09.674312,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:09.674344, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.674387, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.674416, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.674449, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.674545, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.674636, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.674689, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.674749, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.675022, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.675052, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.675085, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.675176, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.675267, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.675319, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.675376, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.675683, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.675714, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.675743, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.675772, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.675800, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.675829, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.675858, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.675887, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.675915, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.675944, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.675973, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.676002, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.676031, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.676066, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 14:30:09.676100,  5] smbd/files.c:140(file_new)
  allocated file structure 6509, fnum = 10605 (2 used)
[2014/08/28 14:30:09.676133, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:09.676165, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 32. 
[2014/08/28 14:30:09.676201, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.676235, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f1150
[2014/08/28 14:30:09.676265, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:09.676312, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.676343, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.676373, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:09.676402, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x100001, share_access = 0x7
[2014/08/28 14:30:09.676431, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:09.676460, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:09.676496, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x100001) & right (0x6) = 0x0
[2014/08/28 14:30:09.676527, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:09.676556, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:09.676584, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:09.676619, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x100001) & right (0x21) = 0x1
[2014/08/28 14:30:09.676648, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:09.676677, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:09.676706, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:09.676734, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x100001) & right (0x10000) = 0x0
[2014/08/28 14:30:09.676763, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:09.676792, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:09.676822, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:30:09.676868, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.676906, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.676938, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.676975, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:09.677004, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:09.677034,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.677063, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.677092, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.677134, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.677164, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.677197, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.677292, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.677385, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.677438, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.677500, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.677782, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.677812, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.677845, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.677937, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.678029, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.678081, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.678140, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.678413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.678443, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.678472, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.678501, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.678529, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.678558, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.678587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.678616, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.678644, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.678673, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.678702, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.678731, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.678760, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.678794, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.678824,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.680738,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.680771,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.680802, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.680844, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.680878, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.680908,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10605, open name = .
[2014/08/28 14:30:09.681247, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:30:09.681316,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:30:09.681375,  3] smbd/process.c:1662(process_smb)
  Transaction 16 of length 88 (0 toread)
[2014/08/28 14:30:09.681431,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.681445,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14915
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=10605 (0x296D)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:09.681831, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:09.681864,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.681890,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.681920, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 14:30:09.681948, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 14:30:09.681973, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 6D 29 00 00                            ....m).. 
[2014/08/28 14:30:09.682010,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 14:30:09.682044,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 14:30:09.682078, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:30:09.682127, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022f1150
[2014/08/28 14:30:09.682169, 10] smbd/notify_internal.c:235(notify_load)
  notify_load:
[2014/08/28 14:30:09.682196,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       notify->array: struct notify_array
          num_depths               : 0x00000003 (3)
          depth: ARRAY(3)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000000 (0)
                  num_entries              : 0x00000000 (0)
                  entries: ARRAY(0)
              depth: struct notify_depth
                  max_mask                 : 0x00000000 (0)
                  max_mask_subdir          : 0x00000003 (3)
                  num_entries              : 0x00000001 (1)
                  entries: ARRAY(1)
                      entries: struct notify_entry
                          server: struct server_id
                              pid                      : 0x00003420 (13344)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x80f30b550c1b6b45 (9291782916098714437)
                          filter                   : 0x00000000 (0)
                          subdir_filter            : 0x00000003 (3)
                          dir_fd                   : 0x0000001c (28)
                          dir_id: struct file_id
                              devid                    : 0x0000000000000816 (2070)
                              inode                    : 0x0000000000000002 (2)
                              extid                    : 0x0000000000000000 (0)
                          path                     : '/shared/projects'
                          path_len                 : 0x00000010 (16)
                          private_data             : 0x7fc9022d14a0
[2014/08/28 14:30:09.682645, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 1
[2014/08/28 14:30:09.682673, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:30:09.682704, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 14:30:09.720924, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:09.721002,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:09.721061,  3] smbd/process.c:1662(process_smb)
  Transaction 17 of length 76 (0 toread)
[2014/08/28 14:30:09.721118,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.721151,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14976
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:09.721824, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 6C 29 ED 03                              ...l).. 
[2014/08/28 14:30:09.721901,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.721961,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.722021,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:09.722092, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.722184, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.722272, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.722335, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.722394,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10604) level=1005 call=7 total_data=0
[2014/08/28 14:30:09.722454,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10604) level=1005 max_data=24
[2014/08/28 14:30:09.722513,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.722572, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.722631, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.722717, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.722776, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.722842, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.723036, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.723221, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.723326, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.723447, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.723990, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.724050, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.724115, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.724296, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.724478, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.724597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.724712, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.725265, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.725326, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.725384, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.725442, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.725500, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.725557, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.725615, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.725673, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.725730, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.725788, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.725848, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.725906, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.725964, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.726033, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.726095,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.729944,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.730005,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.730071, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:09.730132,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:09.730190,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:09.730248,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.730281,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14976
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:09.730842, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:09.731507, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:09.731584,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:09.731643,  3] smbd/process.c:1662(process_smb)
  Transaction 18 of length 90 (0 toread)
[2014/08/28 14:30:09.731701,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.731733,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=15040
  smt_wct=15
  smb_vwv[ 0]=   18 (0x12)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   18 (0x12)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=21
[2014/08/28 14:30:09.732404, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 06   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 2A 00 00 00                                    .*... 
[2014/08/28 14:30:09.732557,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.732618,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.732686,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:09.732754,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "*"
[2014/08/28 14:30:09.732815, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [*]
[2014/08/28 14:30:09.732874,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = *, dirpath = , start = *
[2014/08/28 14:30:09.732933, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled * ?
[2014/08/28 14:30:09.732990, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component * (len 1) ?
[2014/08/28 14:30:09.733048,  5] smbd/filename.c:609(unix_convert)
  Wildcard *
[2014/08/28 14:30:09.733105,  8] lib/util.c:1320(is_in_path)
  is_in_path: *
[2014/08/28 14:30:09.733164,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.733222,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = *
[2014/08/28 14:30:09.733281,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:09.733338,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:09.733397,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.733470,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:09.733529,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = *, attr = 22
[2014/08/28 14:30:09.733586,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:09.733658,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 0
[2014/08/28 14:30:09.733730,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./.
[2014/08/28 14:30:09.733788, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./.
[2014/08/28 14:30:09.733846, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./.
[2014/08/28 14:30:09.733931, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.733990, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.734056, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.734261, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.734446, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.734549, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.734670, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.735214, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.735273, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.735338, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.735520, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.735703, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.735806, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.735921, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.736458, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.736534, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.736594, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.736652, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.736710, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.736767, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.736825, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.736882, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.736953, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.737011, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.737070, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.737128, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.737186, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.737259, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./. access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.737320,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.740916,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.740943,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.740975, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.741017, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.741051, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.741079,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./. fname=. (.)
[2014/08/28 14:30:09.741111, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:09.741139, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.741168,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 2147483648
[2014/08/28 14:30:09.741201,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./..
[2014/08/28 14:30:09.741226, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./..
[2014/08/28 14:30:09.741253, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./..
[2014/08/28 14:30:09.741301, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.741328, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.741358, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.741403, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.741448, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.741551, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.741577, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.741603, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.741633, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./.. access_mask 0x2, access_granted 0x2 access DENIED
[2014/08/28 14:30:09.741661,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-1000
          group_sid                : *
              group_sid                : S-1-22-2-0
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0058 (88)
                  num_aces                 : 0x00000003 (3)
                  aces: ARRAY(3)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-1000
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.742600,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning rd
[2014/08/28 14:30:09.742627,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning rd
[2014/08/28 14:30:09.742662, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.742689,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./.. fname=.. (..)
[2014/08/28 14:30:09.742716, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16288
[2014/08/28 14:30:09.742742, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.742785,  8] lib/util.c:1320(is_in_path)
  is_in_path: ifr4000api
[2014/08/28 14:30:09.742813,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.742839,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 1326613943226569051
[2014/08/28 14:30:09.742871,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./ifr4000api
[2014/08/28 14:30:09.742897, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./ifr4000api
[2014/08/28 14:30:09.742924, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./ifr4000api
[2014/08/28 14:30:09.742962, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.742988, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.743017, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.743101, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.743184, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.743230, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.743284, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.743537, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.743564, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.743592, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.743674, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.743755, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.743801, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.743853, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.744096, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.744123, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.744149, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.744175, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.744200, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.744225, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.744251, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.744276, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.744301, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.744327, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.744353, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.744378, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.744404, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.744434, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./ifr4000api access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.744467,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.746175,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.746202,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.746238, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.746264,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./ifr4000api fname=ifr4000api (ifr4000api)
[2014/08/28 14:30:09.746292, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16188
[2014/08/28 14:30:09.746317, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.746346, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: ifr4000api -> 09CBB29E -> I2PUH0~E (cache=1)
[2014/08/28 14:30:09.746374,  8] lib/util.c:1320(is_in_path)
  is_in_path: desenvolvimento.ods
[2014/08/28 14:30:09.746402,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.746428,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 1873777085757434437
[2014/08/28 14:30:09.746460,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./desenvolvimento.ods
[2014/08/28 14:30:09.746485, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./desenvolvimento.ods
[2014/08/28 14:30:09.746512, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./desenvolvimento.ods
[2014/08/28 14:30:09.746547, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.746573, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.746602, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.746687, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.746769, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.746816, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.746870, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.747115, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.747146, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.747172, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.747198, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.747223, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.747252, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./desenvolvimento.ods access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.747280,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.748598,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:30:09.748625,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:30:09.748658, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.748684,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./desenvolvimento.ods fname=desenvolvimento.ods (desenvolvimento.ods)
[2014/08/28 14:30:09.748713, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16072
[2014/08/28 14:30:09.748738, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.748766, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: desenvolvimento.ods -> 4A7AAE59 -> DKNYA1~L.ODS (cache=1)
[2014/08/28 14:30:09.748800,  8] lib/util.c:1320(is_in_path)
  is_in_path: qt
[2014/08/28 14:30:09.748827,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.748853,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 3466375090685372007
[2014/08/28 14:30:09.748884,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./qt
[2014/08/28 14:30:09.748910, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./qt
[2014/08/28 14:30:09.748936, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./qt
[2014/08/28 14:30:09.748973, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.748999, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.749028, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.749112, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.749194, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.749240, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.749294, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.749537, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.749563, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.749592, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.749676, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.749757, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.749803, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.749854, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.750103, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.750130, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.750156, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.750182, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.750208, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.750233, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.750259, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.750284, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.750310, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.750335, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.750361, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.750387, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.750412, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.750442, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./qt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.750470,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.752161,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.752188,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.752220, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.752246,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./qt fname=qt (qt)
[2014/08/28 14:30:09.752274, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15940
[2014/08/28 14:30:09.752299, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.752327,  8] lib/util.c:1320(is_in_path)
  is_in_path: _perm_swhw.txt
[2014/08/28 14:30:09.752354,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.752380,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 3766525309980287308
[2014/08/28 14:30:09.752411,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./_perm_swhw.txt
[2014/08/28 14:30:09.752437, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./_perm_swhw.txt
[2014/08/28 14:30:09.752463, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./_perm_swhw.txt
[2014/08/28 14:30:09.752513, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.752541, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.752575, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.752661, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.752742, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.752789, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.752843, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.753085, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.753111, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.753137, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.753162, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.753188, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.753218, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./_perm_swhw.txt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.753245,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.754573,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:30:09.754599,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:30:09.754632, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.754658,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./_perm_swhw.txt fname=_perm_swhw.txt (_perm_swhw.txt)
[2014/08/28 14:30:09.754686, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15840
[2014/08/28 14:30:09.754712, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.754739, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: _perm_swhw.txt -> 727C7FA0 -> _VRKL9~C.TXT (cache=1)
[2014/08/28 14:30:09.754768,  8] lib/util.c:1320(is_in_path)
  is_in_path: transfer_implementation
[2014/08/28 14:30:09.754796,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.754821,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 4610918656141973045
[2014/08/28 14:30:09.754854,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./transfer_implementation
[2014/08/28 14:30:09.754879, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./transfer_implementation
[2014/08/28 14:30:09.754906, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./transfer_implementation
[2014/08/28 14:30:09.754943, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.754969, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.754999, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.755083, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.755164, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.755211, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.755265, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.755515, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.755541, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.755570, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.755652, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.755733, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.755779, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.755831, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.756082, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.756109, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.756135, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.756160, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.756186, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.756211, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.756237, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.756262, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.756288, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.756313, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.756339, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.756365, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.756391, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.756421, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./transfer_implementation access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.756449,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.758157,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.758184,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.758217, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.758243,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./transfer_implementation fname=transfer_implementation (transfer_implementation)
[2014/08/28 14:30:09.758272, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15716
[2014/08/28 14:30:09.758297, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.758325, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: transfer_implementation -> 5B6C61A1 -> TPD7AG~1 (cache=1)
[2014/08/28 14:30:09.758353,  8] lib/util.c:1320(is_in_path)
  is_in_path: vbNet
[2014/08/28 14:30:09.758381,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.758406,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 4914252885672520885
[2014/08/28 14:30:09.758437,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vbNet
[2014/08/28 14:30:09.758463, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vbNet
[2014/08/28 14:30:09.758489, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vbNet
[2014/08/28 14:30:09.758527, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.758553, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.758582, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.758668, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.758750, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.758797, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.758851, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.759094, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.759120, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.759149, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.759237, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.759319, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.759364, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.759416, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.759657, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.759683, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.759709, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.759735, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.759760, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.759786, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.759811, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.759837, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.759862, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.759887, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.759913, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.759939, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.759964, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.759995, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vbNet access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.760022,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.761729,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.761756,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.761788, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.761814,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vbNet fname=vbNet (vbNet)
[2014/08/28 14:30:09.761847, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15576
[2014/08/28 14:30:09.761873, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.761901,  8] lib/util.c:1320(is_in_path)
  is_in_path: arduino
[2014/08/28 14:30:09.761928,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.761954,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 6544795716341418082
[2014/08/28 14:30:09.761985,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./arduino
[2014/08/28 14:30:09.762011, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./arduino
[2014/08/28 14:30:09.762037, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./arduino
[2014/08/28 14:30:09.762076, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.762102, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.762131, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.762217, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.762320, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.762367, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.762421, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.762666, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.762692, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.762721, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.762803, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.762884, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.762930, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.762982, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.763230, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.763257, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.763282, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.763308, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.763333, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.763359, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.763384, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.763409, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.763435, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.763460, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.763486, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.763511, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.763537, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.763567, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./arduino access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.763594,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.765302,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.765329,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.765363, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.765389,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./arduino fname=arduino (arduino)
[2014/08/28 14:30:09.765417, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15472
[2014/08/28 14:30:09.765443, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.765470,  8] lib/util.c:1320(is_in_path)
  is_in_path: Projects
[2014/08/28 14:30:09.765498,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.765523,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 7143319802496336475
[2014/08/28 14:30:09.765555,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./Projects
[2014/08/28 14:30:09.765581, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./Projects
[2014/08/28 14:30:09.765608, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./Projects
[2014/08/28 14:30:09.765652, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.765678, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.765707, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.765794, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.765877, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.765923, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.765977, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.766221, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.766248, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.766277, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.766359, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.766440, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.766486, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.766538, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.766782, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.766810, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.766836, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.766861, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.766893, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.766919, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.766944, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.766970, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.766995, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.767021, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.767047, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.767072, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.767098, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.767128, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./Projects access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.767155,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.768880,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.768907,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.768942, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.768968,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./Projects fname=Projects (Projects)
[2014/08/28 14:30:09.768996, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15364
[2014/08/28 14:30:09.769022, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.769049,  8] lib/util.c:1320(is_in_path)
  is_in_path: oldstuff
[2014/08/28 14:30:09.769077,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.769103,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 7447130304878394688
[2014/08/28 14:30:09.769134,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./oldstuff
[2014/08/28 14:30:09.769159, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./oldstuff
[2014/08/28 14:30:09.769186, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./oldstuff
[2014/08/28 14:30:09.769224, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.769250, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.769280, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.769367, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.769449, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.769504, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.769559, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.769804, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.769830, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.769859, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.769940, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.770022, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.770068, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.770119, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.770361, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.770388, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.770413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.770439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.770465, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.770490, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.770515, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.770541, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.770566, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.770592, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.770618, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.770649, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.770674, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.770705, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./oldstuff access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.770732,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.772421,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.772448,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.772481, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.772515,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./oldstuff fname=oldstuff (oldstuff)
[2014/08/28 14:30:09.772543, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15252
[2014/08/28 14:30:09.772568, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.772596,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:09.772623,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.772649,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 8621927871385405211
[2014/08/28 14:30:09.772680,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:09.772706, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:09.772732, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:09.772767, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.772793, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.772822, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.772909, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.772991, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.773038, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.773092, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.773341, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.773368, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.773394, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.773419, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.773445, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.773474, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.773502,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.774820,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:09.774846,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:09.774879, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.774905,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:09.774933, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15140
[2014/08/28 14:30:09.774964, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.774992,  8] lib/util.c:1320(is_in_path)
  is_in_path: multiplat
[2014/08/28 14:30:09.775019,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.775045,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 9068357591037410268
[2014/08/28 14:30:09.775077,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./multiplat
[2014/08/28 14:30:09.775102, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./multiplat
[2014/08/28 14:30:09.775129, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./multiplat
[2014/08/28 14:30:09.775166, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.775192, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.775221, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.775307, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.775389, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.775435, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.775489, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.775733, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.775760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.775789, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.775870, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.775951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.775997, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.776049, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.776298, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.776324, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.776350, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.776376, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.776401, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.776427, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.776452, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.776478, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.776517, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.776543, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.776569, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.776595, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.776620, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.776652, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./multiplat access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.776680,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.778374,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.778401,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.778431, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.778457,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./multiplat fname=multiplat (multiplat)
[2014/08/28 14:30:09.778485, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15028
[2014/08/28 14:30:09.778511, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.778539, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: multiplat -> 000750A3 -> M00A9W~J (cache=1)
[2014/08/28 14:30:09.778567,  8] lib/util.c:1320(is_in_path)
  is_in_path: vb
[2014/08/28 14:30:09.778594,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.778620,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 9138440113335672255
[2014/08/28 14:30:09.778651,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vb
[2014/08/28 14:30:09.778677, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vb
[2014/08/28 14:30:09.778703, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vb
[2014/08/28 14:30:09.778746, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.778772, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.778802, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.778888, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.778971, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.779017, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.779071, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.779316, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.779342, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.779372, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.779453, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.779535, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.779581, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.779633, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.779876, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.779903, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.779929, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.779954, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.779984, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.780010, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.780036, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.780061, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.780086, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.780111, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.780137, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.780162, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.780188, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.780218, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vb access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.780245,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.781937,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.781964,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.781996, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.782022,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vb fname=vb (vb)
[2014/08/28 14:30:09.782050, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14916
[2014/08/28 14:30:09.782075, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.782103,  8] lib/util.c:1320(is_in_path)
  is_in_path: v
[2014/08/28 14:30:09.782130,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.782155,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset 9223372036854775807
[2014/08/28 14:30:09.782186,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./v
[2014/08/28 14:30:09.782212, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./v
[2014/08/28 14:30:09.782238, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./v
[2014/08/28 14:30:09.782272, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.782298, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.782328, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.782414, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.782496, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.782543, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.782602, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.782861, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.782888, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.782914, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.782940, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.782965, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.782995, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./v access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.783022,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.784340,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:09.784366,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:09.784399, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.784425,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./v fname=v (v)
[2014/08/28 14:30:09.784453, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14816
[2014/08/28 14:30:09.784478, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.784516,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset -1
[2014/08/28 14:30:09.784542,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:09.784568,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:09.784606,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 1664, useable_space = 131010
[2014/08/28 14:30:09.784632,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 1664, paramsize = 10, datasize = 1664
[2014/08/28 14:30:09.784658,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.784673,  5] lib/util.c:342(show_msg)
  size=1732
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=15040
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]= 1664 (0x680)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]= 1664 (0x680)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=1677
[2014/08/28 14:30:09.784918, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 0F 00 01 00 00   00 20 06 00 00 60 00 00   ........ . ...`..
  [0010] 00 00 00 00 00 5C 1B FF   C0 CE C2 CF 01 24 A8 89   .....\.. .....$..
  [0020] C1 CE C2 CF 01 5C 1B FF   C0 CE C2 CF 01 5C 1B FF   .....\.. .....\..
  [0030] C0 CE C2 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0040] 00 00 00 00 00 10 00 00   00 02 00 00 00 00 00 00   ........ ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 2E 00 64 00 00   ........ .....d..
  [0070] 00 00 00 00 00 D1 F7 C5   F5 FF C1 CF 01 E8 5B BF   ........ ......[.
  [0080] 22 CB C2 CF 01 D1 F7 C5   F5 FF C1 CF 01 D1 F7 C5   "....... ........
  [0090] F5 FF C1 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00A0] 00 00 00 00 00 11 00 00   00 04 00 00 00 00 00 00   ........ ........
  [00B0] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00C0] 00 00 00 00 00 00 00 00   00 00 00 2E 00 2E 00 00   ........ ........
  [00D0] 00 74 00 00 00 00 00 00   00 00 EE 95 D3 FB B0 CC   .t...... ........
  [00E0] 01 87 E6 12 ED CC C2 CF   01 00 EE 95 D3 FB B0 CC   ........ ........
  [00F0] 01 00 EE 95 D3 FB B0 CC   01 00 00 00 00 00 00 00   ........ ........
  [0100] 00 00 00 00 00 00 00 00   00 10 00 00 00 14 00 00   ........ ........
  [0110] 00 00 00 00 00 10 00 49   00 32 00 50 00 55 00 48   .......I .2.P.U.H
  [0120] 00 30 00 7E 00 45 00 00   00 00 00 00 00 00 00 69   .0.~.E.. .......i
  [0130] 00 66 00 72 00 34 00 30   00 30 00 30 00 61 00 70   .f.r.4.0 .0.0.a.p
  [0140] 00 69 00 00 00 84 00 00   00 00 00 00 00 F4 9D 8A   .i...... ........
  [0150] F7 6D AD CE 01 86 8F 4D   3D 07 C2 CF 01 F4 9D 8A   .m.....M =.......
  [0160] F7 6D AD CE 01 F4 9D 8A   F7 6D AD CE 01 0F 4B 00   .m...... .m....K.
  [0170] 00 00 00 00 00 00 00 10   00 00 00 00 00 80 00 00   ........ ........
  [0180] 00 26 00 00 00 00 00 00   00 18 00 44 00 4B 00 4E   .&...... ...D.K.N
  [0190] 00 59 00 41 00 31 00 7E   00 4C 00 2E 00 4F 00 44   .Y.A.1.~ .L...O.D
  [01A0] 00 53 00 64 00 65 00 73   00 65 00 6E 00 76 00 6F   .S.d.e.s .e.n.v.o
  [01B0] 00 6C 00 76 00 69 00 6D   00 65 00 6E 00 74 00 6F   .l.v.i.m .e.n.t.o
  [01C0] 00 2E 00 6F 00 64 00 73   00 64 00 00 00 00 00 00   ...o.d.s .d......
  [01D0] 00 1B A8 98 88 B8 C2 CF   01 86 E8 65 ED CC C2 CF   ........ ...e....
  [01E0] 01 1B A8 98 88 B8 C2 CF   01 1B A8 98 88 B8 C2 CF   ........ ........
  [01F0] 01 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[2014/08/28 14:30:09.785630,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=* directory=. dirtype=22 numentries=15
[2014/08/28 14:30:09.785661, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: * -> 0A877AA5 -> _2X68P~X (cache=1)
[2014/08/28 14:30:09.785737, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 100
[2014/08/28 14:30:09.785767,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x64
[2014/08/28 14:30:09.785793,  3] smbd/process.c:1662(process_smb)
  Transaction 19 of length 104 (0 toread)
[2014/08/28 14:30:09.785819,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.785833,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15106
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 3584 (0xE00)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 4609 (0x1201)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=16384 (0x4000)
  smb_vwv[20]=16384 (0x4000)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  256 (0x100)
  smb_bcc=17
[2014/08/28 14:30:09.786230, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 73 00 72 00 76   00 73 00 76 00 63 00 00   .\.s.r.v .s.v.c..
  [0010] 00                                                . 
[2014/08/28 14:30:09.786284,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.786314,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.786341,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.786681,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.786925,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.786954,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:09.786985, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x12019f file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x400040 root_dir_fid = 0x0, fname = srvsvc
[2014/08/28 14:30:09.787014,  4] smbd/nttrans.c:293(nt_open_pipe)
  nt_open_pipe: Opening pipe \srvsvc.
[2014/08/28 14:30:09.787045,  5] smbd/files.c:140(file_new)
  allocated file structure 6510, fnum = 10606 (3 used)
[2014/08/28 14:30:09.787074, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /tmp/srvsvc hash 0x8e98a76a
[2014/08/28 14:30:09.787111,  4] rpc_server/rpc_ncacn_np.c:132(make_internal_rpc_pipe_p)
  Create pipe requested \srvsvc
[2014/08/28 14:30:09.787149, 10] rpc_server/rpc_handles.c:116(init_pipe_handles)
  init_pipe_handle_list: created handle list for pipe \srvsvc
[2014/08/28 14:30:09.787175, 10] rpc_server/rpc_handles.c:133(init_pipe_handles)
  init_pipe_handle_list: pipe_handles ref count = 1 for pipe \srvsvc
[2014/08/28 14:30:09.787208,  4] rpc_server/rpc_ncacn_np.c:176(make_internal_rpc_pipe_p)
  Created internal pipe \srvsvc (pipes_open=0)
[2014/08/28 14:30:09.787236,  5] smbd/nttrans.c:382(do_ntcreate_pipe_open)
  do_ntcreate_pipe_open: open pipe = \srvsvc
[2014/08/28 14:30:09.787380, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:09.787455,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:09.787515,  3] smbd/process.c:1662(process_smb)
  Transaction 20 of length 45 (0 toread)
[2014/08/28 14:30:09.787572,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.787606,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=15168
  smt_wct=3
  smb_vwv[ 0]=10604 (0x296C)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:09.787850, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.787865,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.787893,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.787920,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.788256,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.788498,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.788529,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:09.788567,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10604
[2014/08/28 14:30:09.788598, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.788629, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902308050
[2014/08/28 14:30:09.788656, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.788698, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x0, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.788732, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.788760, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.788786, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:30:09.788826, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x40, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.788859, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.788888, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.788921, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:09.788949, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:09.788977,  5] smbd/files.c:482(file_free)
  freed files structure 10604 (2 used)
[2014/08/28 14:30:09.789005,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.789020,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=15168
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.789160, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.789187, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 100
[2014/08/28 14:30:09.789216,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x64
[2014/08/28 14:30:09.789242,  3] smbd/process.c:1662(process_smb)
  Transaction 21 of length 104 (0 toread)
[2014/08/28 14:30:09.789271,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.789286,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15234
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 3584 (0xE00)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 4609 (0x1201)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=16384 (0x4000)
  smb_vwv[20]=16384 (0x4000)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  256 (0x100)
  smb_bcc=17
[2014/08/28 14:30:09.789688, 10] ../lib/util/util.c:415(dump_data)
  [0000] 78 5C 00 73 00 72 00 76   00 73 00 76 00 63 00 00   x\.s.r.v .s.v.c..
  [0010] 00                                                . 
[2014/08/28 14:30:09.789742,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.789770,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.789798,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.790134,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.790365,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.790392,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:09.790421, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x12019f file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x400040 root_dir_fid = 0x0, fname = srvsvc
[2014/08/28 14:30:09.790449,  4] smbd/nttrans.c:293(nt_open_pipe)
  nt_open_pipe: Opening pipe \srvsvc.
[2014/08/28 14:30:09.790476,  5] smbd/files.c:140(file_new)
  allocated file structure 6511, fnum = 10607 (3 used)
[2014/08/28 14:30:09.790505, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /tmp/srvsvc hash 0x8e98a76a
[2014/08/28 14:30:09.790533,  4] rpc_server/rpc_ncacn_np.c:132(make_internal_rpc_pipe_p)
  Create pipe requested \srvsvc
[2014/08/28 14:30:09.790563, 10] rpc_server/rpc_handles.c:133(init_pipe_handles)
  init_pipe_handle_list: pipe_handles ref count = 2 for pipe \srvsvc
[2014/08/28 14:30:09.790594,  4] rpc_server/rpc_ncacn_np.c:176(make_internal_rpc_pipe_p)
  Created internal pipe \srvsvc (pipes_open=0)
[2014/08/28 14:30:09.790622,  5] smbd/nttrans.c:382(do_ntcreate_pipe_open)
  do_ntcreate_pipe_open: open pipe = \srvsvc
[2014/08/28 14:30:09.790764, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:09.790841,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:09.790900,  3] smbd/process.c:1662(process_smb)
  Transaction 22 of length 90 (0 toread)
[2014/08/28 14:30:09.790957,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.790990,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=15296
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:09.791440, 10] ../lib/util/util.c:415(dump_data)
  [0000] 04 00 00                                          ... 
[2014/08/28 14:30:09.791473,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.791501,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.791528,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.791864,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.792093,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.792121,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:09.792150, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:09.792179,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:09.792206,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:09.792231,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:09.792258,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.792284, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:09.792313, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:09.792344,  5] smbd/files.c:140(file_new)
  allocated file structure 6512, fnum = 10608 (4 used)
[2014/08/28 14:30:09.792372, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:09.792399,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:09.792425, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:09.792460,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.792500, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.792528, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.792570, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.792597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.792627, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.792714, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.792797, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.792843, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.792897, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.793139, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.793165, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.793194, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.793275, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.793356, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.793401, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.793452, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.793691, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.793724, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.793750, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.793775, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.793801, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.793827, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.793852, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.793877, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.793903, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.793928, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.793954, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.793980, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.794005, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.794036, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.794064,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.795750,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.795777,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.795804, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:09.795836, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.795867, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902309dc0
[2014/08/28 14:30:09.795894, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:09.795921, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.795958, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.795987, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902309e90
[2014/08/28 14:30:09.796012, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.796053, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x40, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.796087, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.796120, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.796147, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:09.796174, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:09.796200, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:09.796225, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:09.796251, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:09.796276, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:09.796301, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:09.796327, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:09.796352, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:09.796378, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:09.796403, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:09.796429, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:09.796454, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:09.796479, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:09.796513, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:09.796538, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 14:30:09.796564,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:09.796594, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:09.796621, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:09.796648, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:09.796676, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.796709,  5] smbd/files.c:482(file_free)
  freed files structure 10608 (3 used)
[2014/08/28 14:30:09.796735,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:09.796763, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.796800, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.796826, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.796855, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.796940, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.797022, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.797068, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.797127, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.797372, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.797398, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.797427, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.797509, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.797590, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.797636, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.797687, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.797929, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.797956, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.797982, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.798007, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.798033, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.798058, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.798084, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.798109, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.798135, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.798160, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.798186, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.798212, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.798243, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.798274, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:09.798304,  5] smbd/files.c:140(file_new)
  allocated file structure 6513, fnum = 10609 (4 used)
[2014/08/28 14:30:09.798332, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:09.798360, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:09.798392, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.798422, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902304200
[2014/08/28 14:30:09.798448, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.798488, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3943, type= 0x40, gen_id = 1073264227, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.798522, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.798549, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.798575, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:09.798602, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:09.798627, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:09.798653, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:09.798678, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:09.798704, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:09.798729, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:09.798755, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:09.798780, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:09.798806, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:09.798831, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:09.798856, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:09.798882, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:09.798907, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:09.798932, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:09.798958, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:30:09.798997, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x0, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.799036, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.799066, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.799099, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:09.799125, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:09.799151,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.799177, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.799203, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.799239, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.799265, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.799295, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.799380, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.799462, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.799508, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.799562, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.799824, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.799851, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.799880, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.799962, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.800043, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.800090, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.800141, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.800389, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.800417, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.800442, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.800468, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.800532, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.800592, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.800650, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.800708, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.800766, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.800824, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.800883, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.800924, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.800950, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.800981, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.801008,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.802721,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.802748,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.802780, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.802821, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x0, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.802855, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.802886,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10609, open name = .
[2014/08/28 14:30:09.802936, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:09.802966,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:09.803000,  3] smbd/process.c:1662(process_smb)
  Transaction 23 of length 76 (0 toread)
[2014/08/28 14:30:09.803025,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.803040,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15362
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:09.803347, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 6E 29 ED 03                              ...n).. 
[2014/08/28 14:30:09.803382,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.803411,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.803438,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.803775,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.804008,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.804035,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:09.804067,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:09.804093,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:09.804118,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.804133,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15362
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:09.804379, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 10 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 01 00 00 00           ........ .....
[2014/08/28 14:30:09.804447, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:09.804476,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:09.804519,  3] smbd/process.c:1662(process_smb)
  Transaction 24 of length 76 (0 toread)
[2014/08/28 14:30:09.804545,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.804560,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15425
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:09.804857, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 6F 29 ED 03                              ...o).. 
[2014/08/28 14:30:09.804891,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.804917,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.804945,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:09.804971,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:09.804997,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.805011,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15425
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:09.805257, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 10 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 01 00 00 00           ........ .....
[2014/08/28 14:30:09.805324, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:09.805353,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:09.805379,  3] smbd/process.c:1662(process_smb)
  Transaction 25 of length 76 (0 toread)
[2014/08/28 14:30:09.805407,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.805422,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=15488
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:09.805728, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 71 29 ED 03                              ...q).. 
[2014/08/28 14:30:09.805763,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.805790,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.805817,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.806158,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.806384,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.806411,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:09.806440,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:09.806472, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.806513, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x0, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.806546, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.806573, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.806599,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10609) level=1005 call=7 total_data=0
[2014/08/28 14:30:09.806626,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10609) level=1005 max_data=24
[2014/08/28 14:30:09.806652,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:09.806678, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:09.806703, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:09.806741, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.806768, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.806797, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.806884, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.806966, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.807012, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.807066, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.807313, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.807340, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.807368, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.807449, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.807529, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.807575, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.807626, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.807865, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.807892, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.807918, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.807943, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.807969, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.807994, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.808020, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.808045, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.808071, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.808096, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.808123, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.808149, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.808174, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.808205, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.808238,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.809932,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.809959,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.809988, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:09.810015,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:09.810041,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:09.810067,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.810081,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=15488
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:09.810327, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:09.810399, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 224
[2014/08/28 14:30:09.810429,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0xe0
[2014/08/28 14:30:09.810455,  3] smbd/process.c:1662(process_smb)
  Transaction 26 of length 228 (0 toread)
[2014/08/28 14:30:09.810480,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.810495,  5] lib/util.c:342(show_msg)
  size=224
  smb_com=0x2f
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=15553
  smt_wct=14
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=10606 (0x296E)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=65535 (0xFFFF)
  smb_vwv[ 6]=65535 (0xFFFF)
  smb_vwv[ 7]=    8 (0x8)
  smb_vwv[ 8]=  160 (0xA0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  160 (0xA0)
  smb_vwv[11]=   64 (0x40)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_bcc=161
[2014/08/28 14:30:09.810794, 10] ../lib/util/util.c:415(dump_data)
  [0000] EE 05 00 0B 03 10 00 00   00 A0 00 00 00 02 00 00   ........ ........
  [0010] 00 B8 10 B8 10 00 00 00   00 03 00 00 00 00 00 01   ........ ........
  [0020] 00 C8 4F 32 4B 70 16 D3   01 12 78 5A 47 BF 6E E1   ..O2Kp.. ..xZG.n.
  [0030] 88 03 00 00 00 04 5D 88   8A EB 1C C9 11 9F E8 08   ......]. ........
  [0040] 00 2B 10 48 60 02 00 00   00 01 00 01 00 C8 4F 32   .+.H`... ......O2
  [0050] 4B 70 16 D3 01 12 78 5A   47 BF 6E E1 88 03 00 00   Kp....xZ G.n.....
  [0060] 00 33 05 71 71 BA BE 37   49 83 19 B5 DB EF 9C CC   .3.qq..7 I.......
  [0070] 36 01 00 00 00 02 00 01   00 C8 4F 32 4B 70 16 D3   6....... ..O2Kp..
  [0080] 01 12 78 5A 47 BF 6E E1   88 03 00 00 00 2C 1C B7   ..xZG.n. .....,..
  [0090] 6C 12 98 40 45 03 00 00   00 00 00 00 00 01 00 00   l.. at E... ........
  [00A0] 00                                                . 
[2014/08/28 14:30:09.811039,  3] smbd/process.c:1467(switch_message)
  switch message SMBwriteX (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.811067,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.811099,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.811437,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.811667,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.811695,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:09.811725,  6] smbd/pipes.c:300(reply_pipe_write_and_X)
  reply_pipe_write_and_X: 296e name: srvsvc len: 160
[2014/08/28 14:30:09.811751,  6] rpc_server/srv_pipe_hnd.c:520(np_write_send)
  np_write_send: len: 160
[2014/08/28 14:30:09.811777, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 160
[2014/08/28 14:30:09.811804, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 0, pdu_needed_len = 0, incoming data = 160
[2014/08/28 14:30:09.811830, 10] rpc_server/srv_pipe_hnd.c:50(fill_rpc_header)
  fill_rpc_header: data_to_copy = 160, len_needed_to_complete_hdr = 16, receive_len = 0
[2014/08/28 14:30:09.811855, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 16
[2014/08/28 14:30:09.811880, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 144
[2014/08/28 14:30:09.811905, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 0, incoming data = 144
[2014/08/28 14:30:09.811933, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 0
[2014/08/28 14:30:09.811958, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 144
[2014/08/28 14:30:09.811983, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 144, incoming data = 144
[2014/08/28 14:30:09.812011, 10] rpc_server/srv_pipe.c:1877(process_complete_pdu)
  PDU is in Little Endian format!
[2014/08/28 14:30:09.812046,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_BIND (11)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x00a0 (160)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000002 (2)
          u                        : union dcerpc_payload(case 11)
          bind: struct dcerpc_bind
              max_xmit_frag            : 0x10b8 (4280)
              max_recv_frag            : 0x10b8 (4280)
              assoc_group_id           : 0x00000000 (0)
              num_contexts             : 0x03 (3)
              ctx_list: ARRAY(3)
                  ctx_list: struct dcerpc_ctx_list
                      context_id               : 0x0000 (0)
                      num_transfer_syntaxes    : 0x01 (1)
                      abstract_syntax: struct ndr_syntax_id
                          uuid                     : 4b324fc8-1670-01d3-1278-5a47bf6ee188
                          if_version               : 0x00000003 (3)
                      transfer_syntaxes: ARRAY(1)
                          transfer_syntaxes: struct ndr_syntax_id
                              uuid                     : 8a885d04-1ceb-11c9-9fe8-08002b104860
                              if_version               : 0x00000002 (2)
                  ctx_list: struct dcerpc_ctx_list
                      context_id               : 0x0001 (1)
                      num_transfer_syntaxes    : 0x01 (1)
                      abstract_syntax: struct ndr_syntax_id
                          uuid                     : 4b324fc8-1670-01d3-1278-5a47bf6ee188
                          if_version               : 0x00000003 (3)
                      transfer_syntaxes: ARRAY(1)
                          transfer_syntaxes: struct ndr_syntax_id
                              uuid                     : 71710533-beba-4937-8319-b5dbef9ccc36
                              if_version               : 0x00000001 (1)
                  ctx_list: struct dcerpc_ctx_list
                      context_id               : 0x0002 (2)
                      num_transfer_syntaxes    : 0x01 (1)
                      abstract_syntax: struct ndr_syntax_id
                          uuid                     : 4b324fc8-1670-01d3-1278-5a47bf6ee188
                          if_version               : 0x00000003 (3)
                      transfer_syntaxes: ARRAY(1)
                          transfer_syntaxes: struct ndr_syntax_id
                              uuid                     : 6cb71c2c-9812-4540-0300-000000000000
                              if_version               : 0x00000001 (1)
              auth_info                : DATA_BLOB length=0
[2014/08/28 14:30:09.812713, 10] rpc_server/srv_pipe.c:1890(process_complete_pdu)
  Processing packet type 11
[2014/08/28 14:30:09.812743,  3] rpc_server/srv_pipe.c:889(api_pipe_bind_req)
  api_pipe_bind_req: \PIPE\srvsvc -> \PIPE\srvsvc
[2014/08/28 14:30:09.812770,  5] rpc_server/srv_pipe.c:923(api_pipe_bind_req)
  api_pipe_bind_req: make response. 923
[2014/08/28 14:30:09.812795,  3] rpc_server/srv_pipe.c:339(check_bind_req)
  check_bind_req for \srvsvc
[2014/08/28 14:30:09.812822,  3] rpc_server/srv_pipe.c:346(check_bind_req)
  check_bind_req: \PIPE\srvsvc -> \PIPE\srvsvc
[2014/08/28 14:30:09.812857,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       &r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_BIND_ACK (12)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x0044 (68)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000002 (2)
          u                        : union dcerpc_payload(case 12)
          bind_ack: struct dcerpc_bind_ack
              max_xmit_frag            : 0x10b8 (4280)
              max_recv_frag            : 0x10b8 (4280)
              assoc_group_id           : 0x000053f0 (21488)
              secondary_address_size   : 0x000d (13)
              secondary_address        : '\PIPE\srvsvc'
              _pad1                    : DATA_BLOB length=0
              num_results              : 0x01 (1)
              ctx_list: ARRAY(1)
                  ctx_list: struct dcerpc_ack_ctx
                      result                   : 0x0000 (0)
                      reason                   : 0x0000 (0)
                      syntax: struct ndr_syntax_id
                          uuid                     : 8a885d04-1ceb-11c9-9fe8-08002b104860
                          if_version               : 0x00000002 (2)
              auth_info                : DATA_BLOB length=0
[2014/08/28 14:30:09.813241, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 144
[2014/08/28 14:30:09.813275,  3] smbd/pipes.c:361(pipe_write_andx_done)
  writeX-IPC nwritten=160
[2014/08/28 14:30:09.813312, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:09.813341,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:09.813367,  3] smbd/process.c:1662(process_smb)
  Transaction 27 of length 90 (0 toread)
[2014/08/28 14:30:09.813392,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.813407,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=15616
  smt_wct=15
  smb_vwv[ 0]=   18 (0x12)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   18 (0x12)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=21
[2014/08/28 14:30:09.813715, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 06   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 2A 00 00 00                                    .*... 
[2014/08/28 14:30:09.813770,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.813798,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.813825,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.814160,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.814390,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.814417,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:09.814448,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:09.814479,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "*"
[2014/08/28 14:30:09.814505, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [*]
[2014/08/28 14:30:09.814536,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = *, dirpath = , start = *
[2014/08/28 14:30:09.814563, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled * ?
[2014/08/28 14:30:09.814588, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component * (len 1) ?
[2014/08/28 14:30:09.814614,  5] smbd/filename.c:609(unix_convert)
  Wildcard *
[2014/08/28 14:30:09.814639,  8] lib/util.c:1320(is_in_path)
  is_in_path: *
[2014/08/28 14:30:09.814666,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.814692,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = *
[2014/08/28 14:30:09.814720,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:09.814746,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:09.814772,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.814805,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:09.814832,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = *, attr = 22
[2014/08/28 14:30:09.814857,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:09.814887,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 0
[2014/08/28 14:30:09.814917,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./.
[2014/08/28 14:30:09.814942, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./.
[2014/08/28 14:30:09.814968, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./.
[2014/08/28 14:30:09.815007, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.815034, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.815063, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.815149, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.815230, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.815276, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.815329, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.815571, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.815597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.815625, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.815711, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.815793, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.815838, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.815889, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.816129, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.816156, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.816181, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.816207, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.816232, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.816258, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.816283, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.816308, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.816334, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.816359, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.816385, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.816410, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.816435, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.816466, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./. access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.816499,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.818195,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.818222,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.818255, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.818296, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x0, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.818336, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.818364,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./. fname=. (.)
[2014/08/28 14:30:09.818394, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:09.818420, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.818448,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 2147483648
[2014/08/28 14:30:09.818480,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./..
[2014/08/28 14:30:09.818506, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./..
[2014/08/28 14:30:09.818532, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./..
[2014/08/28 14:30:09.818567, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.818593, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.818622, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.818665, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.818710, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-1000 uid 0 (root) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-0 gid 0 (root) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.818806, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.818832, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.818858, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.818887, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./.. access_mask 0x2, access_granted 0x2 access DENIED
[2014/08/28 14:30:09.818913,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-1000
          group_sid                : *
              group_sid                : S-1-22-2-0
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0058 (88)
                  num_aces                 : 0x00000003 (3)
                  aces: ARRAY(3)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-1000
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.819847,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning rd
[2014/08/28 14:30:09.819874,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning rd
[2014/08/28 14:30:09.819904, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.819931,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./.. fname=.. (..)
[2014/08/28 14:30:09.819963, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16288
[2014/08/28 14:30:09.819989, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.820030,  8] lib/util.c:1320(is_in_path)
  is_in_path: ifr4000api
[2014/08/28 14:30:09.820058,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.820084,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 1326613943226569051
[2014/08/28 14:30:09.820116,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./ifr4000api
[2014/08/28 14:30:09.820141, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./ifr4000api
[2014/08/28 14:30:09.820167, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./ifr4000api
[2014/08/28 14:30:09.820205, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.820231, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.820261, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.820345, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.820427, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.820474, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.820536, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.820780, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.820807, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.820835, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.820917, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.820998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.821044, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.821095, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.821344, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.821370, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.821396, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.821421, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.821447, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.821472, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.821497, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.821522, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.821548, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.821573, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.821599, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.821624, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.821650, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.821680, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./ifr4000api access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.821707,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.823390,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.823417,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.823448, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.823474,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./ifr4000api fname=ifr4000api (ifr4000api)
[2014/08/28 14:30:09.823502, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16188
[2014/08/28 14:30:09.823527, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.823555, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: ifr4000api -> 09CBB29E -> I2PUH0~E (cache=1)
[2014/08/28 14:30:09.823584,  8] lib/util.c:1320(is_in_path)
  is_in_path: desenvolvimento.ods
[2014/08/28 14:30:09.823612,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.823637,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 1873777085757434437
[2014/08/28 14:30:09.823669,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./desenvolvimento.ods
[2014/08/28 14:30:09.823695, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./desenvolvimento.ods
[2014/08/28 14:30:09.823728, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./desenvolvimento.ods
[2014/08/28 14:30:09.823763, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.823789, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.823818, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.823903, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.823985, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.824031, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.824085, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.824327, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.824353, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.824379, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.824404, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.824430, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.824459, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./desenvolvimento.ods access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.824506,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.825827,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:30:09.825854,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:30:09.825884, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.825910,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./desenvolvimento.ods fname=desenvolvimento.ods (desenvolvimento.ods)
[2014/08/28 14:30:09.825939, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16072
[2014/08/28 14:30:09.825965, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.825992, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: desenvolvimento.ods -> 4A7AAE59 -> DKNYA1~L.ODS (cache=1)
[2014/08/28 14:30:09.826020,  8] lib/util.c:1320(is_in_path)
  is_in_path: qt
[2014/08/28 14:30:09.826047,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.826073,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 3466375090685372007
[2014/08/28 14:30:09.826104,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./qt
[2014/08/28 14:30:09.826130, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./qt
[2014/08/28 14:30:09.826156, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./qt
[2014/08/28 14:30:09.826193, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.826219, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.826249, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.826333, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.826415, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.826461, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.826515, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.826764, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.826790, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.826819, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.826900, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.826981, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.827027, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.827078, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.827322, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.827348, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.827374, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.827399, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.827424, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.827450, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.827475, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.827500, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.827525, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.827551, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.827576, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.827602, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.827627, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.827657, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./qt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.827689,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.829387,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.829414,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.829445, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.829471,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./qt fname=qt (qt)
[2014/08/28 14:30:09.829498, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15940
[2014/08/28 14:30:09.829524, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.829552,  8] lib/util.c:1320(is_in_path)
  is_in_path: _perm_swhw.txt
[2014/08/28 14:30:09.829580,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.829605,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 3766525309980287308
[2014/08/28 14:30:09.829637,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./_perm_swhw.txt
[2014/08/28 14:30:09.829662, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./_perm_swhw.txt
[2014/08/28 14:30:09.829688, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./_perm_swhw.txt
[2014/08/28 14:30:09.829723, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.829749, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.829778, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.829863, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.829945, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.829991, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.830045, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.830287, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.830313, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.830344, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.830371, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.830396, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.830426, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./_perm_swhw.txt access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.830453,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.831770,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning 
[2014/08/28 14:30:09.831796,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning 
[2014/08/28 14:30:09.831827, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.831853,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./_perm_swhw.txt fname=_perm_swhw.txt (_perm_swhw.txt)
[2014/08/28 14:30:09.831881, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15840
[2014/08/28 14:30:09.831907, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.831934, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: _perm_swhw.txt -> 727C7FA0 -> _VRKL9~C.TXT (cache=1)
[2014/08/28 14:30:09.831962,  8] lib/util.c:1320(is_in_path)
  is_in_path: transfer_implementation
[2014/08/28 14:30:09.831996,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.832022,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 4610918656141973045
[2014/08/28 14:30:09.832055,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./transfer_implementation
[2014/08/28 14:30:09.832080, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./transfer_implementation
[2014/08/28 14:30:09.832106, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./transfer_implementation
[2014/08/28 14:30:09.832144, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.832170, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.832199, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.832284, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.832366, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.832412, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.832466, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.832716, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.832742, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.832771, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.832853, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.832934, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.832979, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.833031, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.833280, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.833307, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.833333, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.833358, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.833384, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.833409, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.833435, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.833460, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.833486, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.833511, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.833537, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.833563, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.833588, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.833619, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./transfer_implementation access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.833647,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.835345,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.835372,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.835404, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.835429,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./transfer_implementation fname=transfer_implementation (transfer_implementation)
[2014/08/28 14:30:09.835458, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15716
[2014/08/28 14:30:09.835483, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.835510, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: transfer_implementation -> 5B6C61A1 -> TPD7AG~1 (cache=1)
[2014/08/28 14:30:09.835539,  8] lib/util.c:1320(is_in_path)
  is_in_path: vbNet
[2014/08/28 14:30:09.835566,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.835592,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 4914252885672520885
[2014/08/28 14:30:09.835623,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vbNet
[2014/08/28 14:30:09.835649, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vbNet
[2014/08/28 14:30:09.835675, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vbNet
[2014/08/28 14:30:09.835712, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.835743, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.835772, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.835857, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.835939, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.835985, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.836039, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.836282, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.836308, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.836337, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.836418, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.836513, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.836560, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.836613, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.836854, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.836881, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.836907, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.836932, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.836957, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.836988, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.837014, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.837039, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.837064, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.837090, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.837115, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.837141, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.837166, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.837196, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vbNet access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.837223,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.838914,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.838941,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.838971, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.838997,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vbNet fname=vbNet (vbNet)
[2014/08/28 14:30:09.839025, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15576
[2014/08/28 14:30:09.839051, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.839079,  8] lib/util.c:1320(is_in_path)
  is_in_path: arduino
[2014/08/28 14:30:09.839106,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.839132,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 6544795716341418082
[2014/08/28 14:30:09.839163,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./arduino
[2014/08/28 14:30:09.839188, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./arduino
[2014/08/28 14:30:09.839215, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./arduino
[2014/08/28 14:30:09.839252, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.839278, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.839308, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.839392, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.839474, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.839521, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.839579, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.839824, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.839850, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.839879, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.839961, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.840061, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.840107, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.840159, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.840402, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.840429, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.840455, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.840480, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.840514, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.840540, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.840566, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.840591, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.840616, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.840641, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.840667, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.840693, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.840724, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.840754, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./arduino access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.840781,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.842464,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.842491,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.842521, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.842547,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./arduino fname=arduino (arduino)
[2014/08/28 14:30:09.842575, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15472
[2014/08/28 14:30:09.842600, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.842628,  8] lib/util.c:1320(is_in_path)
  is_in_path: Projects
[2014/08/28 14:30:09.842655,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.842680,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 7143319802496336475
[2014/08/28 14:30:09.842712,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./Projects
[2014/08/28 14:30:09.842737, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./Projects
[2014/08/28 14:30:09.842764, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./Projects
[2014/08/28 14:30:09.842801, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.842827, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.842856, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.842943, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.843025, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.843071, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.843125, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.843369, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.843400, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.843429, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.843511, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.843592, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.843638, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.843690, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.843931, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.843957, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.843982, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.844008, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.844033, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.844059, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.844084, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.844109, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.844134, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.844160, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.844185, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.844211, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.844236, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.844266, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./Projects access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.844294,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.845989,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.846021,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.846052, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.846078,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./Projects fname=Projects (Projects)
[2014/08/28 14:30:09.846106, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15364
[2014/08/28 14:30:09.846131, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.846158,  8] lib/util.c:1320(is_in_path)
  is_in_path: oldstuff
[2014/08/28 14:30:09.846186,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.846211,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 7447130304878394688
[2014/08/28 14:30:09.846242,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./oldstuff
[2014/08/28 14:30:09.846268, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./oldstuff
[2014/08/28 14:30:09.846294, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./oldstuff
[2014/08/28 14:30:09.846331, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.846358, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.846387, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.846474, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.846556, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.846602, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.846656, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.846900, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.846926, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.846955, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.847037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.847118, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.847164, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.847222, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.847463, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.847489, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.847515, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.847540, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.847566, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.847591, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.847616, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.847642, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.847667, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.847692, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.847718, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.847743, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.847769, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.847799, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./oldstuff access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.847826,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.849534,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.849561,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.849591, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.849617,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./oldstuff fname=oldstuff (oldstuff)
[2014/08/28 14:30:09.849645, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15252
[2014/08/28 14:30:09.849670, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.849697,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:09.849725,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.849750,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 8621927871385405211
[2014/08/28 14:30:09.849787,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:09.849813, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:09.849839, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:09.849874, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.849899, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.849929, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.850015, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.850097, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.850143, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.850197, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.850439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.850465, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.850491, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.850517, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.850542, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.850571, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.850599,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.851917,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:09.851943,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:09.851974, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.852000,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:09.852028, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15140
[2014/08/28 14:30:09.852053, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.852080,  8] lib/util.c:1320(is_in_path)
  is_in_path: multiplat
[2014/08/28 14:30:09.852108,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.852133,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 9068357591037410268
[2014/08/28 14:30:09.852165,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./multiplat
[2014/08/28 14:30:09.852190, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./multiplat
[2014/08/28 14:30:09.852216, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./multiplat
[2014/08/28 14:30:09.852253, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.852279, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.852309, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.852397, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.852479, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.852539, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.852598, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.852843, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.852869, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.852898, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.852980, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.853062, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.853108, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.853160, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.853403, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.853429, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.853455, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.853480, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.853505, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.853531, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.853556, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.853581, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.853606, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.853631, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.853657, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.853683, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.853708, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.853743, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./multiplat access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.853770,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.855450,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.855477,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.855507, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.855533,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./multiplat fname=multiplat (multiplat)
[2014/08/28 14:30:09.855560, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 15028
[2014/08/28 14:30:09.855586, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.855613, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: multiplat -> 000750A3 -> M00A9W~J (cache=1)
[2014/08/28 14:30:09.855642,  8] lib/util.c:1320(is_in_path)
  is_in_path: vb
[2014/08/28 14:30:09.855669,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.855694,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 9138440113335672255
[2014/08/28 14:30:09.855725,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./vb
[2014/08/28 14:30:09.855751, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./vb
[2014/08/28 14:30:09.855777, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./vb
[2014/08/28 14:30:09.855814, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.855840, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.855869, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.855955, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.856037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.856084, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.856138, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.856381, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:09.856413, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.856442, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.856543, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.856625, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.856671, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.856723, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:09.856965, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.856991, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.857017, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.857042, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.857067, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.857093, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.857118, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.857144, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:09.857169, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.857195, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:09.857221, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:09.857246, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:09.857272, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:09.857304, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./vb access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.857336,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:09.859041,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:09.859073,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:09.859104, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.859130,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./vb fname=vb (vb)
[2014/08/28 14:30:09.859158, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14916
[2014/08/28 14:30:09.859184, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.859212,  8] lib/util.c:1320(is_in_path)
  is_in_path: v
[2014/08/28 14:30:09.859240,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:09.859265,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset 9223372036854775807
[2014/08/28 14:30:09.859297,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./v
[2014/08/28 14:30:09.859322, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./v
[2014/08/28 14:30:09.859349, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./v
[2014/08/28 14:30:09.859383, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:09.859409, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.859439, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.859528, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:09.859610, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.859657, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:09.859711, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:09.859953, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.859980, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:09.860005, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:09.860031, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.860056, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:09.860086, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./v access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:09.860113,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:09.861469,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:09.861497,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:09.861529, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:09.861555,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found ./v fname=v (v)
[2014/08/28 14:30:09.861583, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 14816
[2014/08/28 14:30:09.861609, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:09.861638,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc90230adb0 now at offset -1
[2014/08/28 14:30:09.861665,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:09.861691,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:09.861728,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 1664, useable_space = 131010
[2014/08/28 14:30:09.861754,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 1664, paramsize = 10, datasize = 1664
[2014/08/28 14:30:09.861780,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.861795,  5] lib/util.c:342(show_msg)
  size=1732
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=15616
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]= 1664 (0x680)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]= 1664 (0x680)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=1677
[2014/08/28 14:30:09.862050, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 0F 00 01 00 00   00 20 06 00 00 60 00 00   ........ . ...`..
  [0010] 00 00 00 00 00 5C 1B FF   C0 CE C2 CF 01 24 A8 89   .....\.. .....$..
  [0020] C1 CE C2 CF 01 5C 1B FF   C0 CE C2 CF 01 5C 1B FF   .....\.. .....\..
  [0030] C0 CE C2 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0040] 00 00 00 00 00 10 00 00   00 02 00 00 00 00 00 00   ........ ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 2E 00 64 00 00   ........ .....d..
  [0070] 00 00 00 00 00 D1 F7 C5   F5 FF C1 CF 01 E8 5B BF   ........ ......[.
  [0080] 22 CB C2 CF 01 D1 F7 C5   F5 FF C1 CF 01 D1 F7 C5   "....... ........
  [0090] F5 FF C1 CF 01 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00A0] 00 00 00 00 00 11 00 00   00 04 00 00 00 00 00 00   ........ ........
  [00B0] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [00C0] 00 00 00 00 00 00 00 00   00 00 00 2E 00 2E 00 00   ........ ........
  [00D0] 00 74 00 00 00 00 00 00   00 00 EE 95 D3 FB B0 CC   .t...... ........
  [00E0] 01 87 E6 12 ED CC C2 CF   01 00 EE 95 D3 FB B0 CC   ........ ........
  [00F0] 01 00 EE 95 D3 FB B0 CC   01 00 00 00 00 00 00 00   ........ ........
  [0100] 00 00 00 00 00 00 00 00   00 10 00 00 00 14 00 00   ........ ........
  [0110] 00 00 00 00 00 10 00 49   00 32 00 50 00 55 00 48   .......I .2.P.U.H
  [0120] 00 30 00 7E 00 45 00 00   00 00 00 00 00 00 00 69   .0.~.E.. .......i
  [0130] 00 66 00 72 00 34 00 30   00 30 00 30 00 61 00 70   .f.r.4.0 .0.0.a.p
  [0140] 00 69 00 00 00 84 00 00   00 00 00 00 00 F4 9D 8A   .i...... ........
  [0150] F7 6D AD CE 01 86 8F 4D   3D 07 C2 CF 01 F4 9D 8A   .m.....M =.......
  [0160] F7 6D AD CE 01 F4 9D 8A   F7 6D AD CE 01 0F 4B 00   .m...... .m....K.
  [0170] 00 00 00 00 00 00 00 10   00 00 00 00 00 80 00 00   ........ ........
  [0180] 00 26 00 00 00 00 00 00   00 18 00 44 00 4B 00 4E   .&...... ...D.K.N
  [0190] 00 59 00 41 00 31 00 7E   00 4C 00 2E 00 4F 00 44   .Y.A.1.~ .L...O.D
  [01A0] 00 53 00 64 00 65 00 73   00 65 00 6E 00 76 00 6F   .S.d.e.s .e.n.v.o
  [01B0] 00 6C 00 76 00 69 00 6D   00 65 00 6E 00 74 00 6F   .l.v.i.m .e.n.t.o
  [01C0] 00 2E 00 6F 00 64 00 73   00 64 00 00 00 00 00 00   ...o.d.s .d......
  [01D0] 00 1B A8 98 88 B8 C2 CF   01 86 E8 65 ED CC C2 CF   ........ ...e....
  [01E0] 01 1B A8 98 88 B8 C2 CF   01 1B A8 98 88 B8 C2 CF   ........ ........
  [01F0] 01 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
[2014/08/28 14:30:09.862759,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=* directory=. dirtype=22 numentries=15
[2014/08/28 14:30:09.862789, 10] smbd/mangle_hash2.c:792(hash2_name_to_8_3)
  hash2_name_to_8_3: * -> 0A877AA5 -> _2X68P~X (cache=1)
[2014/08/28 14:30:09.862859, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 59
[2014/08/28 14:30:09.862889,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x3b
[2014/08/28 14:30:09.862916,  3] smbd/process.c:1662(process_smb)
  Transaction 28 of length 63 (0 toread)
[2014/08/28 14:30:09.862941,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.862956,  5] lib/util.c:342(show_msg)
  size=59
  smb_com=0x2e
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=15681
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=10606 (0x296E)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 1024 (0x400)
  smb_vwv[ 6]= 1024 (0x400)
  smb_vwv[ 7]=65535 (0xFFFF)
  smb_vwv[ 8]=65535 (0xFFFF)
  smb_vwv[ 9]= 1024 (0x400)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_bcc=0
[2014/08/28 14:30:09.863229, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.863260,  3] smbd/process.c:1467(switch_message)
  switch message SMBreadX (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.863290,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.863317,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.863656,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.863894,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.863923,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:09.863956,  6] rpc_server/srv_pipe_hnd.c:284(read_from_internal_pipe)
   name: \srvsvc len: 1024
[2014/08/28 14:30:09.863984, 10] rpc_server/srv_pipe_hnd.c:325(read_from_internal_pipe)
  read_from_pipe: \srvsvc: current_pdu_len = 68, current_pdu_sent = 0 returning 68 bytes.
[2014/08/28 14:30:09.864012,  3] rpc_server/srv_pipe_hnd.c:121(free_pipe_context)
  free_pipe_context: destroying talloc pool of size 28
[2014/08/28 14:30:09.864052, 10] rpc_server/srv_pipe_hnd.c:788(np_read_recv)
  Received 68 bytes. There is no more data outstanding
[2014/08/28 14:30:09.864079,  3] smbd/pipes.c:485(pipe_read_andx_done)
  readX-IPC min=1024 max=1024 nread=68
[2014/08/28 14:30:09.864116, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:09.864146,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:09.864172,  3] smbd/process.c:1662(process_smb)
  Transaction 29 of length 45 (0 toread)
[2014/08/28 14:30:09.864197,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.864212,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=15744
  smt_wct=3
  smb_vwv[ 0]=10609 (0x2971)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:09.864397, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.864413,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:09.864441,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.864468,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.864820,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.865050,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.865077,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:09.865107,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10609
[2014/08/28 14:30:09.865137, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:09.865169, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902308050
[2014/08/28 14:30:09.865195, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:09.865237, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x0, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.865271, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.865300, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:09.865327, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:30:09.865367, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x40, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.865400, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:09.865429, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:09.865464, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:09.865491, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:09.865520,  5] smbd/files.c:482(file_free)
  freed files structure 10609 (3 used)
[2014/08/28 14:30:09.865547,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.865562,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=15744
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.865705, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.865732, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 164
[2014/08/28 14:30:09.865766,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0xa4
[2014/08/28 14:30:09.865792,  3] smbd/process.c:1662(process_smb)
  Transaction 30 of length 168 (0 toread)
[2014/08/28 14:30:09.865818,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.865833,  5] lib/util.c:342(show_msg)
  size=164
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15809
  smt_wct=16
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   80 (0x50)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=   84 (0x54)
  smb_vwv[11]=   80 (0x50)
  smb_vwv[12]=   84 (0x54)
  smb_vwv[13]=    2 (0x2)
  smb_vwv[14]=   38 (0x26)
  smb_vwv[15]=10606 (0x296E)
  smb_bcc=97
[2014/08/28 14:30:09.866144, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 50 00 49 00 50   00 45 00 5C 00 00 00 00   .\.P.I.P .E.\....
  [0010] 00 05 00 00 03 10 00 00   00 50 00 00 00 02 00 00   ........ .P......
  [0020] 00 38 00 00 00 00 00 10   00 00 00 02 00 05 00 00   .8...... ........
  [0030] 00 00 00 00 00 05 00 00   00 7A 00 75 00 6C 00 75   ........ .z.u.l.u
  [0040] 00 00 00 00 00 05 00 00   00 00 00 00 00 05 00 00   ........ ........
  [0050] 00 73 00 77 00 68 00 77   00 00 00 00 00 01 00 00   .s.w.h.w ........
  [0060] 00                                                . 
[2014/08/28 14:30:09.866305,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.866333,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:09.866360,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:09.866698,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:09.866929,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:09.866957,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:09.866990,  3] smbd/ipc.c:560(handle_trans)
  trans <\PIPE\> data=80 params=0 setup=2
[2014/08/28 14:30:09.867018,  5] smbd/ipc.c:593(handle_trans)
  calling named_pipe
[2014/08/28 14:30:09.867042,  3] smbd/ipc.c:511(named_pipe)
  named pipe command on <> name
[2014/08/28 14:30:09.867070,  5] smbd/ipc.c:434(api_fd_reply)
  api_fd_reply
[2014/08/28 14:30:09.867095,  3] smbd/ipc.c:475(api_fd_reply)
  Got API command 0x26 on pipe "srvsvc" (pnum 296e)
[2014/08/28 14:30:09.867121, 10] smbd/ipc.c:477(api_fd_reply)
  api_fd_reply: p:0x7fc902306550 max_trans_reply: 1024
[2014/08/28 14:30:09.867147,  6] rpc_server/srv_pipe_hnd.c:520(np_write_send)
  np_write_send: len: 80
[2014/08/28 14:30:09.867179, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 80
[2014/08/28 14:30:09.867205, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 0, pdu_needed_len = 0, incoming data = 80
[2014/08/28 14:30:09.867231, 10] rpc_server/srv_pipe_hnd.c:50(fill_rpc_header)
  fill_rpc_header: data_to_copy = 80, len_needed_to_complete_hdr = 16, receive_len = 0
[2014/08/28 14:30:09.867256, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 16
[2014/08/28 14:30:09.867282, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 64
[2014/08/28 14:30:09.867306, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 0, incoming data = 64
[2014/08/28 14:30:09.867333, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 0
[2014/08/28 14:30:09.867358, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 64
[2014/08/28 14:30:09.867383, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 64, incoming data = 64
[2014/08/28 14:30:09.867409, 10] rpc_server/srv_pipe.c:1877(process_complete_pdu)
  PDU is in Little Endian format!
[2014/08/28 14:30:09.867438,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_REQUEST (0)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x0050 (80)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000002 (2)
          u                        : union dcerpc_payload(case 0)
          request: struct dcerpc_request
              alloc_hint               : 0x00000038 (56)
              context_id               : 0x0000 (0)
              opnum                    : 0x0010 (16)
              object                   : union dcerpc_object(case 0)
              empty: struct dcerpc_empty
              _pad                     : DATA_BLOB length=0
              stub_and_verifier        : DATA_BLOB length=56
  [0000] 00 00 02 00 05 00 00 00   00 00 00 00 05 00 00 00   ........ ........
  [0010] 7A 00 75 00 6C 00 75 00   00 00 00 00 05 00 00 00   z.u.l.u. ........
  [0020] 00 00 00 00 05 00 00 00   73 00 77 00 68 00 77 00   ........ s.w.h.w.
  [0030] 00 00 00 00 01 00 00 00                            ........ 
[2014/08/28 14:30:09.867821, 10] rpc_server/srv_pipe.c:1890(process_complete_pdu)
  Processing packet type 0
[2014/08/28 14:30:09.867847, 10] rpc_server/srv_pipe.c:1734(dcesrv_auth_request)
  Checking request auth.
[2014/08/28 14:30:09.867875,  5] rpc_server/srv_pipe.c:1571(api_pipe_request)
  Requested \PIPE\\srvsvc
[2014/08/28 14:30:09.867902,  4] rpc_server/srv_pipe.c:1611(api_rpcTNP)
  api_rpcTNP: \srvsvc op 0x10 - api_rpcTNP: rpc command: SRVSVC_NETSHAREGETINFO
[2014/08/28 14:30:09.867931,  6] rpc_server/srv_pipe.c:1645(api_rpcTNP)
  api_rpc_cmds[16].fn == 0x7fc8fff2d480
[2014/08/28 14:30:09.867963,  1] ../librpc/ndr/ndr.c:284(ndr_print_function_debug)
       srvsvc_NetShareGetInfo: struct srvsvc_NetShareGetInfo
          in: struct srvsvc_NetShareGetInfo
              server_unc               : *
                  server_unc               : 'zulu'
              share_name               : 'swhw'
              level                    : 0x00000001 (1)
[2014/08/28 14:30:09.868054,  5] rpc_server/srvsvc/srv_srvsvc_nt.c:1440(_srvsvc_NetShareGetInfo)
  _srvsvc_NetShareGetInfo: 1440
[2014/08/28 14:30:09.868096,  5] rpc_server/srvsvc/srv_srvsvc_nt.c:1510(_srvsvc_NetShareGetInfo)
  _srvsvc_NetShareGetInfo: 1510
[2014/08/28 14:30:09.868128,  1] ../librpc/ndr/ndr.c:284(ndr_print_function_debug)
       srvsvc_NetShareGetInfo: struct srvsvc_NetShareGetInfo
          out: struct srvsvc_NetShareGetInfo
              info                     : *
                  info                     : union srvsvc_NetShareInfo(case 1)
                  info1                    : *
                      info1: struct srvsvc_NetShareInfo1
                          name                     : *
                              name                     : 'swhw'
                          type                     : STYPE_DISKTREE (0x0)
                          comment                  : *
                              comment                  : 'Software-Hardware'
              result                   : WERR_OK
[2014/08/28 14:30:09.868301,  5] rpc_server/srv_pipe.c:1679(api_rpcTNP)
  api_rpcTNP: called \srvsvc successfully
[2014/08/28 14:30:09.868329, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 64
[2014/08/28 14:30:09.868362,  6] rpc_server/srv_pipe_hnd.c:284(read_from_internal_pipe)
   name: \srvsvc len: 1024
[2014/08/28 14:30:09.868389, 10] rpc_server/srv_pipe_hnd.c:346(read_from_internal_pipe)
  read_from_pipe: \srvsvc: fault_state = 0 : data_sent_length = 0, p->out_data.rdata.length = 96.
[2014/08/28 14:30:09.868422,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       &r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_RESPONSE (2)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x0078 (120)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000002 (2)
          u                        : union dcerpc_payload(case 2)
          response: struct dcerpc_response
              alloc_hint               : 0x00000060 (96)
              context_id               : 0x0000 (0)
              cancel_count             : 0x00 (0)
              _pad                     : DATA_BLOB length=0
              stub_and_verifier        : DATA_BLOB length=96
  [0000] 01 00 00 00 04 00 02 00   08 00 02 00 00 00 00 00   ........ ........
  [0010] 0C 00 02 00 05 00 00 00   00 00 00 00 05 00 00 00   ........ ........
  [0020] 73 00 77 00 68 00 77 00   00 00 00 00 12 00 00 00   s.w.h.w. ........
  [0030] 00 00 00 00 12 00 00 00   53 00 6F 00 66 00 74 00   ........ S.o.f.t.
  [0040] 77 00 61 00 72 00 65 00   2D 00 48 00 61 00 72 00   w.a.r.e. -.H.a.r.
  [0050] 64 00 77 00 61 00 72 00   65 00 00 00 00 00 00 00   d.w.a.r. e.......
[2014/08/28 14:30:09.868845,  3] rpc_server/srv_pipe_hnd.c:121(free_pipe_context)
  free_pipe_context: destroying talloc pool of size 88
[2014/08/28 14:30:09.868876, 10] rpc_server/srv_pipe_hnd.c:788(np_read_recv)
  Received 120 bytes. There is no more data outstanding
[2014/08/28 14:30:09.868903,  5] smbd/ipc.c:62(copy_trans_params_and_data)
  copy_trans_params_and_data: params[0..0] data[0..120] (align 0)
[2014/08/28 14:30:09.868930,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.868945,  5] lib/util.c:342(show_msg)
  size=176
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=15809
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=  120 (0x78)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  120 (0x78)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=121
[2014/08/28 14:30:09.869193, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 05 00 02 03 10 00 00   00 78 00 00 00 02 00 00   ........ .x......
  [0010] 00 60 00 00 00 00 00 00   00 01 00 00 00 04 00 02   .`...... ........
  [0020] 00 08 00 02 00 00 00 00   00 0C 00 02 00 05 00 00   ........ ........
  [0030] 00 00 00 00 00 05 00 00   00 73 00 77 00 68 00 77   ........ .s.w.h.w
  [0040] 00 00 00 00 00 12 00 00   00 00 00 00 00 12 00 00   ........ ........
  [0050] 00 53 00 6F 00 66 00 74   00 77 00 61 00 72 00 65   .S.o.f.t .w.a.r.e
  [0060] 00 2D 00 48 00 61 00 72   00 64 00 77 00 61 00 72   .-.H.a.r .d.w.a.r
  [0070] 00 65 00 00 00 00 00 00   00                       .e...... .
[2014/08/28 14:30:09.869394, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 224
[2014/08/28 14:30:09.869424,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0xe0
[2014/08/28 14:30:09.869451,  3] smbd/process.c:1662(process_smb)
  Transaction 31 of length 228 (0 toread)
[2014/08/28 14:30:09.869480,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.869495,  5] lib/util.c:342(show_msg)
  size=224
  smb_com=0x2f
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=15874
  smt_wct=14
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=10607 (0x296F)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=65535 (0xFFFF)
  smb_vwv[ 6]=65535 (0xFFFF)
  smb_vwv[ 7]=    8 (0x8)
  smb_vwv[ 8]=  160 (0xA0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  160 (0xA0)
  smb_vwv[11]=   64 (0x40)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_bcc=161
[2014/08/28 14:30:09.869785, 10] ../lib/util/util.c:415(dump_data)
  [0000] EE 05 00 0B 03 10 00 00   00 A0 00 00 00 03 00 00   ........ ........
  [0010] 00 B8 10 B8 10 F0 53 00   00 02 00 00 00 00 00 01   ......S. ........
  [0020] 00 C8 4F 32 4B 70 16 D3   01 12 78 5A 47 BF 6E E1   ..O2Kp.. ..xZG.n.
  [0030] 88 03 00 00 00 04 5D 88   8A EB 1C C9 11 9F E8 08   ......]. ........
  [0040] 00 2B 10 48 60 02 00 00   00 01 00 01 00 C8 4F 32   .+.H`... ......O2
  [0050] 4B 70 16 D3 01 12 78 5A   47 BF 6E E1 88 03 00 00   Kp....xZ G.n.....
  [0060] 00 33 05 71 71 BA BE 37   49 83 19 B5 DB EF 9C CC   .3.qq..7 I.......
  [0070] 36 01 00 00 00 02 00 01   00 C8 4F 32 4B 70 16 D3   6....... ..O2Kp..
  [0080] 01 12 78 5A 47 BF 6E E1   88 03 00 00 00 2C 1C B7   ..xZG.n. .....,..
  [0090] 6C 12 98 40 45 03 00 00   00 00 00 00 00 01 00 00   l.. at E... ........
  [00A0] 00                                                . 
[2014/08/28 14:30:09.870030,  3] smbd/process.c:1467(switch_message)
  switch message SMBwriteX (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.870057,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.870083,  6] smbd/pipes.c:300(reply_pipe_write_and_X)
  reply_pipe_write_and_X: 296f name: srvsvc len: 160
[2014/08/28 14:30:09.870110,  6] rpc_server/srv_pipe_hnd.c:520(np_write_send)
  np_write_send: len: 160
[2014/08/28 14:30:09.870136, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 160
[2014/08/28 14:30:09.870162, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 0, pdu_needed_len = 0, incoming data = 160
[2014/08/28 14:30:09.870188, 10] rpc_server/srv_pipe_hnd.c:50(fill_rpc_header)
  fill_rpc_header: data_to_copy = 160, len_needed_to_complete_hdr = 16, receive_len = 0
[2014/08/28 14:30:09.870214, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 16
[2014/08/28 14:30:09.870239, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 144
[2014/08/28 14:30:09.870264, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 0, incoming data = 144
[2014/08/28 14:30:09.870291, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 0
[2014/08/28 14:30:09.870316, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 144
[2014/08/28 14:30:09.870341, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 144, incoming data = 144
[2014/08/28 14:30:09.870373, 10] rpc_server/srv_pipe.c:1877(process_complete_pdu)
  PDU is in Little Endian format!
[2014/08/28 14:30:09.870402,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_BIND (11)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x00a0 (160)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000003 (3)
          u                        : union dcerpc_payload(case 11)
          bind: struct dcerpc_bind
              max_xmit_frag            : 0x10b8 (4280)
              max_recv_frag            : 0x10b8 (4280)
              assoc_group_id           : 0x000053f0 (21488)
              num_contexts             : 0x02 (2)
              ctx_list: ARRAY(2)
                  ctx_list: struct dcerpc_ctx_list
                      context_id               : 0x0000 (0)
                      num_transfer_syntaxes    : 0x01 (1)
                      abstract_syntax: struct ndr_syntax_id
                          uuid                     : 4b324fc8-1670-01d3-1278-5a47bf6ee188
                          if_version               : 0x00000003 (3)
                      transfer_syntaxes: ARRAY(1)
                          transfer_syntaxes: struct ndr_syntax_id
                              uuid                     : 8a885d04-1ceb-11c9-9fe8-08002b104860
                              if_version               : 0x00000002 (2)
                  ctx_list: struct dcerpc_ctx_list
                      context_id               : 0x0001 (1)
                      num_transfer_syntaxes    : 0x01 (1)
                      abstract_syntax: struct ndr_syntax_id
                          uuid                     : 4b324fc8-1670-01d3-1278-5a47bf6ee188
                          if_version               : 0x00000003 (3)
                      transfer_syntaxes: ARRAY(1)
                          transfer_syntaxes: struct ndr_syntax_id
                              uuid                     : 71710533-beba-4937-8319-b5dbef9ccc36
                              if_version               : 0x00000001 (1)
              auth_info                : DATA_BLOB length=44
  [0000] 02 00 01 00 C8 4F 32 4B   70 16 D3 01 12 78 5A 47   .....O2K p....xZG
  [0010] BF 6E E1 88 03 00 00 00   2C 1C B7 6C 12 98 40 45   .n...... ,..l.. at E
  [0020] 03 00 00 00 00 00 00 00   01 00 00 00              ........ ....
[2014/08/28 14:30:09.871002, 10] rpc_server/srv_pipe.c:1890(process_complete_pdu)
  Processing packet type 11
[2014/08/28 14:30:09.871028,  3] rpc_server/srv_pipe.c:889(api_pipe_bind_req)
  api_pipe_bind_req: \PIPE\srvsvc -> \PIPE\srvsvc
[2014/08/28 14:30:09.871054,  5] rpc_server/srv_pipe.c:923(api_pipe_bind_req)
  api_pipe_bind_req: make response. 923
[2014/08/28 14:30:09.871080,  3] rpc_server/srv_pipe.c:339(check_bind_req)
  check_bind_req for \srvsvc
[2014/08/28 14:30:09.871106,  3] rpc_server/srv_pipe.c:346(check_bind_req)
  check_bind_req: \PIPE\srvsvc -> \PIPE\srvsvc
[2014/08/28 14:30:09.871138,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       &r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_BIND_ACK (12)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x0044 (68)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000003 (3)
          u                        : union dcerpc_payload(case 12)
          bind_ack: struct dcerpc_bind_ack
              max_xmit_frag            : 0x10b8 (4280)
              max_recv_frag            : 0x10b8 (4280)
              assoc_group_id           : 0x000053f0 (21488)
              secondary_address_size   : 0x000d (13)
              secondary_address        : '\PIPE\srvsvc'
              _pad1                    : DATA_BLOB length=0
              num_results              : 0x01 (1)
              ctx_list: ARRAY(1)
                  ctx_list: struct dcerpc_ack_ctx
                      result                   : 0x0000 (0)
                      reason                   : 0x0000 (0)
                      syntax: struct ndr_syntax_id
                          uuid                     : 8a885d04-1ceb-11c9-9fe8-08002b104860
                          if_version               : 0x00000002 (2)
              auth_info                : DATA_BLOB length=0
[2014/08/28 14:30:09.871522, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 144
[2014/08/28 14:30:09.871553,  3] smbd/pipes.c:361(pipe_write_andx_done)
  writeX-IPC nwritten=160
[2014/08/28 14:30:09.871861, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 59
[2014/08/28 14:30:09.871939,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x3b
[2014/08/28 14:30:09.871999,  3] smbd/process.c:1662(process_smb)
  Transaction 32 of length 63 (0 toread)
[2014/08/28 14:30:09.872052,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.872066,  5] lib/util.c:342(show_msg)
  size=59
  smb_com=0x2e
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=15938
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=10607 (0x296F)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 1024 (0x400)
  smb_vwv[ 6]= 1024 (0x400)
  smb_vwv[ 7]=65535 (0xFFFF)
  smb_vwv[ 8]=65535 (0xFFFF)
  smb_vwv[ 9]= 1024 (0x400)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_bcc=0
[2014/08/28 14:30:09.872337, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.872352,  3] smbd/process.c:1467(switch_message)
  switch message SMBreadX (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.872378,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.872405,  6] rpc_server/srv_pipe_hnd.c:284(read_from_internal_pipe)
   name: \srvsvc len: 1024
[2014/08/28 14:30:09.872432, 10] rpc_server/srv_pipe_hnd.c:325(read_from_internal_pipe)
  read_from_pipe: \srvsvc: current_pdu_len = 68, current_pdu_sent = 0 returning 68 bytes.
[2014/08/28 14:30:09.872459,  3] rpc_server/srv_pipe_hnd.c:121(free_pipe_context)
  free_pipe_context: destroying talloc pool of size 28
[2014/08/28 14:30:09.872501, 10] rpc_server/srv_pipe_hnd.c:788(np_read_recv)
  Received 68 bytes. There is no more data outstanding
[2014/08/28 14:30:09.872530,  3] smbd/pipes.c:485(pipe_read_andx_done)
  readX-IPC min=1024 max=1024 nread=68
[2014/08/28 14:30:09.872809, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 164
[2014/08/28 14:30:09.872877,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0xa4
[2014/08/28 14:30:09.872935,  3] smbd/process.c:1662(process_smb)
  Transaction 33 of length 168 (0 toread)
[2014/08/28 14:30:09.872993,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.873008,  5] lib/util.c:342(show_msg)
  size=164
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=16002
  smt_wct=16
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   80 (0x50)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 1024 (0x400)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=   84 (0x54)
  smb_vwv[11]=   80 (0x50)
  smb_vwv[12]=   84 (0x54)
  smb_vwv[13]=    2 (0x2)
  smb_vwv[14]=   38 (0x26)
  smb_vwv[15]=10607 (0x296F)
  smb_bcc=97
[2014/08/28 14:30:09.873326, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 50 00 49 00 50   00 45 00 5C 00 00 00 00   .\.P.I.P .E.\....
  [0010] 00 05 00 00 03 10 00 00   00 50 00 00 00 03 00 00   ........ .P......
  [0020] 00 38 00 00 00 00 00 10   00 00 00 02 00 05 00 00   .8...... ........
  [0030] 00 00 00 00 00 05 00 00   00 7A 00 75 00 6C 00 75   ........ .z.u.l.u
  [0040] 00 00 00 00 00 05 00 00   00 00 00 00 00 05 00 00   ........ ........
  [0050] 00 73 00 77 00 68 00 77   00 00 00 00 00 01 00 00   .s.w.h.w ........
  [0060] 00                                                . 
[2014/08/28 14:30:09.873487,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.873513,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.873541,  3] smbd/ipc.c:560(handle_trans)
  trans <\PIPE\> data=80 params=0 setup=2
[2014/08/28 14:30:09.873569,  5] smbd/ipc.c:593(handle_trans)
  calling named_pipe
[2014/08/28 14:30:09.873594,  3] smbd/ipc.c:511(named_pipe)
  named pipe command on <> name
[2014/08/28 14:30:09.873619,  5] smbd/ipc.c:434(api_fd_reply)
  api_fd_reply
[2014/08/28 14:30:09.873644,  3] smbd/ipc.c:475(api_fd_reply)
  Got API command 0x26 on pipe "srvsvc" (pnum 296f)
[2014/08/28 14:30:09.873670, 10] smbd/ipc.c:477(api_fd_reply)
  api_fd_reply: p:0x7fc902304b00 max_trans_reply: 1024
[2014/08/28 14:30:09.873696,  6] rpc_server/srv_pipe_hnd.c:520(np_write_send)
  np_write_send: len: 80
[2014/08/28 14:30:09.873722, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 80
[2014/08/28 14:30:09.873747, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 0, pdu_needed_len = 0, incoming data = 80
[2014/08/28 14:30:09.873773, 10] rpc_server/srv_pipe_hnd.c:50(fill_rpc_header)
  fill_rpc_header: data_to_copy = 80, len_needed_to_complete_hdr = 16, receive_len = 0
[2014/08/28 14:30:09.873799, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 16
[2014/08/28 14:30:09.873824, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 64
[2014/08/28 14:30:09.873849, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 0, incoming data = 64
[2014/08/28 14:30:09.873875, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 0
[2014/08/28 14:30:09.873900, 10] rpc_server/srv_pipe_hnd.c:242(write_to_internal_pipe)
  write_to_pipe: data_left = 64
[2014/08/28 14:30:09.873925, 10] rpc_server/srv_pipe_hnd.c:138(process_incoming_data)
  process_incoming_data: Start: pdu.length = 16, pdu_needed_len = 64, incoming data = 64
[2014/08/28 14:30:09.873951, 10] rpc_server/srv_pipe.c:1877(process_complete_pdu)
  PDU is in Little Endian format!
[2014/08/28 14:30:09.873979,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_REQUEST (0)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x0050 (80)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000003 (3)
          u                        : union dcerpc_payload(case 0)
          request: struct dcerpc_request
              alloc_hint               : 0x00000038 (56)
              context_id               : 0x0000 (0)
              opnum                    : 0x0010 (16)
              object                   : union dcerpc_object(case 0)
              empty: struct dcerpc_empty
              _pad                     : DATA_BLOB length=0
              stub_and_verifier        : DATA_BLOB length=56
  [0000] 00 00 02 00 05 00 00 00   00 00 00 00 05 00 00 00   ........ ........
  [0010] 7A 00 75 00 6C 00 75 00   00 00 00 00 05 00 00 00   z.u.l.u. ........
  [0020] 00 00 00 00 05 00 00 00   73 00 77 00 68 00 77 00   ........ s.w.h.w.
  [0030] 00 00 00 00 01 00 00 00                            ........ 
[2014/08/28 14:30:09.874367, 10] rpc_server/srv_pipe.c:1890(process_complete_pdu)
  Processing packet type 0
[2014/08/28 14:30:09.874393, 10] rpc_server/srv_pipe.c:1734(dcesrv_auth_request)
  Checking request auth.
[2014/08/28 14:30:09.874419,  5] rpc_server/srv_pipe.c:1571(api_pipe_request)
  Requested \PIPE\\srvsvc
[2014/08/28 14:30:09.874445,  4] rpc_server/srv_pipe.c:1611(api_rpcTNP)
  api_rpcTNP: \srvsvc op 0x10 - api_rpcTNP: rpc command: SRVSVC_NETSHAREGETINFO
[2014/08/28 14:30:09.874472,  6] rpc_server/srv_pipe.c:1645(api_rpcTNP)
  api_rpc_cmds[16].fn == 0x7fc8fff2d480
[2014/08/28 14:30:09.874500,  1] ../librpc/ndr/ndr.c:284(ndr_print_function_debug)
       srvsvc_NetShareGetInfo: struct srvsvc_NetShareGetInfo
          in: struct srvsvc_NetShareGetInfo
              server_unc               : *
                  server_unc               : 'zulu'
              share_name               : 'swhw'
              level                    : 0x00000001 (1)
[2014/08/28 14:30:09.874587,  5] rpc_server/srvsvc/srv_srvsvc_nt.c:1440(_srvsvc_NetShareGetInfo)
  _srvsvc_NetShareGetInfo: 1440
[2014/08/28 14:30:09.874620,  5] rpc_server/srvsvc/srv_srvsvc_nt.c:1510(_srvsvc_NetShareGetInfo)
  _srvsvc_NetShareGetInfo: 1510
[2014/08/28 14:30:09.874646,  1] ../librpc/ndr/ndr.c:284(ndr_print_function_debug)
       srvsvc_NetShareGetInfo: struct srvsvc_NetShareGetInfo
          out: struct srvsvc_NetShareGetInfo
              info                     : *
                  info                     : union srvsvc_NetShareInfo(case 1)
                  info1                    : *
                      info1: struct srvsvc_NetShareInfo1
                          name                     : *
                              name                     : 'swhw'
                          type                     : STYPE_DISKTREE (0x0)
                          comment                  : *
                              comment                  : 'Software-Hardware'
              result                   : WERR_OK
[2014/08/28 14:30:09.874811,  5] rpc_server/srv_pipe.c:1679(api_rpcTNP)
  api_rpcTNP: called \srvsvc successfully
[2014/08/28 14:30:09.874838, 10] rpc_server/srv_pipe_hnd.c:247(write_to_internal_pipe)
  write_to_pipe: data_used = 64
[2014/08/28 14:30:09.874870,  6] rpc_server/srv_pipe_hnd.c:284(read_from_internal_pipe)
   name: \srvsvc len: 1024
[2014/08/28 14:30:09.874897, 10] rpc_server/srv_pipe_hnd.c:346(read_from_internal_pipe)
  read_from_pipe: \srvsvc: fault_state = 0 : data_sent_length = 0, p->out_data.rdata.length = 96.
[2014/08/28 14:30:09.874927,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       &r: struct ncacn_packet
          rpc_vers                 : 0x05 (5)
          rpc_vers_minor           : 0x00 (0)
          ptype                    : DCERPC_PKT_RESPONSE (2)
          pfc_flags                : 0x03 (3)
          drep: ARRAY(4)
              [0]                      : 0x10 (16)
              [1]                      : 0x00 (0)
              [2]                      : 0x00 (0)
              [3]                      : 0x00 (0)
          frag_length              : 0x0078 (120)
          auth_length              : 0x0000 (0)
          call_id                  : 0x00000003 (3)
          u                        : union dcerpc_payload(case 2)
          response: struct dcerpc_response
              alloc_hint               : 0x00000060 (96)
              context_id               : 0x0000 (0)
              cancel_count             : 0x00 (0)
              _pad                     : DATA_BLOB length=0
              stub_and_verifier        : DATA_BLOB length=96
  [0000] 01 00 00 00 04 00 02 00   08 00 02 00 00 00 00 00   ........ ........
  [0010] 0C 00 02 00 05 00 00 00   00 00 00 00 05 00 00 00   ........ ........
  [0020] 73 00 77 00 68 00 77 00   00 00 00 00 12 00 00 00   s.w.h.w. ........
  [0030] 00 00 00 00 12 00 00 00   53 00 6F 00 66 00 74 00   ........ S.o.f.t.
  [0040] 77 00 61 00 72 00 65 00   2D 00 48 00 61 00 72 00   w.a.r.e. -.H.a.r.
  [0050] 64 00 77 00 61 00 72 00   65 00 00 00 00 00 00 00   d.w.a.r. e.......
[2014/08/28 14:30:09.875348,  3] rpc_server/srv_pipe_hnd.c:121(free_pipe_context)
  free_pipe_context: destroying talloc pool of size 88
[2014/08/28 14:30:09.875379, 10] rpc_server/srv_pipe_hnd.c:788(np_read_recv)
  Received 120 bytes. There is no more data outstanding
[2014/08/28 14:30:09.875406,  5] smbd/ipc.c:62(copy_trans_params_and_data)
  copy_trans_params_and_data: params[0..0] data[0..120] (align 0)
[2014/08/28 14:30:09.875433,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.875448,  5] lib/util.c:342(show_msg)
  size=176
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=996
  smb_uid=100
  smb_mid=16002
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=  120 (0x78)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  120 (0x78)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=121
[2014/08/28 14:30:09.875697, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 05 00 02 03 10 00 00   00 78 00 00 00 03 00 00   ........ .x......
  [0010] 00 60 00 00 00 00 00 00   00 01 00 00 00 04 00 02   .`...... ........
  [0020] 00 08 00 02 00 00 00 00   00 0C 00 02 00 05 00 00   ........ ........
  [0030] 00 00 00 00 00 05 00 00   00 73 00 77 00 68 00 77   ........ .s.w.h.w
  [0040] 00 00 00 00 00 12 00 00   00 00 00 00 00 12 00 00   ........ ........
  [0050] 00 53 00 6F 00 66 00 74   00 77 00 61 00 72 00 65   .S.o.f.t .w.a.r.e
  [0060] 00 2D 00 48 00 61 00 72   00 64 00 77 00 61 00 72   .-.H.a.r .d.w.a.r
  [0070] 00 65 00 00 00 00 00 00   00                       .e...... .
[2014/08/28 14:30:09.876429, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:09.876511,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:09.876573,  3] smbd/process.c:1662(process_smb)
  Transaction 34 of length 45 (0 toread)
[2014/08/28 14:30:09.876621,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.876636,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=16066
  smt_wct=3
  smb_vwv[ 0]=10607 (0x296F)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:09.876809, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.876824,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.876851,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.876877,  3] smbd/reply.c:4848(reply_close)
  close fd=-1 fnum=10607 (numopen=2)
[2014/08/28 14:30:09.876903,  6] smbd/close.c:532(set_close_write_time)
  close_write_time: Sun Feb  7 04:28:15 2106
[2014/08/28 14:30:09.876961,  5] smbd/files.c:482(file_free)
  freed files structure 10607 (2 used)
[2014/08/28 14:30:09.876988,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.877003,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=16066
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.877143, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.877430, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:09.877498,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:09.877557,  3] smbd/process.c:1662(process_smb)
  Transaction 35 of length 45 (0 toread)
[2014/08/28 14:30:09.877614,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.877629,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=16130
  smt_wct=3
  smb_vwv[ 0]=10606 (0x296E)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:09.877809, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:09.877825,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:09.877851,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:09.877877,  3] smbd/reply.c:4848(reply_close)
  close fd=-1 fnum=10606 (numopen=1)
[2014/08/28 14:30:09.877903,  6] smbd/close.c:532(set_close_write_time)
  close_write_time: Sun Feb  7 04:28:15 2106
[2014/08/28 14:30:09.877937, 10] rpc_server/rpc_handles.c:307(close_policy_by_pipe)
  close_policy_by_pipe: deleted handle list for pipe \srvsvc
[2014/08/28 14:30:09.877968,  5] smbd/files.c:482(file_free)
  freed files structure 10606 (1 used)
[2014/08/28 14:30:09.877994,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:09.878009,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=16130
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:09.878149, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.474524, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:22.474607,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:22.474667,  3] smbd/process.c:1662(process_smb)
  Transaction 36 of length 90 (0 toread)
[2014/08/28 14:30:22.474708,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.474723,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16194
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=35072 (0x8900)
  smb_vwv[ 8]=  512 (0x200)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:22.475118, 10] ../lib/util/util.c:415(dump_data)
  [0000] CB 00 00                                          ... 
[2014/08/28 14:30:22.475152,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.475182,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:22.475209,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:22.475551,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:22.475792,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:22.475820,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:22.475852, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:22.475881,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:22.475908,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:22.475932,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.475959,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.475985, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.476015, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x20089 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.476046,  5] smbd/files.c:140(file_new)
  allocated file structure 6514, fnum = 10610 (2 used)
[2014/08/28 14:30:22.476075, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.476101,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:22.476127, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x20089 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.476155,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.476181, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.476207, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.476247, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.476274, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.476303, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.476390, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.476472, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.476530, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.476584, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.476833, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.476860, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.476889, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.476970, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.477051, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.477097, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.477148, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.477388, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.477415, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.477440, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.477466, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.477491, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.477517, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.477542, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.477568, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.477593, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.477619, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.477645, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.477671, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.477696, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.477728, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.477755,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.479455,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.479482,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.479509, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x20089
[2014/08/28 14:30:22.479541, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.479573, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307510
[2014/08/28 14:30:22.479599, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:22.479627, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.479664, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.479694, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023076c0
[2014/08/28 14:30:22.479720, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:22.479762, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x40, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.479796, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.479824, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.479850, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:22.479877, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x20089, share_access = 0x7
[2014/08/28 14:30:22.479902, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:22.479928, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:22.479953, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x20089) & right (0x6) = 0x0
[2014/08/28 14:30:22.479979, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:22.480004, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:22.480030, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:22.480055, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x20089) & right (0x21) = 0x1
[2014/08/28 14:30:22.480081, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:22.480106, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:22.480132, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:22.480158, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x20089) & right (0x10000) = 0x0
[2014/08/28 14:30:22.480183, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:22.480209, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:22.480239, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 14:30:22.480265,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x20089, open_access_mask = 0x20089
[2014/08/28 14:30:22.480295, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:22.480323, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.480350, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.480379, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.480412,  5] smbd/files.c:482(file_free)
  freed files structure 10610 (1 used)
[2014/08/28 14:30:22.480439,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x20089, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:22.480467, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.480511, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.480538, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.480567, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.480652, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.480734, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.480780, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.480835, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.481079, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.481105, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.481134, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.481216, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.481297, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.481343, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.481400, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.481645, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.481672, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.481698, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.481724, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.481750, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.481775, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.481801, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.481826, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.481852, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.481878, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.481904, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.481930, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.481955, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.481987, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x20089 returning 0x20009 (NT_STATUS_OK)
[2014/08/28 14:30:22.482016,  5] smbd/files.c:140(file_new)
  allocated file structure 6515, fnum = 10611 (2 used)
[2014/08/28 14:30:22.482046, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.482074, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:22.482106, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.482135, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902304be0
[2014/08/28 14:30:22.482161, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:22.482202, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x3bc0, type= 0x40, gen_id = 1073264232, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.482236, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.482263, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.482293, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:22.482321, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x20089, share_access = 0x7
[2014/08/28 14:30:22.482347, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:22.482372, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:22.482398, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x20089) & right (0x6) = 0x0
[2014/08/28 14:30:22.482423, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:22.482449, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:22.482474, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:22.482500, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x20089) & right (0x21) = 0x1
[2014/08/28 14:30:22.482525, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:22.482551, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:22.482576, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:22.482602, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x20089) & right (0x10000) = 0x0
[2014/08/28 14:30:22.482628, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:22.482653, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:22.482680, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:30:22.482720, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x3f42, type= 0x0, gen_id = 1073264234, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.482754, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.482783, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.482816, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:22.482842, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:22.482869,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.482895, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.482921, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.482958, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.482984, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.483013, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.483098, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.483180, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.483232, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.483287, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.483531, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.483557, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.483586, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.483668, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.483749, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.483795, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.483846, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.484113, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.484141, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.484166, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.484192, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.484217, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.484243, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.484268, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.484294, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.484319, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.484345, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.484371, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.484402, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.484428, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.484459, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.484509,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.487783,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.487835,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.487895, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:22.487974, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x3f42, type= 0x0, gen_id = 1073264234, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.488039, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.488098,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10611, open name = .
[2014/08/28 14:30:22.488655, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.488728,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.488786,  3] smbd/process.c:1662(process_smb)
  Transaction 37 of length 76 (0 toread)
[2014/08/28 14:30:22.488836,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.488864,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16258
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.489443, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 73 29 ED 03                              ...s).. 
[2014/08/28 14:30:22.489509,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.489561,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.489613,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.489674, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:22.489753, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x3f42, type= 0x0, gen_id = 1073264234, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.489818, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.489879, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.489930,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10611) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.489982,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10611) level=1005 max_data=24
[2014/08/28 14:30:22.490032,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.490083, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.490133, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.490205, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.490256, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.490313, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.490476, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.490634, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.490722, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.490826, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.491294, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.491344, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.491400, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.491556, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.491712, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.491800, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.491898, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.492373, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.492424, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.492474, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.492537, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.492587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.492636, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.492686, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.492735, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.492783, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.492832, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.492882, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.492932, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.492981, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.493040, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.493093,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.496363,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.496415,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.496471, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.496548,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.496599,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.496649,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.496680,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16258
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.496926, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.497442, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.497512,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.497571,  3] smbd/process.c:1662(process_smb)
  Transaction 38 of length 45 (0 toread)
[2014/08/28 14:30:22.497626,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.497640,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=16322
  smt_wct=3
  smb_vwv[ 0]=10611 (0x2973)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.497815, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.497831,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.497858,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.497884,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10611
[2014/08/28 14:30:22.497915, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.497945, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307ff0
[2014/08/28 14:30:22.497971, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:22.498013, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x3f42, type= 0x0, gen_id = 1073264234, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.498047, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.498075, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.498101, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:30:22.498141, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x3f42, type= 0x40, gen_id = 1073264234, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.498174, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.498203, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.498237, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.498264, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.498292,  5] smbd/files.c:482(file_free)
  freed files structure 10611 (1 used)
[2014/08/28 14:30:22.498319,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.498334,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=16322
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.498475, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.499501, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 36
[2014/08/28 14:30:22.499582,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x24
[2014/08/28 14:30:22.499641,  3] smbd/process.c:1662(process_smb)
  Transaction 39 of length 40 (0 toread)
[2014/08/28 14:30:22.499692,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.499707,  5] lib/util.c:342(show_msg)
  size=36
  smb_com=0xa4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14915
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.499849, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.499865,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcancel (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.499891,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:22.499918,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:22.499943,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:22.499985,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:22.500017,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
[2014/08/28 14:30:22.500047,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.500062,  5] lib/util.c:342(show_msg)
  size=71
  smb_com=0xa0
  smb_rcls=32
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=14915
  smt_wct=18
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=    0 (0x0)
  smb_bcc=0
[2014/08/28 14:30:22.500393, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.500417,  3] smbd/nttrans.c:1348(reply_ntcancel)
  reply_ntcancel: cancel called on mid = 14915.
[2014/08/28 14:30:22.500741, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.500811,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.500869,  3] smbd/process.c:1662(process_smb)
  Transaction 40 of length 45 (0 toread)
[2014/08/28 14:30:22.500926,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.500941,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=16387
  smt_wct=3
  smb_vwv[ 0]=10605 (0x296D)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.501115, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.501131,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.501159,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:22.501186,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:22.501533,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:22.501764,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:22.501792,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10605
[2014/08/28 14:30:22.501822, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.501851, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddcb0
[2014/08/28 14:30:22.501877, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:22.501918, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x20089, mid = 0x3f42, type= 0x40, gen_id = 1073264234, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.501952, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x3a03, type= 0x0, gen_id = 1073264228, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.501980, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.502008, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.502041, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.502068, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.502102, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.502133, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022de3b0
[2014/08/28 14:30:22.502160, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.502191, 10] smbd/notify_inotify.c:358(watch_destructor)
  Deleting inotify watch 1
[2014/08/28 14:30:22.502227, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:30:22.502257, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cd720
[2014/08/28 14:30:22.502284, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:30:22.502314,  5] smbd/files.c:482(file_free)
  freed files structure 10605 (0 used)
[2014/08/28 14:30:22.502342,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.502357,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=16387
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.502499, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.502527, 10] smbd/notify_inotify.c:164(inotify_dispatch)
  inotify_dispatch called with mask=8000, name=[]
[2014/08/28 14:30:22.503833, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:30:22.503900,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:30:22.503958,  3] smbd/process.c:1662(process_smb)
  Transaction 41 of length 110 (0 toread)
[2014/08/28 14:30:22.504022,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.504038,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16451
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:30:22.504432, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:22.504495,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.504523,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.504551, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:30:22.504579,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.504607, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION.H]
[2014/08/28 14:30:22.504633,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version.h, dirpath = , start = version.h
[2014/08/28 14:30:22.504664,  5] smbd/statcache.c:143(stat_cache_add)
  stat_cache_add: Added entry (7fc9022ddd70:size 9) VERSION.H -> version.h
[2014/08/28 14:30:22.504690,  5] smbd/filename.c:439(unix_convert)
  conversion of base_name finished version.h -> version.h
[2014/08/28 14:30:22.504715,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.504743,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.504769, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.504798, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.504829,  5] smbd/files.c:140(file_new)
  allocated file structure 6516, fnum = 10612 (1 used)
[2014/08/28 14:30:22.504858, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.504885,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:22.504911, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.504939,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.504965, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.504992, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.505029, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.505061, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.505090, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.505177, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.505259, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.505305, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.505360, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.505602, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.505629, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.505655, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.505681, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.505706, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.505736, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.505764,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.507096,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.507123,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.507150,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:30:22.507177,  5] smbd/files.c:482(file_free)
  freed files structure 10612 (0 used)
[2014/08/28 14:30:22.507203, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.507229, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.507255,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.507282,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.507296,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16451
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.507437, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.508091, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:30:22.508160,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:30:22.508219,  3] smbd/process.c:1662(process_smb)
  Transaction 42 of length 110 (0 toread)
[2014/08/28 14:30:22.508275,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.508290,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16515
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:30:22.508792, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:22.508869,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.508905,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.508941, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:30:22.508987,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.509024, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.509062,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.509098,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.509133, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.509173, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.509214,  5] smbd/files.c:140(file_new)
  allocated file structure 6517, fnum = 10613 (1 used)
[2014/08/28 14:30:22.509252, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.509288,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:22.509323, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.509361,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.509395, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.509431, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.509478, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.509513, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.509552, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.509666, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.509776, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.509838, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.509911, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.510236, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.510279, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.510315, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.510349, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.510383, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.510423, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.510460,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.512235,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.512271,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.512307,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:30:22.512343,  5] smbd/files.c:482(file_free)
  freed files structure 10613 (0 used)
[2014/08/28 14:30:22.512378, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.512413, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.512448,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.512496,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.512519,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16515
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.512711, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.513280, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:30:22.513348,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:30:22.513407,  3] smbd/process.c:1662(process_smb)
  Transaction 43 of length 110 (0 toread)
[2014/08/28 14:30:22.513442,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.513462,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16579
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:30:22.513999, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:22.514074,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.514110,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.514146, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:30:22.514185,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.514221, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.514259,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.514295,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.514329, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.514369, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.514410,  5] smbd/files.c:140(file_new)
  allocated file structure 6518, fnum = 10614 (1 used)
[2014/08/28 14:30:22.514449, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.514485,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:22.514520, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.514558,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.514599, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.514636, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.514682, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.514717, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.514756, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.514870, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.514980, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.515042, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.515114, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.515439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.515475, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.515510, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.515544, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.515578, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.515617, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.515653,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.517439,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.517475,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.517511,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:30:22.517547,  5] smbd/files.c:482(file_free)
  freed files structure 10614 (0 used)
[2014/08/28 14:30:22.517583, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.517617, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.517652,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.517688,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.517708,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16579
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.517898, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.518476, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:30:22.518545,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:30:22.518604,  3] smbd/process.c:1662(process_smb)
  Transaction 44 of length 100 (0 toread)
[2014/08/28 14:30:22.518639,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.518659,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16643
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:30:22.519065, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:30:22.519145,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.519181,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.519216,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:30:22.519261,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.519297, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.519335,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.519371,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.519410, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.519450, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.519486,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 14:30:22.519522,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1004 max_data=40
[2014/08/28 14:30:22.519558,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.519593, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.519628, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.519675, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.519710, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.519750, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.519864, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.519975, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.520037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.520109, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.520434, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.520470, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.520525, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.520561, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.520596, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.520635, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.520679,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.522451,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.522487,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.522529, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 14:30:22.522564,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu May 15 15:54:41 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu May 15 15:54:41 2014
   change: Thu May 15 15:54:41 2014
   mode: 20
[2014/08/28 14:30:22.522677,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 14:30:22.522712,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 14:30:22.522746,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.522766,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16643
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 14:30:22.523098, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 20 00 00   00 00 00 00 00            op.. .. .....
[2014/08/28 14:30:22.523552, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:30:22.523621,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:30:22.523680,  3] smbd/process.c:1662(process_smb)
  Transaction 45 of length 100 (0 toread)
[2014/08/28 14:30:22.523715,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.523734,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16707
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:30:22.524141, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:30:22.524220,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.524256,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.524291,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 14:30:22.524328,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.524364, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.524402,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.524438,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.524477, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.524525, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.524560,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 14:30:22.524597,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1005 max_data=24
[2014/08/28 14:30:22.524632,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.524667, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.524703, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.524750, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.524785, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.524825, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.524939, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.525050, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.525113, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.525194, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.525524, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.525559, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.525594, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.525628, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.525662, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.525701, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.525739,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.527525,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.527562,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.527604, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.527639,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.527674,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.527708,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.527728,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16707
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.528064, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 10   00 00 00 00 00 E3 30 00   ........ ......0.
  [0010] 00 00 00 00 00 01 00 00   00 00 00 00 00           ........ .....
[2014/08/28 14:30:22.529188, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:22.529231,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:22.529267,  3] smbd/process.c:1662(process_smb)
  Transaction 46 of length 90 (0 toread)
[2014/08/28 14:30:22.529302,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.529322,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16771
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:22.529864, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 00 00                                          ... 
[2014/08/28 14:30:22.529909,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.529945,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.529982, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:22.530021,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:22.530059,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:22.530093,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.530129,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.530164, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.530214, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.530256,  5] smbd/files.c:140(file_new)
  allocated file structure 6519, fnum = 10615 (1 used)
[2014/08/28 14:30:22.530296, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.530332,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:22.530367, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.530406,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.530441, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.530477, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.530528, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.530564, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.530604, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.530720, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.530832, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.530895, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.530967, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.531300, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.531336, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.531375, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.531486, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.531597, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.531659, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.531729, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.532065, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.532102, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.532137, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.532173, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.532208, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.532242, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.532277, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.532312, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.532347, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.532381, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.532417, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.532452, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.532507, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.532553, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.532591,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.534313,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.534340,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.534367, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:22.534400, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.534431, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d75f0
[2014/08/28 14:30:22.534457, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:22.534485, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.534523, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.534552, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307180
[2014/08/28 14:30:22.534579, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:30:22.534606,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:22.534643, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:22.534671, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.534699, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.534727, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.534761,  5] smbd/files.c:482(file_free)
  freed files structure 10615 (0 used)
[2014/08/28 14:30:22.534788,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:22.534817, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.534855, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.534881, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.534911, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.534996, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.535079, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.535126, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.535181, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.535427, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.535454, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.535483, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.535565, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.535647, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.535693, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.535746, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.536022, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.536050, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.536076, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.536102, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.536127, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.536153, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.536179, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.536205, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.536230, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.536256, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.536282, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.536308, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.536334, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.536366, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:22.536396,  5] smbd/files.c:140(file_new)
  allocated file structure 6520, fnum = 10616 (1 used)
[2014/08/28 14:30:22.536426, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.536455, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:22.536494, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.536526, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d8510
[2014/08/28 14:30:22.536555, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:22.536597, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4183, type= 0x0, gen_id = 1073264239, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.536627, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.536660, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:22.536687, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:22.536713,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.536740, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.536767, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.536804, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.536837, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.536867, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.536951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.537034, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.537081, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.537136, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.537382, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.537408, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.537437, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.537519, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.537601, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.537647, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.537700, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.537944, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.537971, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.537997, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.538022, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.538048, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.538080, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.538106, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.538132, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.538157, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.538183, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.538209, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.538235, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.538260, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.538292, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.538319,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.540027,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.540054,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.540086, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.540128, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4183, type= 0x0, gen_id = 1073264239, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.540159,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10616, open name = .
[2014/08/28 14:30:22.540574, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.540607,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.540634,  3] smbd/process.c:1662(process_smb)
  Transaction 47 of length 76 (0 toread)
[2014/08/28 14:30:22.540659,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.540674,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16835
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    8 (0x8)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.540977, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 78 29 EE 03                              ...x).. 
[2014/08/28 14:30:22.541011,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.541038,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.541065,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2014/08/28 14:30:22.541098, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.541146, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4183, type= 0x0, gen_id = 1073264239, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.541174, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.541200,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10616) level=1006 call=7 total_data=0
[2014/08/28 14:30:22.541227,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10616) level=1006 max_data=8
[2014/08/28 14:30:22.541253,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.541279, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.541306, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.541343, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.541370, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.541400, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.541484, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.541567, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.541614, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.541668, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.541913, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.541939, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.541969, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.542051, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.542132, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.542179, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.542231, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.542479, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.542506, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.542531, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.542557, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.542582, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.542608, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.542634, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.542659, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.542685, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.542711, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.542737, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.542762, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.542788, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.542819, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.542846,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.544577,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.544605,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.544635, 10] smbd/trans2.c:4621(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_INTERNAL_INFORMATION
[2014/08/28 14:30:22.544662,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 8, useable_space = 131010
[2014/08/28 14:30:22.544689,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 8, paramsize = 2, datasize = 8
[2014/08/28 14:30:22.544714,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.544729,  5] lib/util.c:342(show_msg)
  size=68
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16835
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    8 (0x8)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=13
[2014/08/28 14:30:22.544984, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 01 00 94   00 00 00 00 00           ........ .....
[2014/08/28 14:30:22.545673, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.545705,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.545731,  3] smbd/process.c:1662(process_smb)
  Transaction 48 of length 76 (0 toread)
[2014/08/28 14:30:22.545757,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.545772,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16899
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.546077, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 78 29 ED 03                              ...x).. 
[2014/08/28 14:30:22.546112,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.546139,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.546165,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.546198, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.546239, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4183, type= 0x0, gen_id = 1073264239, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.546267, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.546293,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10616) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.546320,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10616) level=1005 max_data=24
[2014/08/28 14:30:22.546346,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.546372, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.546398, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.546435, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.546462, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.546491, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.546576, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.546659, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.546706, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.546759, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.547010, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.547037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.547066, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.547148, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.547230, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.547276, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.547328, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.547588, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.547615, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.547641, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.547667, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.547693, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.547719, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.547745, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.547770, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.547796, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.547822, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.547848, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.547874, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.547900, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.547930, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.547964,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.549674,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.549702,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.549744, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.549772,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.549798,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.549824,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.549839,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16899
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.550088, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.550670, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.550701,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.550727,  3] smbd/process.c:1662(process_smb)
  Transaction 49 of length 76 (0 toread)
[2014/08/28 14:30:22.550754,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.550768,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16963
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.551071, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 78 29 ED 03                              ...x).. 
[2014/08/28 14:30:22.551105,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.551132,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.551159,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.551192, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.551234, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4183, type= 0x0, gen_id = 1073264239, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.551262, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.551293,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10616) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.551320,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10616) level=1005 max_data=24
[2014/08/28 14:30:22.551347,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.551373, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.551399, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.551437, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.551464, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.551493, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.551579, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.551661, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.551708, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.551762, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.552007, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.552034, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.552063, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.552145, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.552227, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.552273, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.552325, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.552587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.552615, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.552641, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.552666, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.552692, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.552718, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.552744, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.552769, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.552795, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.552820, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.552846, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.552872, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.552898, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.552928, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.552956,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.554663,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.554690,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.554720, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.554748,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.554774,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.554799,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.554814,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=16963
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.555062, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.555127,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:22.555155,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:22.555181,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:22.555233,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:22.555576, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:22.555606,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:22.555633,  3] smbd/process.c:1662(process_smb)
  Transaction 50 of length 106 (0 toread)
[2014/08/28 14:30:22.555659,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.555674,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17027
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:22.555977, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:22.556054,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.556083,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:22.556110,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:22.556452,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:22.556705,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:22.556737,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:22.556768,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.556795, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.556825,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.556852,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.556878,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:22.556904,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:22.556937,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.556963,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.556997,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:22.557025,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:22.557051,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:22.557081,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.557108,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.557136,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d9bd0 now at offset -1
[2014/08/28 14:30:22.557165,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:22.557191, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:22.557217, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:22.557253, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.557280, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.557309, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.557395, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.557477, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.557524, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.557578, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.557821, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.557848, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.557874, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.557899, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.557925, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.557958, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.557985,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.559317,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.559344,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.559374, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.559400,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:22.559431, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:22.559458, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:22.559487,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:22.559513,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:22.559542,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:22.559569,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:22.559594,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.559609,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17027
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:22.559864, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:22.560057,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:22.560580, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.560612,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.560638,  3] smbd/process.c:1662(process_smb)
  Transaction 51 of length 45 (0 toread)
[2014/08/28 14:30:22.560664,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.560679,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17091
  smt_wct=3
  smb_vwv[ 0]=10616 (0x2978)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.560853, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.560868,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.560895,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.560921,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10616
[2014/08/28 14:30:22.560951, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.560981, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:30:22.561007, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.561048, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4183, type= 0x0, gen_id = 1073264239, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.561077, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.561105, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.561139, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.561166, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.561194,  5] smbd/files.c:482(file_free)
  freed files structure 10616 (0 used)
[2014/08/28 14:30:22.561221,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.561236,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17091
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.561377, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.562423, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:22.562472,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:22.562499,  3] smbd/process.c:1662(process_smb)
  Transaction 52 of length 90 (0 toread)
[2014/08/28 14:30:22.562525,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.562539,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17155
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:22.562940, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:22.562973,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.563000,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.563028, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:22.563057,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:22.563085,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:22.563110,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.563137,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.563163, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.563193, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.563224,  5] smbd/files.c:140(file_new)
  allocated file structure 6521, fnum = 10617 (1 used)
[2014/08/28 14:30:22.563253, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.563279,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:22.563306, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.563334,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.563360, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.563386, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.563424, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.563450, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.563479, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.563564, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.563647, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.563699, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.563753, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.563997, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.564024, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.564053, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.564134, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.564215, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.564261, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.564313, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.564567, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.564595, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.564621, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.564647, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.564672, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.564698, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.564724, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.564750, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.564775, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.564801, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.564827, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.564859, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.564886, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.564916, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.564944,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.566654,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.566681,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.566708, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:22.566739, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.566769, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d75f0
[2014/08/28 14:30:22.566796, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:22.566823, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.566861, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.566890, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307180
[2014/08/28 14:30:22.566917, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:30:22.566943,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:22.566973, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:22.567001, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.567028, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.567056, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.567089,  5] smbd/files.c:482(file_free)
  freed files structure 10617 (0 used)
[2014/08/28 14:30:22.567116,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:22.567144, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.567182, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.567208, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.567237, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.567323, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.567405, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.567452, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.567513, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.567759, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.567785, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.567814, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.567896, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.567978, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.568024, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.568077, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.568321, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.568349, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.568375, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.568400, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.568426, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.568452, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.568478, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.568533, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.568560, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.568586, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.568612, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.568638, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.568669, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.568701, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:22.568731,  5] smbd/files.c:140(file_new)
  allocated file structure 6522, fnum = 10618 (1 used)
[2014/08/28 14:30:22.568761, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.568790, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:22.568822, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.568852, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d8510
[2014/08/28 14:30:22.568880, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:22.568922, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4303, type= 0x0, gen_id = 1073264241, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.568951, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.568984, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:22.569010, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:22.569037,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.569064, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.569090, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.569128, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.569154, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.569184, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.569268, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.569350, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.569397, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.569452, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.569696, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.569722, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.569756, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.569838, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.569920, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.569965, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.570017, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.570259, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.570285, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.570311, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.570337, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.570362, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.570388, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.570413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.570439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.570464, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.570490, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.570516, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.570541, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.570567, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.570597, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.570625,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.572322,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.572349,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.572379, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.572425, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4303, type= 0x0, gen_id = 1073264241, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.572456,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10618, open name = .
[2014/08/28 14:30:22.573395, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.573429,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.573455,  3] smbd/process.c:1662(process_smb)
  Transaction 53 of length 76 (0 toread)
[2014/08/28 14:30:22.573481,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.573496,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17219
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.573797, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 7A 29 ED 03                              ...z).. 
[2014/08/28 14:30:22.573831,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.573858,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.573885,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.573918, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.573959, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4303, type= 0x0, gen_id = 1073264241, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.573987, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.574013,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10618) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.574040,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10618) level=1005 max_data=24
[2014/08/28 14:30:22.574066,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.574092, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.574118, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.574157, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.574183, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.574213, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.574300, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.574382, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.574436, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.574491, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.574734, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.574760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.574789, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.574870, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.574951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.574997, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.575048, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.575288, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.575315, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.575340, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.575366, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.575391, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.575417, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.575442, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.575467, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.575493, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.575518, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.575544, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.575575, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.575601, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.575631, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.575659,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.577365,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.577392,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.577422, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.577449,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.577475,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.577500,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.577515,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17219
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.577762, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.578306, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.578377,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.578436,  3] smbd/process.c:1662(process_smb)
  Transaction 54 of length 76 (0 toread)
[2014/08/28 14:30:22.578491,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.578505,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17283
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.578804, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 7A 29 ED 03                              ...z).. 
[2014/08/28 14:30:22.578838,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.578865,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.578891,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.578923, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.578970, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4303, type= 0x0, gen_id = 1073264241, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.578999, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.579024,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10618) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.579051,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10618) level=1005 max_data=24
[2014/08/28 14:30:22.579077,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.579103, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.579128, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.579165, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.579192, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.579221, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.579306, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.579388, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.579434, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.579487, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.579729, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.579755, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.579784, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.579865, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.579946, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.579992, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.580043, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.580288, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.580315, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.580340, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.580366, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.580391, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.580417, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.580442, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.580467, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.580522, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.580562, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.580601, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.580640, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.580678, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.580724, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.580765,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.583301,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.583341,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.583385, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.583425,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.583464,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.583503,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.583524,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17283
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.583895, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.584369, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:22.584438,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:22.584504,  3] smbd/process.c:1662(process_smb)
  Transaction 55 of length 106 (0 toread)
[2014/08/28 14:30:22.584545,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.584567,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17347
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:22.585014, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:22.585129,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.585168,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.585212,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:22.585258,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.585299, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.585341,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.585382,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.585421,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:22.585461,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:22.585499,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.585538,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.585583,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:22.585622,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:22.585661,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:22.585705,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.585744,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.585787,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d9bd0 now at offset -1
[2014/08/28 14:30:22.585828,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:22.585867, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:22.585906, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:22.585958, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.585998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.586042, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.586175, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.586299, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.586368, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.586448, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.586808, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.586848, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.586886, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.586924, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.586962, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.587006, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.587046,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.589036,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.589076,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.589122, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.589161,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:22.589206, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:22.589245, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:22.589285,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:22.589324,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:22.589367,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:22.589406,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:22.589445,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.589466,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17347
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:22.589835, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:22.590122,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:22.590487, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.590553,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.590606,  3] smbd/process.c:1662(process_smb)
  Transaction 56 of length 45 (0 toread)
[2014/08/28 14:30:22.590644,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.590666,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17411
  smt_wct=3
  smb_vwv[ 0]=10618 (0x297A)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.590927, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.590958,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.590998,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.591036,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10618
[2014/08/28 14:30:22.591081, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.591124, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:30:22.591163, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.591223, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4303, type= 0x0, gen_id = 1073264241, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.591265, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.591306, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.591355, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.591395, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.591436,  5] smbd/files.c:482(file_free)
  freed files structure 10618 (0 used)
[2014/08/28 14:30:22.591475,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.591497,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17411
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.591708, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.593774, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:22.593856,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:22.593896,  3] smbd/process.c:1662(process_smb)
  Transaction 57 of length 90 (0 toread)
[2014/08/28 14:30:22.593934,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.593956,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17475
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:22.594543, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 00 00                                          ... 
[2014/08/28 14:30:22.594592,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.594631,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.594671, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:22.594714,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:22.594755,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:22.594800,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.594841,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.594879, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.594923, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.594968,  5] smbd/files.c:140(file_new)
  allocated file structure 6523, fnum = 10619 (1 used)
[2014/08/28 14:30:22.595011, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.595051,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:22.595090, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.595132,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.595171, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.595210, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.595266, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.595306, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.595350, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.595479, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.595602, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.595671, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.595751, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.596115, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.596155, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.596198, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.596320, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.596450, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.596533, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.596610, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.596971, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.597012, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.597051, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.597089, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.597127, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.597166, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.597204, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.597243, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.597281, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.597319, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.597358, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.597397, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.597436, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.597482, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.597522,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.600064,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.600104,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.600144, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:22.600191, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.600236, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d3de0
[2014/08/28 14:30:22.600274, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:22.600315, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.600379, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.600422, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307180
[2014/08/28 14:30:22.600462, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:30:22.600513,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:22.600556, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:22.600598, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.600638, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.600680, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.600728,  5] smbd/files.c:482(file_free)
  freed files structure 10619 (0 used)
[2014/08/28 14:30:22.600768,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:22.600810, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.600865, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.600904, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.600948, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.601073, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.601223, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.601294, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.601375, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.601741, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.601781, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.601824, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.601947, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.602069, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.602145, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.602224, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.602589, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.602629, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.602668, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.602707, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.602745, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.602784, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.602822, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.602861, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.602899, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.602937, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.602976, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.603015, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.603054, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.603100, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:22.603144,  5] smbd/files.c:140(file_new)
  allocated file structure 6524, fnum = 10620 (1 used)
[2014/08/28 14:30:22.603187, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.603229, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:22.603277, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.603320, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d8510
[2014/08/28 14:30:22.603362, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:22.603424, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4443, type= 0x0, gen_id = 1073264243, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.603468, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.603517, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:22.603563, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:22.603603,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.603642, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.603682, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.603736, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.603775, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.603818, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.603944, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.604067, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.604137, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.604218, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.604610, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.604649, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.604678, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.604760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.604842, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.604888, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.604940, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.605182, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.605214, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.605240, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.605266, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.605291, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.605317, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.605342, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.605367, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.605393, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.605418, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.605444, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.605470, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.605495, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.605526, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.605554,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.607251,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.607278,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.607309, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.607350, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4443, type= 0x0, gen_id = 1073264243, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.607381,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10620, open name = .
[2014/08/28 14:30:22.608356, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.608437,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.608518,  3] smbd/process.c:1662(process_smb)
  Transaction 58 of length 76 (0 toread)
[2014/08/28 14:30:22.608557,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.608572,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17539
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.608871, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 7C 29 ED 03                              ...|).. 
[2014/08/28 14:30:22.608920,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.608948,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.608976,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.609009, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.609051, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4443, type= 0x0, gen_id = 1073264243, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.609078, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.609105,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10620) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.609132,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10620) level=1005 max_data=24
[2014/08/28 14:30:22.609159,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.609185, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.609211, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.609250, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.609277, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.609307, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.609394, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.609476, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.609522, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.609576, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.609821, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.609847, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.609876, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.609958, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.610046, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.610093, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.610145, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.610386, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.610413, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.610439, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.610465, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.610490, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.610516, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.610541, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.610567, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.610592, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.610618, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.610644, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.610670, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.610696, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.610727, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.610754,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.612468,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.612504,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.612535, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.612562,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.612588,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.612614,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.612629,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17539
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.612882, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.613484, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.613516,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.613543,  3] smbd/process.c:1662(process_smb)
  Transaction 59 of length 76 (0 toread)
[2014/08/28 14:30:22.613568,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.613583,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17603
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.613886, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 7C 29 ED 03                              ...|).. 
[2014/08/28 14:30:22.613921,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.613948,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.613975,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.614008, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.614049, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4443, type= 0x0, gen_id = 1073264243, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.614077, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.614103,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10620) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.614130,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10620) level=1005 max_data=24
[2014/08/28 14:30:22.614157,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.614183, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.614209, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.614247, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.614273, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.614303, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.614388, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.614477, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.614524, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.614578, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.614822, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.614849, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.614878, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.614960, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.615041, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.615087, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.615139, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.615380, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.615407, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.615433, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.615459, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.615484, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.615510, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.615536, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.615561, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.615587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.615613, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.615644, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.615670, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.615696, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.615727, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.615754,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.617484,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.617511,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.617541, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.617569,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.617595,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.617621,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.617635,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17603
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.617883, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.618420, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:22.618451,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:22.618478,  3] smbd/process.c:1662(process_smb)
  Transaction 60 of length 106 (0 toread)
[2014/08/28 14:30:22.618504,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.618519,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17667
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:22.618824, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:22.618902,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.618929,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.618958,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:22.618995,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.619023, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.619052,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.619079,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.619105,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:22.619131,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:22.619157,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.619183,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.619214,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:22.619240,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:22.619266,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:22.619295,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.619322,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.619351,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d9bd0 now at offset -1
[2014/08/28 14:30:22.619378,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:22.619404, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:22.619430, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:22.619465, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.619491, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.619520, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.619605, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.619688, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.619734, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.619788, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.620030, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.620057, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.620082, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.620114, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.620140, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.620170, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.620197,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.621526,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.621553,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.621584, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.621611,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:22.621642, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:22.621667, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:22.621695,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:22.621721,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:22.621750,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:22.621782,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:22.621808,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.621822,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17667
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:22.622069, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:22.622264,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:22.622786, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.622816,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.622843,  3] smbd/process.c:1662(process_smb)
  Transaction 61 of length 45 (0 toread)
[2014/08/28 14:30:22.622868,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.622882,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17731
  smt_wct=3
  smb_vwv[ 0]=10620 (0x297C)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.623056, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.623072,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.623098,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.623125,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10620
[2014/08/28 14:30:22.623155, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.623186, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:30:22.623212, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.623254, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4443, type= 0x0, gen_id = 1073264243, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.623282, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.623310, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.623343, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.623371, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.623399,  5] smbd/files.c:482(file_free)
  freed files structure 10620 (0 used)
[2014/08/28 14:30:22.623430,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.623446,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17731
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.623588, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.625695, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:22.625727,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:22.625753,  3] smbd/process.c:1662(process_smb)
  Transaction 62 of length 90 (0 toread)
[2014/08/28 14:30:22.625779,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.625793,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17795
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:22.626189, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:22.626223,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.626250,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.626277, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:22.626306,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:22.626333,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:22.626358,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.626385,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.626411, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.626440, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.626470,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:22.626498, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.626537, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.626564, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.626593, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.626680, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.626768, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.626816, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.626870, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.627114, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.627141, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.627170, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.627251, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.627333, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.627379, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.627431, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.627673, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.627699, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.627725, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.627751, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.627777, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.627802, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.627828, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.627854, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.627879, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.627910, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.627937, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.627963, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.627989, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.628020, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 14:30:22.628049,  5] smbd/files.c:140(file_new)
  allocated file structure 6525, fnum = 10621 (1 used)
[2014/08/28 14:30:22.628078, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.628107, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:22.628139, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.628169, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cca30
[2014/08/28 14:30:22.628198, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:22.628240, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4583, type= 0x0, gen_id = 1073264244, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.628270, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.628303, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:22.628329, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:22.628355,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.628381, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.628408, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.628444, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.628471, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.628521, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.628608, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.628691, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.628737, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.628791, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.629043, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.629070, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.629099, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.629181, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.629263, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.629309, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.629360, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.629604, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.629631, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.629657, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.629683, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.629709, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.629735, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.629761, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.629786, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.629812, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.629838, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.629864, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.629890, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.629916, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.629946, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.629974,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.631688,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.631715,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.631745, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.631787, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4583, type= 0x0, gen_id = 1073264244, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.631817,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10621, open name = .
[2014/08/28 14:30:22.632289, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:30:22.632320,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:30:22.632347,  3] smbd/process.c:1662(process_smb)
  Transaction 63 of length 88 (0 toread)
[2014/08/28 14:30:22.632373,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.632387,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17859
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=10621 (0x297D)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:22.632793, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:22.632827,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.632854,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.632881, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 14:30:22.632909, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 14:30:22.632935, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 7D 29 00 00                            ....}).. 
[2014/08/28 14:30:22.632970,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 14:30:22.632999,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 14:30:22.633031, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:30:22.633062, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cc9b0
[2014/08/28 14:30:22.633100, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 2
[2014/08/28 14:30:22.633128, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:30:22.633159, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 14:30:22.669100, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 36
[2014/08/28 14:30:22.669146,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x24
[2014/08/28 14:30:22.669175,  3] smbd/process.c:1662(process_smb)
  Transaction 64 of length 40 (0 toread)
[2014/08/28 14:30:22.669208,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.669224,  5] lib/util.c:342(show_msg)
  size=36
  smb_com=0xa4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17859
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.669372, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.669389,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcancel (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.669416,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:22.669442,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:22.669468,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:22.669512,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:22.669542,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/nttrans.c(83) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
[2014/08/28 14:30:22.669571,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.669585,  5] lib/util.c:342(show_msg)
  size=71
  smb_com=0xa0
  smb_rcls=32
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17859
  smt_wct=18
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=    0 (0x0)
  smb_bcc=0
[2014/08/28 14:30:22.669925, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.669947,  3] smbd/nttrans.c:1348(reply_ntcancel)
  reply_ntcancel: cancel called on mid = 17859.
[2014/08/28 14:30:22.670325, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.670358,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.670384,  3] smbd/process.c:1662(process_smb)
  Transaction 65 of length 45 (0 toread)
[2014/08/28 14:30:22.670410,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.670425,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17923
  smt_wct=3
  smb_vwv[ 0]=10621 (0x297D)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.670599, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.670614,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.670643,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:22.670669,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:22.671026,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:22.671260,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:22.671288,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10621
[2014/08/28 14:30:22.671319, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.671351, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddcb0
[2014/08/28 14:30:22.671377, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.671419, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4583, type= 0x0, gen_id = 1073264244, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.671447, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.671475, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.671508, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.671535, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.671568, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.671597, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022de220
[2014/08/28 14:30:22.671623, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.671655, 10] smbd/notify_inotify.c:358(watch_destructor)
  Deleting inotify watch 2
[2014/08/28 14:30:22.671686, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:30:22.671715, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cd860
[2014/08/28 14:30:22.671742, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:30:22.671773,  5] smbd/files.c:482(file_free)
  freed files structure 10621 (0 used)
[2014/08/28 14:30:22.671800,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.671815,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=17923
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.671957, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.671985, 10] smbd/notify_inotify.c:164(inotify_dispatch)
  inotify_dispatch called with mask=8000, name=[]
[2014/08/28 14:30:22.672017, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:30:22.672045,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:30:22.672072,  3] smbd/process.c:1662(process_smb)
  Transaction 66 of length 110 (0 toread)
[2014/08/28 14:30:22.672098,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.672112,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17986
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:30:22.672525, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:22.672583,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.672610,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.672638, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:30:22.672668,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.672696, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.672725,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.672752,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.672779, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.672809, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.672840,  5] smbd/files.c:140(file_new)
  allocated file structure 6526, fnum = 10622 (1 used)
[2014/08/28 14:30:22.672869, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.672896,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:22.672923, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.672951,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.672977, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.673004, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.673040, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.673067, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.673096, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.673183, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.673266, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.673312, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.673372, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.673615, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.673642, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.673668, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.673694, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.673719, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.673749, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.673776,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.675102,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.675129,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.675156,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:30:22.675183,  5] smbd/files.c:482(file_free)
  freed files structure 10622 (0 used)
[2014/08/28 14:30:22.675210, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.675236, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.675262,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.675289,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.675304,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=17986
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.675444, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.676350, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:30:22.676384,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:30:22.676411,  3] smbd/process.c:1662(process_smb)
  Transaction 67 of length 110 (0 toread)
[2014/08/28 14:30:22.676437,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.676452,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18050
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38656 (0x9700)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:30:22.676873, 10] ../lib/util/util.c:415(dump_data)
  [0000] FF 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:22.676930,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.676957,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.676984, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:30:22.677013,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.677040, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.677069,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.677096,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.677122, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.677158, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70197 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.677190,  5] smbd/files.c:140(file_new)
  allocated file structure 6527, fnum = 10623 (1 used)
[2014/08/28 14:30:22.677219, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.677245,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:22.677272, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70197 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.677300,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.677326, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.677352, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.677387, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.677413, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.677442, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.677527, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.677610, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.677656, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.677710, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.677952, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.677979, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.678005, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.678030, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.678056, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.678086, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.678113,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.679447,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.679474,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.679501,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:30:22.679528,  5] smbd/files.c:482(file_free)
  freed files structure 10623 (0 used)
[2014/08/28 14:30:22.679554, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.679580, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.679606,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.679633,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.679648,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18050
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.679789, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.680551, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:30:22.680584,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:30:22.680610,  3] smbd/process.c:1662(process_smb)
  Transaction 68 of length 110 (0 toread)
[2014/08/28 14:30:22.680636,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.680651,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18114
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=38400 (0x9600)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  512 (0x200)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:30:22.681052, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:22.681109,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.681136,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.681163, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:30:22.681192,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.681218, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.681247,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.681274,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.681300, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.681330, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x70196 file_attributes = 0x20, share_access = 0x0, create_disposition = 0x2 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:22.681360,  5] smbd/files.c:140(file_new)
  allocated file structure 6528, fnum = 10624 (1 used)
[2014/08/28 14:30:22.681389, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.681416,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:22.681442, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x70196 share_access=0x0 create_disposition = 0x2 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.681470,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.681496, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.681523, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.681558, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.681584, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.681614, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.681699, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.681788, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.681835, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.681889, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.682137, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.682164, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.682189, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.682215, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.682240, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.682270, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.682297,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.683628,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.683655,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.683681,  5] smbd/open.c:1760(open_file_ntcreate)
  open_file_ntcreate: FILE_CREATE requested for file version.h and file already exists.
[2014/08/28 14:30:22.683708,  5] smbd/files.c:482(file_free)
  freed files structure 10624 (0 used)
[2014/08/28 14:30:22.683735, 10] smbd/open.c:3492(create_file_unixpath)
  create_file_unixpath: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.683760, 10] smbd/open.c:3765(create_file_default)
  create_file: NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.683787,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/error.c(154) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_COLLISION
[2014/08/28 14:30:22.683814,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.683828,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0xa2
  smb_rcls=53
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18114
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.683969, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.684774, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:30:22.684807,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:30:22.684834,  3] smbd/process.c:1662(process_smb)
  Transaction 69 of length 100 (0 toread)
[2014/08/28 14:30:22.684860,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.684874,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18178
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:30:22.685177, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:30:22.685237,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.685263,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.685290,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:30:22.685318,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.685345, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.685373,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.685400,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.685430, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.685461, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.685487,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1004 call=5 total_data=0
[2014/08/28 14:30:22.685522,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1004 max_data=40
[2014/08/28 14:30:22.685549,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.685575, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.685601, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.685637, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.685663, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.685692, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.685777, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.685860, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.685906, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.685960, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.686223, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.686249, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.686276, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.686301, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.686327, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.686357, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.686384,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.687710,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.687738,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.687769, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 14:30:22.687795,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu May 15 15:54:41 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu May 15 15:54:41 2014
   change: Thu May 15 15:54:41 2014
   mode: 20
[2014/08/28 14:30:22.687894,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 14:30:22.687920,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 14:30:22.687945,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.687960,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18178
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 14:30:22.688206, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 20 00 00   00 00 00 00 00            op.. .. .....
[2014/08/28 14:30:22.688608, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 96
[2014/08/28 14:30:22.688640,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x60
[2014/08/28 14:30:22.688666,  3] smbd/process.c:1662(process_smb)
  Transaction 70 of length 100 (0 toread)
[2014/08/28 14:30:22.688692,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.688707,  5] lib/util.c:342(show_msg)
  size=96
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18242
  smt_wct=15
  smb_vwv[ 0]=   28 (0x1C)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   28 (0x1C)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=31
[2014/08/28 14:30:22.689016, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 ED 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00 00 00     .s.i.o.n ...h...
[2014/08/28 14:30:22.689076,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.689103,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.689129,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2014/08/28 14:30:22.689158,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.689186, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.689214,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.689241,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.689270, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:22.689300, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.689326,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = -1) level=1005 call=5 total_data=0
[2014/08/28 14:30:22.689353,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = -1) level=1005 max_data=24
[2014/08/28 14:30:22.689379,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:22.689405, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:22.689431, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:22.689469, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.689495, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.689525, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.689612, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.689694, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.689740, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.689794, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.690041, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.690068, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.690094, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.690119, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.690145, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.690174, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.690202,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.691513,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.691539,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.691569, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.691595,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.691621,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.691647,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.691665,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18242
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.691911, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 10   00 00 00 00 00 E3 30 00   ........ ......0.
  [0010] 00 00 00 00 00 01 00 00   00 00 00 00 00           ........ .....
[2014/08/28 14:30:22.693699, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:22.693734,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:22.693761,  3] smbd/process.c:1662(process_smb)
  Transaction 71 of length 90 (0 toread)
[2014/08/28 14:30:22.693787,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.693802,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18306
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:22.694194, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:22.694228,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.694255,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.694282, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:22.694311,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:22.694338,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:22.694363,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.694389,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.694415, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.694445, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.694476,  5] smbd/files.c:140(file_new)
  allocated file structure 6529, fnum = 10625 (1 used)
[2014/08/28 14:30:22.694505, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.694532,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:22.694558, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.694592,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.694620, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.694646, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.694683, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.694709, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.694739, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.694824, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.694907, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.694953, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.695007, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.695253, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.695280, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.695309, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.695391, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.695473, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.695519, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.695571, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.695814, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.695840, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.695872, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.695899, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.695924, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.695950, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.695976, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.696001, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.696027, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.696053, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.696079, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.696105, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.696130, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.696161, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.696189,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.697924,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.697951,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.697977, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:22.698010, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.698041, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022eb8b0
[2014/08/28 14:30:22.698068, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:22.698095, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.698133, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.698162, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307180
[2014/08/28 14:30:22.698189, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:30:22.698215,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:22.698245, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:22.698273, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.698300, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.698328, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.698361,  5] smbd/files.c:482(file_free)
  freed files structure 10625 (0 used)
[2014/08/28 14:30:22.698388,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:22.698422, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.698461, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.698488, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.698517, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.698603, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.698685, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.698732, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.698786, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.699032, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.699058, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.699088, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.699170, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.699252, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.699298, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.699351, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.699597, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.699624, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.699650, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.699680, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.699707, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.699733, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.699759, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.699785, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.699811, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.699837, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.699863, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.699889, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.699915, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.699946, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:22.699976,  5] smbd/files.c:140(file_new)
  allocated file structure 6530, fnum = 10626 (1 used)
[2014/08/28 14:30:22.700005, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.700033, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:22.700065, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.700095, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d8510
[2014/08/28 14:30:22.700123, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:22.700165, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4782, type= 0x0, gen_id = 1073264249, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.700194, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.700227, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:22.700253, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:22.700279,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.700305, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.700332, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.700369, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.700395, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.700424, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.700530, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.700614, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.700660, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.700721, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.700967, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.700994, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.701022, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.701105, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.701186, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.701233, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.701285, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.701528, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.701555, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.701581, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.701607, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.701632, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.701657, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.701683, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.701708, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.701733, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.701759, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.701785, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.701810, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.701842, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.701874, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.701901,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.703587,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.703614,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.703645, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.703686, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4782, type= 0x0, gen_id = 1073264249, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.703717,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10626, open name = .
[2014/08/28 14:30:22.704467, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.704560,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.704619,  3] smbd/process.c:1662(process_smb)
  Transaction 72 of length 76 (0 toread)
[2014/08/28 14:30:22.704660,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.704675,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18370
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.704973, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 82 29 ED 03                              ....).. 
[2014/08/28 14:30:22.705007,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.705034,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.705061,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.705093, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.705134, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4782, type= 0x0, gen_id = 1073264249, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.705161, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.705187,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10626) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.705214,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10626) level=1005 max_data=24
[2014/08/28 14:30:22.705246,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.705273, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.705299, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.705337, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.705363, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.705392, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.705478, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.705560, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.705606, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.705659, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.705900, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.705927, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.705956, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.706037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.706117, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.706163, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.706214, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.706453, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.706480, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.706511, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.706537, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.706562, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.706588, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.706613, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.706639, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.706664, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.706689, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.706715, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.706741, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.706766, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.706797, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.706824,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.708536,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.708563,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.708594, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.708621,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.708648,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.708674,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.708688,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18370
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.708938, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.709298, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.709329,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.709355,  3] smbd/process.c:1662(process_smb)
  Transaction 73 of length 76 (0 toread)
[2014/08/28 14:30:22.709381,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.709396,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18434
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.709704, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 82 29 ED 03                              ....).. 
[2014/08/28 14:30:22.709739,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.709766,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.709793,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.709825, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.709867, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4782, type= 0x0, gen_id = 1073264249, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.709894, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.709921,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10626) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.709948,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10626) level=1005 max_data=24
[2014/08/28 14:30:22.709974,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.710000, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.710027, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.710067, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.710096, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.710126, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.710212, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.710294, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.710340, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.710393, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.710635, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.710667, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.710697, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.710778, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.710859, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.710904, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.710956, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.711217, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.711244, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.711270, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.711296, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.711321, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.711347, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.711373, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.711398, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.711424, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.711449, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.711475, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.711501, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.711527, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.711558, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.711586,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.713503,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.713536,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.713579, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.713612,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.713644,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.713676,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.713694,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18434
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.713997, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.714635, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:22.714703,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:22.714762,  3] smbd/process.c:1662(process_smb)
  Transaction 74 of length 106 (0 toread)
[2014/08/28 14:30:22.714801,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.714819,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18498
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:22.715189, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:22.715282,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.715315,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.715351,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:22.715390,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.715424, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.715459,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.715491,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.715523,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:22.715556,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:22.715587,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.715619,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.715657,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:22.715689,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:22.715720,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:22.715763,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.715797,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.715832,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset -1
[2014/08/28 14:30:22.715865,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:22.715897, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:22.715929, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:22.715973, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.716005, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.716041, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.716146, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.716246, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.716303, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.716369, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.716689, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.716722, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.716753, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.716784, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.716815, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.716851, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.716884,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.718504,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.718537,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.718575, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.718607,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:22.718644, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:22.718676, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:22.718710,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:22.718742,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:22.718778,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:22.718810,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:22.718841,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.718859,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18498
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:22.719159, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:22.719399,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:22.719920, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.719987,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.720046,  3] smbd/process.c:1662(process_smb)
  Transaction 75 of length 45 (0 toread)
[2014/08/28 14:30:22.720085,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.720103,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=18562
  smt_wct=3
  smb_vwv[ 0]=10626 (0x2982)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.720317, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.720335,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.720368,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.720400,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10626
[2014/08/28 14:30:22.720437, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.720472, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:30:22.720511, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.720562, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4782, type= 0x0, gen_id = 1073264249, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.720596, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.720630, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.720670, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.720703, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.720737,  5] smbd/files.c:482(file_free)
  freed files structure 10626 (0 used)
[2014/08/28 14:30:22.720769,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.720787,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=18562
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.720960, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.721860, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:22.721928,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:22.721987,  3] smbd/process.c:1662(process_smb)
  Transaction 76 of length 90 (0 toread)
[2014/08/28 14:30:22.722028,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.722046,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18626
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:22.722539, 10] ../lib/util/util.c:415(dump_data)
  [0000] CB 00 00                                          ... 
[2014/08/28 14:30:22.722580,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.722613,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.722646, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:22.722681,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:22.722714,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:22.722745,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.722777,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.722809, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.722845, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:22.722882,  5] smbd/files.c:140(file_new)
  allocated file structure 6531, fnum = 10627 (1 used)
[2014/08/28 14:30:22.722917, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.722950,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:22.722982, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:22.723016,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.723048, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.723080, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.723126, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.723158, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.723194, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.723299, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.723399, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.723455, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.723521, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.723826, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.723858, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.723894, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.723993, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.724093, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.724149, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.724212, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.724540, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.724577, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.724612, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.724647, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.724681, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.724716, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.724750, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.724785, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.724819, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.724854, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.724889, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.724923, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.724958, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.724999, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.725036,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.727324,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.727360,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.727395, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:22.727438, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.727479, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ef880
[2014/08/28 14:30:22.727514, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:22.727550, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.727600, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.727639, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307180
[2014/08/28 14:30:22.727675, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file .
[2014/08/28 14:30:22.727711,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:22.727751, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 29. 
[2014/08/28 14:30:22.727788, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.727824, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.727861, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.727905,  5] smbd/files.c:482(file_free)
  freed files structure 10627 (0 used)
[2014/08/28 14:30:22.727941,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:22.727980, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.728031, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.728066, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.728106, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.728225, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.728337, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.728400, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.728473, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.728826, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.728862, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.728901, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.729011, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.729121, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.729183, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.729253, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.729589, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.729626, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.729661, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.729696, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.729730, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.729765, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.729800, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.729834, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.729869, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.729903, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.729939, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.729973, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.730008, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.730050, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:22.730090,  5] smbd/files.c:140(file_new)
  allocated file structure 6532, fnum = 10628 (1 used)
[2014/08/28 14:30:22.730130, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:22.730176, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 29. 
[2014/08/28 14:30:22.730221, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.730330, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d8510
[2014/08/28 14:30:22.730369, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:22.730426, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x48c2, type= 0x0, gen_id = 1073264251, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.730466, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.730511, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:22.730546, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:22.730582,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.730657, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.730693, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.730744, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.730780, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.730820, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.730979, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.731092, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.731155, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.731229, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.731585, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.731621, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.731660, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.731771, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.731881, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.731952, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.732023, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.732350, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.732387, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.732421, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.732456, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.732498, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.732535, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.732570, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.732604, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.732638, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.732673, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.732708, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.732743, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.732779, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.732821, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.732858,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.735158,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.735194,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.735237, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.735293, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x48c2, type= 0x0, gen_id = 1073264251, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.735334,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10628, open name = .
[2014/08/28 14:30:22.736104, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.736175,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.736233,  3] smbd/process.c:1662(process_smb)
  Transaction 77 of length 76 (0 toread)
[2014/08/28 14:30:22.736268,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.736288,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18690
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.736720, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 84 29 ED 03                              ....).. 
[2014/08/28 14:30:22.736768,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.736804,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.736841,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.736885, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.736940, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x48c2, type= 0x0, gen_id = 1073264251, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.736977, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.737013,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10628) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.737049,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10628) level=1005 max_data=24
[2014/08/28 14:30:22.737085,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.737121, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.737156, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.737209, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.737245, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.737285, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.737401, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.737513, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.737576, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.737649, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.737986, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.738022, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.738061, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.738171, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.738281, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.738342, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.738411, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.738735, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.738772, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.738807, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.738842, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.738876, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.738911, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.738946, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.738981, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.739015, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.739050, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.739086, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.739120, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.739155, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.739197, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.739234,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.741555,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.741592,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.741632, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.741668,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.741703,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.741738,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.741758,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18690
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.742098, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.742609, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:22.742677,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:22.742735,  3] smbd/process.c:1662(process_smb)
  Transaction 78 of length 76 (0 toread)
[2014/08/28 14:30:22.742769,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.742789,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18754
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:22.743193, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 84 29 ED 03                              ....).. 
[2014/08/28 14:30:22.743239,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.743275,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.743311,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:22.743355, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.743411, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x48c2, type= 0x0, gen_id = 1073264251, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.743448, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.743483,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10628) level=1005 call=7 total_data=0
[2014/08/28 14:30:22.743526,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10628) level=1005 max_data=24
[2014/08/28 14:30:22.743563,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:22.743597, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:22.743633, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:22.743683, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.743719, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.743758, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.743872, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.743983, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.744045, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.744117, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.744443, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:22.744479, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.744527, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.744638, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.744747, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.744809, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.744878, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:22.745202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.745245, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.745280, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.745315, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.745349, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.745384, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.745418, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.745452, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:22.745486, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.745521, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:22.745556, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:22.745590, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:22.745625, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:22.745665, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.745702,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:22.747984,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:22.748020,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:22.748059, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:22.748095,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:22.748130,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:22.748164,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.748184,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18754
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:22.748543, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:22.749103, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:22.749171,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:22.749230,  3] smbd/process.c:1662(process_smb)
  Transaction 79 of length 106 (0 toread)
[2014/08/28 14:30:22.749287,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.749301,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18818
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:22.749606, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:22.749683,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.749709,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.749737,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:22.749768,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:22.749795, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:22.749823,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.749850,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.749876,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:22.749902,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:22.749927,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:22.749953,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.749984,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:22.750009,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:22.750035,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:22.750065,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:22.750091,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:22.750120,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d0670 now at offset -1
[2014/08/28 14:30:22.750147,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:22.750173, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:22.750199, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:22.750235, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:22.750261, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.750290, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.750375, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:22.750457, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.750503, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:22.750561, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:22.750802, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.750828, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:22.750854, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:22.750879, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.750904, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:22.750933, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:22.750960,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:22.752270,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:22.752296,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:22.752327, 10] locking/locking.c:1026(fetch_share_mode_unlocked)
  fetch_share_mode_unlocked: no share_mode record around (file not open)
[2014/08/28 14:30:22.752353,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:22.752384, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:22.752410, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:22.752437,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:22.752463,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:22.752506,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:22.752534,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:22.752559,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.752574,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18818
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:22.752817, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:22.753007,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:22.753451, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:22.753518,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:22.753577,  3] smbd/process.c:1662(process_smb)
  Transaction 80 of length 45 (0 toread)
[2014/08/28 14:30:22.753633,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.753648,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=18882
  smt_wct=3
  smb_vwv[ 0]=10628 (0x2984)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:22.753821, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:22.753836,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:22.753863,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:22.753889,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10628
[2014/08/28 14:30:22.753919, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:22.753949, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022ddc50
[2014/08/28 14:30:22.753980, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:22.754022, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x48c2, type= 0x0, gen_id = 1073264251, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:22.754050, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:22.754078, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:22.754111, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:22.754138, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:22.754166,  5] smbd/files.c:482(file_free)
  freed files structure 10628 (0 used)
[2014/08/28 14:30:22.754192,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:22.754207,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=18882
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:22.754346, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:23.957269, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 14:30:23.957320,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 14:30:23.957347,  3] smbd/process.c:1662(process_smb)
  Transaction 81 of length 74 (0 toread)
[2014/08/28 14:30:23.957373,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.957388,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18946
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 14:30:23.957689, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 14:30:23.957726,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.957754,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.957784,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 14:30:23.957820,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 14:30:23.957857,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 14:30:23.957884,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 14:30:23.957910,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.957924,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=18946
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 14:30:23.958172, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 14:30:23.958248,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 14:30:23.959414, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 14:30:23.959445,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 14:30:23.959472,  3] smbd/process.c:1662(process_smb)
  Transaction 82 of length 74 (0 toread)
[2014/08/28 14:30:23.959498,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.959512,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19010
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 14:30:23.959816, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 14:30:23.959849,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.959876,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.959904,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 14:30:23.959932,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 14:30:23.959964,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 14:30:23.959990,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 14:30:23.960016,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.960031,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19010
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 14:30:23.960279, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 14:30:23.960341,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 14:30:23.960815, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 104
[2014/08/28 14:30:23.960846,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x68
[2014/08/28 14:30:23.960873,  3] smbd/process.c:1662(process_smb)
  Transaction 83 of length 108 (0 toread)
[2014/08/28 14:30:23.960899,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.960913,  5] lib/util.c:342(show_msg)
  size=104
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19074
  smt_wct=15
  smb_vwv[ 0]=   36 (0x24)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   36 (0x24)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    5 (0x5)
  smb_bcc=39
[2014/08/28 14:30:23.961215, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 EC 03 00 00 00   00 5C 00 76 00 65 00 72   ........ .\.v.e.r
  [0010] 00 73 00 69 00 6F 00 6E   00 20 00 28 00 32 00 29   .s.i.o.n . .(.2.)
  [0020] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:23.961299,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.961326,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.961353,  3] smbd/trans2.c:5117(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2014/08/28 14:30:23.961383,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version (2).h"
[2014/08/28 14:30:23.961412, 10] smbd/statcache.c:244(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [VERSION (2).H]
[2014/08/28 14:30:23.961439,  5] smbd/filename.c:416(unix_convert)
  unix_convert begin: name = version (2).h, dirpath = , start = version (2).h
[2014/08/28 14:30:23.961469, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 14:30:23.961494, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 14:30:23.961521, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 14:30:23.961546, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 14:30:23.961598, 10] smbd/mangle_hash2.c:418(is_mangled)
  is_mangled version (2).h ?
[2014/08/28 14:30:23.961626, 10] smbd/mangle_hash2.c:357(is_mangled_component)
  is_mangled_component version (2).h (len 13) ?
[2014/08/28 14:30:23.961652,  5] smbd/filename.c:781(unix_convert)
  New file version (2).h
[2014/08/28 14:30:23.961677,  8] lib/util.c:1320(is_in_path)
  is_in_path: version (2).h
[2014/08/28 14:30:23.961705,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:23.961732,  3] smbd/trans2.c:5236(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_STAT of version (2).h failed (No such file or directory)
[2014/08/28 14:30:23.961838,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/trans2.c(5238) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2014/08/28 14:30:23.961868,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.961882,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19074
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:23.962025, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:23.964823, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 106
[2014/08/28 14:30:23.964856,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x6a
[2014/08/28 14:30:23.964883,  3] smbd/process.c:1662(process_smb)
  Transaction 84 of length 110 (0 toread)
[2014/08/28 14:30:23.964909,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.964923,  5] lib/util.c:342(show_msg)
  size=106
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19138
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]= 5120 (0x1400)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=40704 (0x9F00)
  smb_vwv[ 8]= 1793 (0x701)
  smb_vwv[ 9]=58112 (0xE300)
  smb_vwv[10]=   48 (0x30)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]= 8192 (0x2000)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1280 (0x500)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=17408 (0x4400)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=23
[2014/08/28 14:30:23.965320, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 5C 00 76 00 65 00 72   00 73 00 69 00 6F 00 6E   .\.v.e.r .s.i.o.n
  [0010] 00 2E 00 68 00 00 00                              ...h... 
[2014/08/28 14:30:23.965376,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.965403,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.965440, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 root_dir_fid = 0x0, fname = version.h
[2014/08/28 14:30:23.965470,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:23.965498, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:23.965527,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:23.965554,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:23.965580, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:23.965611, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x7019f file_attributes = 0x20, share_access = 0x0, create_disposition = 0x5 create_options = 0x44 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = version.h
[2014/08/28 14:30:23.965643, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:23.965684, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.965710, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.965740, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.965827, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.965910, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.965956, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.966011, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.966256, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:23.966283, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.966312, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.966394, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.966475, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.966527, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.966579, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:23.966821, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:23.966848, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:23.966874, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:23.966900, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.966926, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:23.966952, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:23.966978, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:23.967003, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:23.967029, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.967055, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:23.967082, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:23.967108, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:23.967134, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:23.967165, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x40, access_granted 0x40 access ALLOWED
[2014/08/28 14:30:23.967193,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:23.968908,  5] smbd/files.c:140(file_new)
  allocated file structure 6533, fnum = 10629 (1 used)
[2014/08/28 14:30:23.968939, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/version.h hash 0xbb8326a3
[2014/08/28 14:30:23.968967,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:23.968994, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, dos_attrs=0x20 access_mask=0x7019f share_access=0x0 create_disposition = 0x5 create_options=0x44 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:23.969023,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:23.969048, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.969075, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.969117, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.969144, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.969173, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.969259, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.969341, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.969388, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.969443, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.969687, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.969714, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.969740, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.969765, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.969791, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.969821, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.969849,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.971177,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:23.971205,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:23.971232, 10] smbd/open.c:1292(open_match_attributes)
  open_match_attributes: old_dos_attr = 0x20, existing_unx_mode = 0100774, new_dos_attr = 0x20 returned_unx_mode = 00
[2014/08/28 14:30:23.971261, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=version.h, after mapping access_mask=0x7019f
[2014/08/28 14:30:23.971294, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:30:23.971330, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902306440
[2014/08/28 14:30:23.971357, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:94124f:0
[2014/08/28 14:30:23.971385, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:30:23.971423, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:30:23.971452, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902306440
[2014/08/28 14:30:23.971480, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x3 on file version.h
[2014/08/28 14:30:23.971507,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x2 flags2=0x240 mode=0744, access_mask = 0x7019f, open_access_mask = 0x7019f
[2014/08/28 14:30:23.971539, 10] smbd/open.c:231(fd_open)
  fd_open: name version.h, flags = 0102 mode = 0744, fd = 29. 
[2014/08/28 14:30:23.971567,  2] smbd/open.c:746(open_file)
  jsveiga opened file version.h read=Yes write=Yes (numopen=1)
[2014/08/28 14:30:23.971598, 10] smbd/close.c:226(delete_all_streams)
  delete_all_streams found 1 streams
[2014/08/28 14:30:23.971732,  3] smbd/oplock_linux.c:129(linux_set_kernel_oplock)
  linux_set_kernel_oplock: got kernel oplock on file version.h, file_id = 819:94124f:0 gen_id = 1073264252
[2014/08/28 14:30:23.971766,  5] smbd/oplock.c:92(set_file_oplock)
  set_file_oplock: granted oplock on file version.h, 819:94124f:0/1073264252, tv_sec = 53ff672f, tv_usec = ec8cb
[2014/08/28 14:30:23.971798, 10] smbd/dosmode.c:707(file_set_dosmode)
  file_set_dosmode: setting dos mode 0x20 on file version.h
[2014/08/28 14:30:23.971836,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:23.971863, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.971890, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.971925, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.971951, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.971988, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.972077, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.972159, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.972206, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.972261, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.972533, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.972561, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.972587, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.972613, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.972639, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.972670, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.972698,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.974029,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:23.974057,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:23.974083,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(version.h) returning 0744
[2014/08/28 14:30:23.974118, 10] modules/vfs_posixacl.c:91(posixacl_sys_acl_set_file)
  Calling acl_set_file: version.h, 0
[2014/08/28 14:30:23.974157, 10] modules/vfs_posixacl.c:110(posixacl_sys_acl_set_file)
  acl_set_file failed: Operation not permitted
[2014/08/28 14:30:23.974193, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu May 15 03:54:41 PM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:23.974238, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.974273, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:30:23.974308, 10] smbd/vfs.c:472(vfs_allocate_file_space)
  vfs_allocate_file_space: file version.h, len 1048576
[2014/08/28 14:30:23.974349, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=3
[2014/08/28 14:30:23.974375, 10] smbd/open.c:3756(create_file_default)
  create_file: info=3
[2014/08/28 14:30:23.974403,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:23.974429, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.974456, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.974491, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.974517, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.974547, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.974633, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.974716, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.974763, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.974818, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.975069, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.975096, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.975122, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.975147, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.975173, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.975203, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.975230,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.976557,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:23.976584,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:23.976622, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu May 15 03:54:41 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:23.976665, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.976698, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.976724, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.976759, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.976785, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.976814, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.976900, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.976983, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.977030, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.977084, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.977329, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.977356, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.977381, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.977407, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.977432, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.977463, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.977491,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.978813,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10629, open name = version.h
[2014/08/28 14:30:23.979174, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:23.979209,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:23.979236,  3] smbd/process.c:1662(process_smb)
  Transaction 85 of length 76 (0 toread)
[2014/08/28 14:30:23.979262,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.979276,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19202
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    8 (0x8)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:23.979581, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 85 29 EE 03                              ....).. 
[2014/08/28 14:30:23.979619,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.979646,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.979675,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2014/08/28 14:30:23.979710, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu May 15 03:54:41 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:23.979752, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.979780, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 14:30:23.979812,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 10629) level=1006 call=7 total_data=0
[2014/08/28 14:30:23.979840,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 10629) level=1006 max_data=8
[2014/08/28 14:30:23.979866,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:23.979893, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.979919, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.979957, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.979984, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.980014, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.980103, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.980185, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.980231, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.980285, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.980554, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.980584, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.980610, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.980636, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.980661, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.980701, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.980730,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.982070,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:23.982097,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:23.982130, 10] smbd/trans2.c:4621(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_INTERNAL_INFORMATION
[2014/08/28 14:30:23.982157,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 8, useable_space = 131010
[2014/08/28 14:30:23.982183,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 8, paramsize = 2, datasize = 8
[2014/08/28 14:30:23.982209,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.982224,  5] lib/util.c:342(show_msg)
  size=68
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19202
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    8 (0x8)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=13
[2014/08/28 14:30:23.982470, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 4F 12 94   00 00 00 00 00           .....O.. .....
[2014/08/28 14:30:23.983066, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 14:30:23.983098,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 14:30:23.983124,  3] smbd/process.c:1662(process_smb)
  Transaction 86 of length 74 (0 toread)
[2014/08/28 14:30:23.983149,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.983164,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19266
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 14:30:23.983474, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 14:30:23.983508,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.983534,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.983561,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 14:30:23.983590,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 14:30:23.983624,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 14:30:23.983651,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 14:30:23.983676,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.983691,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19266
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 14:30:23.983938, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 14:30:23.983998,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 14:30:23.984180, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:23.984210,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:23.984237,  3] smbd/process.c:1662(process_smb)
  Transaction 87 of length 76 (0 toread)
[2014/08/28 14:30:23.984262,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.984277,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19330
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   40 (0x28)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:23.984599, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 85 29 EC 03                              ....).. 
[2014/08/28 14:30:23.984634,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.984660,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.984687,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2014/08/28 14:30:23.984723, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu May 15 03:54:41 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:23.984766, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.984794, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 14:30:23.984821,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 10629) level=1004 call=7 total_data=0
[2014/08/28 14:30:23.984854,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 10629) level=1004 max_data=40
[2014/08/28 14:30:23.984882,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:23.984908, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.984934, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.984971, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.984998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.985027, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.985114, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.985196, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.985242, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.985296, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.985538, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.985564, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.985590, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.985616, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.985641, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.985671, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.985698,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.987023,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:23.987050,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:23.987081, 10] smbd/trans2.c:4458(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_BASIC_INFORMATION
[2014/08/28 14:30:23.987107,  5] smbd/trans2.c:4468(smbd_do_qfilepathinfo)
  SMB_QFBI - create: Thu May 15 15:54:41 2014
   access: Thu Aug 28 12:09:17 2014
   write: Thu May 15 15:54:41 2014
   change: Thu May 15 15:54:41 2014
   mode: 20
[2014/08/28 14:30:23.987192,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 40, useable_space = 131010
[2014/08/28 14:30:23.987218,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 40, paramsize = 2, datasize = 40
[2014/08/28 14:30:23.987244,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.987258,  5] lib/util.c:342(show_msg)
  size=100
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19330
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   40 (0x28)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=45
[2014/08/28 14:30:23.987504, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 20 00 00   00 00 00 00 00            op.. .. .....
[2014/08/28 14:30:23.987947, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:30:23.987978,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:30:23.988005,  3] smbd/process.c:1662(process_smb)
  Transaction 88 of length 88 (0 toread)
[2014/08/28 14:30:23.988030,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.988045,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19394
  smt_wct=15
  smb_vwv[ 0]=    6 (0x6)
  smb_vwv[ 1]=    8 (0x8)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    6 (0x6)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    8 (0x8)
  smb_vwv[12]=   76 (0x4C)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    8 (0x8)
  smb_bcc=19
[2014/08/28 14:30:23.988354, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 85 29 FC 03 00   00 00 00 E3 30 00 00 00   ....)... ....0...
  [0010] 00 00 00                                          ... 
[2014/08/28 14:30:23.988409,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.988436,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.988465,  3] smbd/trans2.c:8050(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) version.h (fnum 10629) info_level=1020 totdata=8
[2014/08/28 14:30:23.988504,  3] smbd/trans2.c:7627(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: version.h (fnum 10629) info_level=1020 totdata=8
[2014/08/28 14:30:23.988534, 10] smbd/trans2.c:6729(smb_set_file_end_of_file_info)
  smb_set_file_end_of_file_info: Set end of file info for file version.h to 12515
[2014/08/28 14:30:23.988566,  6] smbd/trans2.c:5622(smb_set_file_size)
  smb_set_file_size: size: 12515 smb_set_file_size: file version.h : setting new size to 12515
[2014/08/28 14:30:23.988598, 10] smbd/vfs.c:561(vfs_set_filelen)
  vfs_set_filelen: ftruncate version.h to len 12515
[2014/08/28 14:30:23.988667, 10] smbd/notify_internal.c:930(notify_trigger)
  notify_trigger called action=0x3, filter=0xc, path=/shared/swhw/version.h
[2014/08/28 14:30:23.988700,  5] smbd/fileio.c:267(trigger_write_time_update_immediate)
  Update write time immediate on version.h
[2014/08/28 14:30:23.988728,  5] locking/locking.c:1710(set_write_time)
  set_write_time: Thu Aug 28 02:30:24 PM 2014 BRT id=819:94124f:0
[2014/08/28 14:30:23.988765, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:30:23.988796, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cc9b0
[2014/08/28 14:30:23.988823, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu May 15 03:54:41 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:23.988865, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.988894, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:23.988933, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.988963, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:30:23.988997,  5] smbd/trans2.c:5492(smb_set_file_time)
  smb_set_filetime: actime: Wed Dec 31 21:00:00 1969
  
   smb_set_filetime: modtime: Thu Aug 28 14:30:24 2014
  
   smb_set_filetime: ctime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: createtime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: setting utimes to modified values.
[2014/08/28 14:30:23.989120,  6] smbd/dosmode.c:953(file_ntimes)
  file_ntime: actime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:23.989150,  6] smbd/dosmode.c:955(file_ntimes)
  file_ntime: modtime: Thu Aug 28 14:30:24 2014
[2014/08/28 14:30:23.989179,  6] smbd/dosmode.c:957(file_ntimes)
  file_ntime: ctime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:23.989208,  6] smbd/dosmode.c:959(file_ntimes)
  file_ntime: createtime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:23.989242, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.989275, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.989313, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.989340, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.989370, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.989456, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.989539, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.989585, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.989639, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.989882, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.989909, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.989935, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.989960, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.989986, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.990015, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.990043,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.991370,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:23.991402,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:23.991429,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:23.991454,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:23.991480,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:23.991534,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:23.991574, 10] smbd/notify_internal.c:930(notify_trigger)
  notify_trigger called action=0x3, filter=0x0, path=/shared/swhw/version.h
[2014/08/28 14:30:23.991603,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 0, useable_space = 131012
[2014/08/28 14:30:23.991630,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 0, paramsize = 2, datasize = 0
[2014/08/28 14:30:23.991655,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.991670,  5] lib/util.c:342(show_msg)
  size=58
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19394
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:23.991917, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:23.992250, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 70
[2014/08/28 14:30:23.992283,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x46
[2014/08/28 14:30:23.992310,  3] smbd/process.c:1662(process_smb)
  Transaction 89 of length 74 (0 toread)
[2014/08/28 14:30:23.992335,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.992350,  5] lib/util.c:342(show_msg)
  size=70
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19458
  smt_wct=15
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=  560 (0x230)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    2 (0x2)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    3 (0x3)
  smb_bcc=5
[2014/08/28 14:30:23.992680, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 05 01                                    ..... 
[2014/08/28 14:30:23.992715,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.992742,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.992770,  3] smbd/trans2.c:3513(call_trans2qfsinfo)
  call_trans2qfsinfo: level = 261
[2014/08/28 14:30:23.992799,  3] smbd/trans2.c:2951(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 261
[2014/08/28 14:30:23.992833,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 0, data_sent_thistime = 20, useable_space = 131012
[2014/08/28 14:30:23.992859,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 0, data_to_send = 20, paramsize = 0, datasize = 20
[2014/08/28 14:30:23.992885,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.992900,  5] lib/util.c:342(show_msg)
  size=76
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19458
  smt_wct=10
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=   20 (0x14)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   20 (0x14)
  smb_vwv[ 7]=   56 (0x38)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=21
[2014/08/28 14:30:23.993147, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 2F 00 01 00 FF 00 00   00 08 00 00 00 4E 00 54   ./...... .....N.T
  [0010] 00 46 00 53 00                                    .F.S. 
[2014/08/28 14:30:23.993209,  4] smbd/trans2.c:3529(call_trans2qfsinfo)
  SMBtrans2 info_level = 261
[2014/08/28 14:30:23.993634, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 12579
[2014/08/28 14:30:23.993694,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x3123
[2014/08/28 14:30:23.993722,  3] smbd/process.c:1662(process_smb)
  Transaction 90 of length 12583 (0 toread)
[2014/08/28 14:30:23.993748,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.993763,  5] lib/util.c:342(show_msg)
  size=12579
  smb_com=0x2f
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=19522
  smt_wct=14
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=10629 (0x2985)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=65535 (0xFFFF)
  smb_vwv[ 6]=65535 (0xFFFF)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=12515 (0x30E3)
  smb_vwv[11]=   64 (0x40)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_bcc=12516
[2014/08/28 14:30:23.994057, 10] ../lib/util/util.c:415(dump_data)
  [0000] EE 23 69 66 6E 64 65 66   20 56 45 52 53 49 4F 4E   .#ifndef  VERSION
  [0010] 5F 48 0D 0A 23 64 65 66   69 6E 65 20 56 45 52 53   _H..#def ine VERS
  [0020] 49 4F 4E 5F 48 0D 0A 0D   0A 23 64 65 66 69 6E 65   ION_H... .#define
  [0030] 20 56 45 52 53 49 4F 4E   20 22 30 36 2E 30 36 2E    VERSION  "06.06.
  [0040] 34 35 22 0D 0A 0D 0A 2F   2F 20 30 36 2E 30 30 2E   45"..../ / 06.00.
  [0050] 30 30 20 42 65 74 61 0D   0A 2F 2F 20 30 36 2E 30   00 Beta. .// 06.0
  [0060] 30 2E 30 31 20 53 6F 72   74 20 70 75 72 63 68 20   0.01 Sor t purch 
  [0070] 72 65 71 20 62 79 20 69   64 20 64 65 73 63 0D 0A   req by i d desc..
  [0080] 2F 2F 20 20 20 20 20 20   20 20 20 20 52 65 63 75   //           Recu
  [0090] 72 73 69 76 65 20 22 43   6F 64 65 20 6E 6F 74 20   rsive "C ode not 
  [00A0] 69 6E 20 64 61 74 61 62   61 73 65 22 0D 0A 2F 2F   in datab ase"..//
  [00B0] 20 30 36 2E 30 30 2E 30   32 20 43 6F 73 74 73 20    06.00.0 2 Costs 
  [00C0] 63 61 6C 63 0D 0A 2F 2F   20 30 36 2E 30 30 2E 30   calc..//  06.00.0
  [00D0] 33 20 74 78 61 64 6D 69   6E 0D 0A 2F 2F 20 30 36   3 txadmi n..// 06
  [00E0] 2E 30 30 2E 30 34 20 69   6D 70 6F 72 74 20 63 6F   .00.04 i mport co
  [00F0] 73 74 73 0D 0A 2F 2F 20   30 36 2E 30 30 2E 30 35   sts..//  06.00.05
  [0100] 20 52 65 61 64 2F 65 78   65 63 75 74 65 20 42 31    Read/ex ecute B1
  [0110] 20 66 6F 72 6D 75 6C 61   73 0D 0A 2F 2F 20 20 20    formula s..//   
  [0120] 20 20 20 20 20 20 20 43   61 6C 63 20 63 6F 73 74          C alc cost
  [0130] 73 20 62 61 73 65 64 20   6F 6E 20 42 31 20 66 6F   s based  on B1 fo
  [0140] 72 6D 75 6C 61 73 0D 0A   2F 2F 20 30 36 2E 30 30   rmulas.. // 06.00
  [0150] 2E 30 36 20 42 65 74 61   20 31 0D 0A 2F 2F 20 20   .06 Beta  1..//  
  [0160] 20 20 20 20 20 20 20 20   53 74 72 75 63 74 0D 0A            Struct..
  [0170] 2F 2F 20 20 20 20 20 20   20 20 20 20 43 61 6C 63   //           Calc
  [0180] 20 73 61 6C 65 20 70 72   69 63 65 0D 0A 2F 2F 20    sale pr ice..// 
  [0190] 20 20 20 20 20 20 20 20   20 44 65 74 61 69 6C 73             Details
  [01A0] 0D 0A 2F 2F 20 30 36 2E   30 30 2E 30 37 20 42 65   ..// 06. 00.07 Be
  [01B0] 74 61 20 32 0D 0A 2F 2F   20 20 20 20 20 20 20 20   ta 2..//         
  [01C0] 20 20 53 61 76 65 20 63   61 6C 63 20 70 61 72 6D     Save c alc parm
  [01D0] 73 0D 0A 2F 2F 20 30 36   2E 30 30 2E 30 38 20 42   s..// 06 .00.08 B
  [01E0] 65 74 61 20 33 0D 0A 2F   2F 20 20 20 20 20 20 20   eta 3../ /       
  [01F0] 20 20 20 43 C3 A1 6C 63   75 6C 6F 20 6D 61 72 67      C..lc ulo marg
[2014/08/28 14:30:23.994764,  3] smbd/process.c:1467(switch_message)
  switch message SMBwriteX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.994791,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.994820, 10] locking/locking.c:121(strict_lock_default)
  is_locked: optimisation - exclusive oplock on file version.h
[2014/08/28 14:30:23.994846, 10] locking/locking.c:163(strict_lock_default)
  strict_lock_default: flavour = WINDOWS_LOCK brl start=0 len=12515 unlocked for fnum 10629 file version.h
[2014/08/28 14:30:23.994880,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:23.994907, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.994934, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.994971, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.994998, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.995028, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.995117, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.995199, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.995245, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.995299, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.995548, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.995575, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.995602, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.995627, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.995653, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.995683, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.995710,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:23.997058,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:23.997085,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:23.997136, 10] smbd/fileio.c:143(real_write_file)
  real_write_file (version.h): pos = 0, size = 12515, returned 12515
[2014/08/28 14:30:23.997169,  3] smbd/reply.c:4636(reply_write_and_X)
  writeX fnum=10629 num=12515 wrote=12515
[2014/08/28 14:30:23.997512, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 116
[2014/08/28 14:30:23.997545,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x74
[2014/08/28 14:30:23.997572,  3] smbd/process.c:1662(process_smb)
  Transaction 91 of length 120 (0 toread)
[2014/08/28 14:30:23.997608,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:23.997623,  5] lib/util.c:342(show_msg)
  size=116
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19586
  smt_wct=15
  smb_vwv[ 0]=    6 (0x6)
  smb_vwv[ 1]=   40 (0x28)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    6 (0x6)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=   40 (0x28)
  smb_vwv[12]=   76 (0x4C)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    8 (0x8)
  smb_bcc=51
[2014/08/28 14:30:23.997920, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 85 29 EC 03 00   00 00 00 00 00 00 00 00   ....)... ........
  [0010] 00 00 00 00 00 00 00 00   00 00 00 E7 F8 CD 20 6F   ........ ...... o
  [0020] 70 CF 01 E7 F8 CD 20 6F   70 CF 01 00 00 00 00 00   p..... o p.......
  [0030] 00 00 00                                          ... 
[2014/08/28 14:30:23.998018,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:23.998045,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:23.998075,  3] smbd/trans2.c:8050(call_trans2setfilepathinfo)
  call_trans2setfilepathinfo(8) version.h (fnum 10629) info_level=1004 totdata=40
[2014/08/28 14:30:23.998103,  3] smbd/trans2.c:7627(smbd_do_setfilepathinfo)
  smbd_do_setfilepathinfo: version.h (fnum 10629) info_level=1004 totdata=40
[2014/08/28 14:30:23.998130,  6] smbd/trans2.c:5574(smb_set_file_dosmode)
  smb_set_file_dosmode: dosmode: 0x0
[2014/08/28 14:30:23.998156, 10] smbd/trans2.c:6544(smb_set_file_basic_info)
  smb_set_file_basic_info: file version.h
[2014/08/28 14:30:23.998182,  5] smbd/trans2.c:5492(smb_set_file_time)
  smb_set_filetime: actime: Wed Dec 31 21:00:00 1969
  
   smb_set_filetime: modtime: Thu May 15 15:54:41 2014
  
   smb_set_filetime: ctime: Thu May 15 15:54:41 2014
  
   smb_set_file_time: createtime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: setting pending modtime to Thu May 15 15:54:41 2014
  
[2014/08/28 14:30:23.998319,  5] locking/locking.c:1687(set_sticky_write_time)
  set_sticky_write_time: Thu May 15 03:54:41 PM 2014 BRT id=819:94124f:0
[2014/08/28 14:30:23.998357, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:30:23.998389, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022cc9b0
[2014/08/28 14:30:23.998416, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:23.998458, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.998486, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num: 1
[2014/08/28 14:30:23.998526, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:23.998555, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:30:23.998588, 10] smbd/trans2.c:5528(smb_set_file_time)
  smb_set_file_time: setting utimes to modified values.
[2014/08/28 14:30:23.998614,  6] smbd/dosmode.c:953(file_ntimes)
  file_ntime: actime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:23.998643,  6] smbd/dosmode.c:955(file_ntimes)
  file_ntime: modtime: Thu May 15 15:54:41 2014
[2014/08/28 14:30:23.998675,  6] smbd/dosmode.c:957(file_ntimes)
  file_ntime: ctime: Thu May 15 15:54:41 2014
[2014/08/28 14:30:23.998704,  6] smbd/dosmode.c:959(file_ntimes)
  file_ntime: createtime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:23.998737, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:23.998763, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:23.998799, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:23.998826, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.998855, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.998941, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:23.999047, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.999094, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:23.999149, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:23.999393, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.999420, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:23.999445, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:23.999471, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.999497, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:23.999526, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:23.999553,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:24.000894,  4] smbd/sec_ctx.c:214(push_sec_ctx)
  push_sec_ctx(1000, 100) : sec_ctx_stack_ndx = 1
[2014/08/28 14:30:24.000926,  4] smbd/uid.c:460(push_conn_ctx)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2014/08/28 14:30:24.000952,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2014/08/28 14:30:24.000978,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:24.001003,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:24.001055,  4] smbd/sec_ctx.c:422(pop_sec_ctx)
  pop_sec_ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:24.001097, 10] smbd/notify_internal.c:930(notify_trigger)
  notify_trigger called action=0x3, filter=0x10, path=/shared/swhw/version.h
[2014/08/28 14:30:24.001127,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 0, useable_space = 131012
[2014/08/28 14:30:24.001153,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 0, paramsize = 2, datasize = 0
[2014/08/28 14:30:24.001179,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.001194,  5] lib/util.c:342(show_msg)
  size=58
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19586
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:24.001441, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:24.001731, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:24.001763,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:24.001790,  3] smbd/process.c:1662(process_smb)
  Transaction 92 of length 76 (0 toread)
[2014/08/28 14:30:24.001816,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.001831,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19650
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   56 (0x38)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:24.002138, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 85 29 0A 04                              ....).. 
[2014/08/28 14:30:24.002173,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.002200,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.002228,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1034
[2014/08/28 14:30:24.002261, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.002302, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:24.002330, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 14:30:24.002356,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 10629) level=1034 call=7 total_data=0
[2014/08/28 14:30:24.002384,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 10629) level=1034 max_data=56
[2014/08/28 14:30:24.002411,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:24.002437, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:24.002463, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:24.002499, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.002525, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.002555, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.002641, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.002723, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.002770, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.002824, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.003067, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.003099, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.003125, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.003151, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.003177, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.003206, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.003233,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:24.004562,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:24.004590,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:24.004621, 10] smbd/trans2.c:4720(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_NETWORK_OPEN_INFORMATION
[2014/08/28 14:30:24.004648,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 56, useable_space = 131010
[2014/08/28 14:30:24.004674,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 56, paramsize = 2, datasize = 56
[2014/08/28 14:30:24.004700,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.004714,  5] lib/util.c:342(show_msg)
  size=116
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19650
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   56 (0x38)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   56 (0x38)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=61
[2014/08/28 14:30:24.004978, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 00 00 10   00 00 00 00 00 E3 30 00    op..... ......0.
  [0030] 00 00 00 00 00 20 00 00   00 00 00 00 00           ..... .. .....
[2014/08/28 14:30:24.005504, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:24.005535,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:24.005562,  3] smbd/process.c:1662(process_smb)
  Transaction 93 of length 76 (0 toread)
[2014/08/28 14:30:24.005587,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.005602,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19714
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   56 (0x38)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:24.005903, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 85 29 0A 04                              ....).. 
[2014/08/28 14:30:24.005937,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.005964,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.005994,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1034
[2014/08/28 14:30:24.006028, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.006069, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:24.006096, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 14:30:24.006122,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo version.h (fnum = 10629) level=1034 call=7 total_data=0
[2014/08/28 14:30:24.006150,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: version.h (fnum = 10629) level=1034 max_data=56
[2014/08/28 14:30:24.006176,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: version.h
[2014/08/28 14:30:24.006203, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file version.h
[2014/08/28 14:30:24.006229, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file version.h
[2014/08/28 14:30:24.006268, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.006294, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.006324, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.006417, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.006500, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.006546, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.006600, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.006842, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.006868, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.006894, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.006919, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.006945, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.006975, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.007003,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:24.008335,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:24.008362,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:24.008393, 10] smbd/trans2.c:4720(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_NETWORK_OPEN_INFORMATION
[2014/08/28 14:30:24.008420,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 56, useable_space = 131010
[2014/08/28 14:30:24.008446,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 56, paramsize = 2, datasize = 56
[2014/08/28 14:30:24.008472,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.008510,  5] lib/util.c:342(show_msg)
  size=116
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19714
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   56 (0x38)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   56 (0x38)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=61
[2014/08/28 14:30:24.008762, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0010] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0020] 20 6F 70 CF 01 00 00 10   00 00 00 00 00 E3 30 00    op..... ......0.
  [0030] 00 00 00 00 00 20 00 00   00 00 00 00 00           ..... .. .....
[2014/08/28 14:30:24.010080, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:24.010112,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:24.010139,  3] smbd/process.c:1662(process_smb)
  Transaction 94 of length 90 (0 toread)
[2014/08/28 14:30:24.010165,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.010180,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19778
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 4096 (0x1000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=  256 (0x100)
  smb_vwv[ 8]= 4096 (0x1000)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=  256 (0x100)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:24.010580, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:24.010613,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.010640,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.010668, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x10, access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:24.010697,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:24.010731,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:24.010757,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:24.010784,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.010810, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.010840, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x100001 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.010869,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x100001, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:24.010898, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.010937, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.010964, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.010993, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.011079, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.011161, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.011208, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.011262, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.011507, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.011534, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.011563, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.011645, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.011727, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.011773, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.011831, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.012073, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.012100, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.012125, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.012151, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.012176, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.012202, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.012228, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.012254, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.012280, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.012305, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.012331, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.012357, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.012383, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.012414, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x100001 returning 0x100001 (NT_STATUS_OK)
[2014/08/28 14:30:24.012444,  5] smbd/files.c:140(file_new)
  allocated file structure 6534, fnum = 10630 (2 used)
[2014/08/28 14:30:24.012474, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:24.012515, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 32. 
[2014/08/28 14:30:24.012548, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.012579, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d5db0
[2014/08/28 14:30:24.012607, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 1
[2014/08/28 14:30:24.012649, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.012679, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.012712, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:24.012739, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:24.012765,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.012791, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.012826, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.012864, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.012891, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.012921, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.013006, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.013089, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.013136, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.013190, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.013436, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.013463, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.013491, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.013574, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.013655, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.013701, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.013754, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.013998, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.014026, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.014052, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.014084, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.014111, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.014137, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.014163, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.014189, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.014214, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.014240, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.014266, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.014293, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.014319, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.014350, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.014378,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.016084,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.016112,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.016143, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.016184, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.016215,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10630, open name = .
[2014/08/28 14:30:24.016519, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 84
[2014/08/28 14:30:24.016552,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x54
[2014/08/28 14:30:24.016578,  3] smbd/process.c:1662(process_smb)
  Transaction 95 of length 88 (0 toread)
[2014/08/28 14:30:24.016604,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.016619,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19842
  smt_wct=23
  smb_vwv[ 0]=    0 (0x0)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]= 8192 (0x2000)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=21504 (0x5400)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]=    0 (0x0)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]= 1024 (0x400)
  smb_vwv[18]=    4 (0x4)
  smb_vwv[19]=   23 (0x17)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=10630 (0x2986)
  smb_vwv[22]=    0 (0x0)
  smb_bcc=3
[2014/08/28 14:30:24.017005, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:24.017045,  3] smbd/process.c:1467(switch_message)
  switch message SMBnttrans (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.017073,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.017099, 10] smbd/nttrans.c:3125(reply_nttrans)
  num_setup=8, param_total=0, this_param=0, max_param=32, data_total=0, this_data=0, max_data=0, param_offset=84, data_offset=0
[2014/08/28 14:30:24.017127, 10] smbd/nttrans.c:3197(reply_nttrans)
  reply_nttrans: state->setup_count = 8
[2014/08/28 14:30:24.017152, 10] ../lib/util/util.c:415(dump_data)
  [0000] 17 00 00 00 86 29 00 00                            .....).. 
[2014/08/28 14:30:24.017187,  3] smbd/nttrans.c:1715(call_nt_transact_notify_change)
  call_nt_transact_notify_change
[2014/08/28 14:30:24.017215,  3] smbd/nttrans.c:1732(call_nt_transact_notify_change)
  call_nt_transact_notify_change: notify change called on ., filter = FILE_NAME|DIR_NAME|ATTRIBUTES|LAST_WRITE, recursive = 0
[2014/08/28 14:30:24.017248, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 6E6F7469667920617272
[2014/08/28 14:30:24.017279, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023074c0
[2014/08/28 14:30:24.017317, 10] smbd/notify_inotify.c:416(inotify_watch)
  inotify_add_watch for /shared/swhw mask 210003c6 returned wd 3
[2014/08/28 14:30:24.017345, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 6E6F7469667920617272
[2014/08/28 14:30:24.017376, 10] smbd/notify.c:228(change_notify_add_request)
  change_notify_add_request: Adding request for .: max_param = 32
[2014/08/28 14:30:24.071632, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:24.071677,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:24.071704,  3] smbd/process.c:1662(process_smb)
  Transaction 96 of length 90 (0 toread)
[2014/08/28 14:30:24.071730,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.071745,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19907
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:24.072145, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:24.072180,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.072208,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.072238, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:24.072268,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:24.072297,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:24.072322,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:24.072349,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.072376, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.072413, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.072445,  5] smbd/files.c:140(file_new)
  allocated file structure 6535, fnum = 10631 (3 used)
[2014/08/28 14:30:24.072475, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:24.072544,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:24.072571, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:24.072600,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.072626, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.072652, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.072694, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.072721, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.072751, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.072840, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.072923, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.072969, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.073024, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.073276, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.073304, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.073334, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.073415, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.073508, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.073555, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.073613, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.073858, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.073885, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.073912, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.073938, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.073964, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.073990, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.074016, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.074041, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.074067, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.074093, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.074120, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.074147, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.074173, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.074206, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.074234,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.075947,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.075975,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.076002, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:24.076035, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.076067, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305050
[2014/08/28 14:30:24.076093, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:24.076121, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.076159, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.076189, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023055a0
[2014/08/28 14:30:24.076215, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.076262, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.076291, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.076317, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.076344, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.076369, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:24.076395, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.076420, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.076446, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.076471, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:24.076508, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.076534, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.076560, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.076586, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:24.076611, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.076637, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.076662, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.076688, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.076714, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 14:30:24.076740,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:24.076770, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 34. 
[2014/08/28 14:30:24.076797, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:24.076824, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:24.076852, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.076886,  5] smbd/files.c:482(file_free)
  freed files structure 10631 (2 used)
[2014/08/28 14:30:24.076913,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:24.076942, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.076980, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.077007, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.077036, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.077122, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.077211, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.077258, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.077314, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.077561, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.077588, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.077617, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.077699, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.077781, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.077828, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.077880, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.078126, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.078154, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.078180, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.078206, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.078231, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.078257, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.078283, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.078309, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.078335, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.078367, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.078393, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.078419, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.078445, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.078476, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:24.078506,  5] smbd/files.c:140(file_new)
  allocated file structure 6536, fnum = 10632 (3 used)
[2014/08/28 14:30:24.078536, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:24.078565, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 34. 
[2014/08/28 14:30:24.078597, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.078627, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305120
[2014/08/28 14:30:24.078653, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.078694, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.078722, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.078749, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.078775, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.078801, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:24.078827, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.078853, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.078879, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.078904, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:24.078930, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.078956, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.078982, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.079008, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:24.079034, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.079059, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.079085, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.079111, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.079138, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 2
[2014/08/28 14:30:24.079179, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.079219, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.079249, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.079283, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:24.079309, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:24.079336,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.079363, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.079389, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.079427, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.079454, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.079483, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.079569, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.079651, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.079698, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.079753, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.079998, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.080025, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.080054, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.080136, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.080217, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.080264, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.080317, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.080591, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.080619, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.080645, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.080671, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.080697, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.080724, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.080749, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.080775, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.080802, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.080827, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.080854, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.080880, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.080907, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.080938, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.080966,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.082680,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.082707,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.082739, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:24.082780, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.082815, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.082846,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10632, open name = .
[2014/08/28 14:30:24.083478, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:24.083516,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:24.083543,  3] smbd/process.c:1662(process_smb)
  Transaction 97 of length 90 (0 toread)
[2014/08/28 14:30:24.083569,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.083583,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=19971
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:24.083983, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:24.084018,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.084045,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.084073, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:24.084102,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:24.084130,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:24.084155,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:24.084182,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.084209, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.084239, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.084270,  5] smbd/files.c:140(file_new)
  allocated file structure 6537, fnum = 10633 (4 used)
[2014/08/28 14:30:24.084299, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:24.084326,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:24.084352, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:24.084381,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.084407, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.084434, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.084474, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.084518, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.084549, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.084642, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.084726, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.084773, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.084828, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.085073, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.085099, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.085129, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.085211, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.085292, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.085338, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.085390, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.085631, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.085659, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.085685, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.085710, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.085736, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.085762, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.085787, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.085813, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.085845, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.085872, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.085898, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.085924, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.085950, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.085982, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.086010,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.087713,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.087741,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.087767, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:24.087800, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.087830, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d8820
[2014/08/28 14:30:24.087857, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:24.087884, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.087922, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.087951, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305120
[2014/08/28 14:30:24.087977, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:24.088019, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.088053, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.088081, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.088107, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.088138, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.088164, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:24.088189, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.088215, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.088241, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.088266, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:24.088298, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.088324, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.088349, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.088375, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:24.088401, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.088426, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.088452, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.088478, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.088510, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.088536, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.088562, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.088588, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.088613, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.088639, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.088665, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.088690, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.088716, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.088741, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.088767, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.088793, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.088818, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.088844, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.088869, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.088895, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 14:30:24.088921,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:24.088951, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 35. 
[2014/08/28 14:30:24.088978, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:24.089005, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:24.089034, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.089068,  5] smbd/files.c:482(file_free)
  freed files structure 10633 (3 used)
[2014/08/28 14:30:24.089094,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:24.089123, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.089162, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.089193, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.089223, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.089310, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.089393, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.089439, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.089495, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.089741, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.089766, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.089796, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.089878, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.089960, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.090006, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.090058, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.090320, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.090348, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.090374, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.090400, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.090426, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.090452, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.090484, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.090510, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.090536, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.090562, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.090589, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.090615, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.090641, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.090672, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:24.090702,  5] smbd/files.c:140(file_new)
  allocated file structure 6538, fnum = 10634 (4 used)
[2014/08/28 14:30:24.090732, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:24.090761, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 35. 
[2014/08/28 14:30:24.090794, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.090825, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023062c0
[2014/08/28 14:30:24.090851, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 2
[2014/08/28 14:30:24.090893, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.090927, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.090955, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.090981, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.091008, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.091034, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:24.091060, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.091086, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.091112, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.091138, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:24.091164, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.091190, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.091216, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.091241, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:24.091267, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.091299, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.091325, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.091351, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.091376, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x81, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.091402, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.091428, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.091453, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.091479, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.091505, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.091530, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.091556, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.091582, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.091607, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.091633, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.091659, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.091685, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.091711, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.091736, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.091763, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 14:30:24.091804, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.091838, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.091872, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x0, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.091906, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.091940, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:24.091966, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:24.091992,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.092019, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.092045, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.092083, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.092109, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.092145, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.092232, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.092315, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.092362, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.092421, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.092686, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.092714, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.092743, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.092826, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.092908, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.092955, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.093007, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.093253, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.093280, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.093306, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.093333, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.093359, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.093385, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.093418, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.093444, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.093470, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.093495, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.093521, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.093548, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.093573, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.093605, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.093632,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.095342,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.095370,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.095401, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.095443, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.095477, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.095511, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x0, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.095541,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10634, open name = .
[2014/08/28 14:30:24.095957, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:24.095989,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:24.096016,  3] smbd/process.c:1662(process_smb)
  Transaction 98 of length 76 (0 toread)
[2014/08/28 14:30:24.096042,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.096057,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20035
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:24.096360, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 88 29 ED 03                              ....).. 
[2014/08/28 14:30:24.096402,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.096429,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.096456,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:24.096500, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.096543, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.096577, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.096613, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x0, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.096641, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.096667,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10632) level=1005 call=7 total_data=0
[2014/08/28 14:30:24.096694,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10632) level=1005 max_data=24
[2014/08/28 14:30:24.096720,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.096746, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.096772, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.096811, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.096838, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.096868, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.096955, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.097038, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.097085, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.097140, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.097390, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.097418, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.097447, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.097529, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.097611, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.097658, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.097710, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.097954, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.097981, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.098007, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.098033, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.098059, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.098085, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.098111, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.098136, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.098162, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.098188, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.098214, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.098240, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.098265, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.098297, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.098324,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.100029,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.100061,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.100091, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:24.100118,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:24.100144,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:24.100170,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.100184,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20035
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:24.100432, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:24.100514, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:24.100545,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:24.100571,  3] smbd/process.c:1662(process_smb)
  Transaction 99 of length 76 (0 toread)
[2014/08/28 14:30:24.100600,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.100615,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20097
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:24.100916, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 8A 29 ED 03                              ....).. 
[2014/08/28 14:30:24.100951,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.100977,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.101005,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:24.101037, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.101078, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.101112, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.101146, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x0, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.101173, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.101205,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10634) level=1005 call=7 total_data=0
[2014/08/28 14:30:24.101233,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10634) level=1005 max_data=24
[2014/08/28 14:30:24.101259,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.101285, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.101311, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.101348, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.101375, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.101404, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.101489, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.101572, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.101619, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.101673, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.101916, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.101943, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.101971, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.102053, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.102135, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.102181, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.102232, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.102481, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.102508, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.102533, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.102559, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.102585, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.102611, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.102637, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.102662, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.102688, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.102714, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.102740, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.102766, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.102792, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.102822, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.102849,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.104576,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.104603,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.104633, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:24.104660,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:24.104687,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:24.104713,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.104727,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20097
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:24.104978, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:24.105046,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:24.105073,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:24.105099,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:24.105151,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:24.105393, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:24.105424,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:24.105450,  3] smbd/process.c:1662(process_smb)
  Transaction 100 of length 106 (0 toread)
[2014/08/28 14:30:24.105476,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.105491,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20161
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:24.105793, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:24.105871,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.105900,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:24.105927,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:24.106269,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:24.106501,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:24.106534,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:24.106564,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:24.106592, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:24.106621,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:24.106648,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.106674,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:24.106705,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:24.106732,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:24.106758,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.106789,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:24.106816,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:24.106842,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:24.106869,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:24.106896,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.106924,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d9bd0 now at offset -1
[2014/08/28 14:30:24.106952,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:24.106978, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:24.107004, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:24.107040, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.107066, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.107095, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.107180, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.107263, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.107309, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.107363, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.107608, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.107634, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.107660, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.107686, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.107711, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.107741, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.107768,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:24.109119,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:24.109147,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:24.109179, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.109221, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:24.109249,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:24.109280, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:24.109306, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:24.109333,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:24.109360,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:24.109390,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:24.109416,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:24.109442,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.109461,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20161
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:24.109708, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:24.109907,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:24.110181, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:24.110212,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:24.110238,  3] smbd/process.c:1662(process_smb)
  Transaction 101 of length 106 (0 toread)
[2014/08/28 14:30:24.110264,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.110279,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20225
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:24.110581, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:24.110658,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.110685,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.110714,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:24.110744,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:24.110772, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:24.110801,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:24.110827,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.110854,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:24.110880,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:24.110906,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:24.110933,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.110963,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:24.110989,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:24.111021,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:24.111051,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:24.111078,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.111106,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022efc80 now at offset -1
[2014/08/28 14:30:24.111134,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:24.111160, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:24.111186, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:24.111222, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.111249, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.111279, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.111366, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.111448, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.111495, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.111550, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.111793, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.111819, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.111845, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.111870, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.111896, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.111924, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.111952,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:24.113305,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:24.113333,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:24.113365, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.113406, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:24.113434,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:24.113466, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:24.113493, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:24.113521,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:24.113547,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:24.113577,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:24.113603,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:24.113629,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.113644,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20225
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:24.113900, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:24.114093,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:24.114546, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:24.114578,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:24.114605,  3] smbd/process.c:1662(process_smb)
  Transaction 102 of length 45 (0 toread)
[2014/08/28 14:30:24.114631,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.114645,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20289
  smt_wct=3
  smb_vwv[ 0]=10634 (0x298A)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:24.114819, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:24.114835,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.114861,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.114887,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10634
[2014/08/28 14:30:24.114917, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.114946, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307ff0
[2014/08/28 14:30:24.114972, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.115012, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.115046, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.115079, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x0, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.115107, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.115133, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 14:30:24.115172, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.115205, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.115245, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.115274, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.115308, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:24.115335, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:24.115363,  5] smbd/files.c:482(file_free)
  freed files structure 10634 (3 used)
[2014/08/28 14:30:24.115390,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.115405,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20289
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:24.115546, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:24.115852, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:24.115883,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:24.115909,  3] smbd/process.c:1662(process_smb)
  Transaction 103 of length 45 (0 toread)
[2014/08/28 14:30:24.115934,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.115949,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20353
  smt_wct=3
  smb_vwv[ 0]=10632 (0x2988)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:24.116123, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:24.116139,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.116165,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.116191,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10632
[2014/08/28 14:30:24.116220, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.116250, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307ff0
[2014/08/28 14:30:24.116276, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.116317, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.116350, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x0, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.116384, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.116412, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.116438, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 14:30:24.116477, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.116541, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x40, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.116575, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.116604, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.116638, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:24.116666, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:24.116694,  5] smbd/files.c:482(file_free)
  freed files structure 10632 (2 used)
[2014/08/28 14:30:24.116720,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.116735,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20353
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:24.116877, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:24.117747, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 86
[2014/08/28 14:30:24.117777,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x56
[2014/08/28 14:30:24.117803,  3] smbd/process.c:1662(process_smb)
  Transaction 104 of length 90 (0 toread)
[2014/08/28 14:30:24.117829,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.117844,  5] lib/util.c:342(show_msg)
  size=86
  smb_com=0xa2
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20417
  smt_wct=24
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=57054 (0xDEDE)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]= 5632 (0x1600)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=33024 (0x8100)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=    0 (0x0)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_vwv[14]=    0 (0x0)
  smb_vwv[15]= 1792 (0x700)
  smb_vwv[16]=    0 (0x0)
  smb_vwv[17]=  256 (0x100)
  smb_vwv[18]=    0 (0x0)
  smb_vwv[19]=    0 (0x0)
  smb_vwv[20]=    0 (0x0)
  smb_vwv[21]=  512 (0x200)
  smb_vwv[22]=    0 (0x0)
  smb_vwv[23]=  768 (0x300)
  smb_bcc=3
[2014/08/28 14:30:24.118241, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00                                          ... 
[2014/08/28 14:30:24.118274,  3] smbd/process.c:1467(switch_message)
  switch message SMBntcreateX (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.118301,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.118329, 10] smbd/nttrans.c:505(reply_ntcreate_and_X)
  reply_ntcreate_and_X: flags = 0x16, access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 root_dir_fid = 0x0, fname = 
[2014/08/28 14:30:24.118358,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file ""
[2014/08/28 14:30:24.118386,  5] smbd/filename.c:291(unix_convert)
  conversion finished "" -> .
[2014/08/28 14:30:24.118411,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:24.118438,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.118464, 10] smbd/open.c:3668(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.118499, 10] smbd/open.c:3169(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x3 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2014/08/28 14:30:24.118530,  5] smbd/files.c:140(file_new)
  allocated file structure 6539, fnum = 10635 (3 used)
[2014/08/28 14:30:24.118559, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:24.118586,  3] smbd/dosmode.c:159(unix_mode)
  unix_mode(.) returning 0744
[2014/08/28 14:30:24.118613, 10] smbd/open.c:1647(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x81 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=3 private_flags = 0x0
[2014/08/28 14:30:24.118641,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.118666, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.118693, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.118732, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.118760, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.118790, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.118877, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.118959, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.119006, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.119060, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.119303, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.119329, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.119358, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.119439, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.119520, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.119566, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.119623, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.119864, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.119891, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.119917, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.119942, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.119968, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.119994, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.120019, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.120045, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.120070, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.120096, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.120122, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.120148, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.120173, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.120204, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.120232,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.121948,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.121975,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.122002, 10] smbd/open.c:1820(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x81
[2014/08/28 14:30:24.122033, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.122064, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305050
[2014/08/28 14:30:24.122090, 10] locking/brlock.c:1814(brl_get_locks_internal)
  brl_get_locks_internal: 0 current locks on file_id 819:940001:0
[2014/08/28 14:30:24.122117, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.122154, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.122183, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9023055a0
[2014/08/28 14:30:24.122215, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.122256, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.122290, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x40, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.122324, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.122352, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.122378, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.122405, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.122431, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:24.122456, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.122482, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.122508, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.122533, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:24.122559, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.122585, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.122610, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.122636, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:24.122662, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.122687, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.122713, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.122738, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.122764, 10] smbd/open.c:1205(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file .
[2014/08/28 14:30:24.122790,  4] smbd/open.c:2111(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x81, open_access_mask = 0x81
[2014/08/28 14:30:24.122820, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 00 mode = 0744, fd = 34. 
[2014/08/28 14:30:24.122847, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:24.122874, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:24.122902, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.122935,  5] smbd/files.c:482(file_free)
  freed files structure 10635 (2 used)
[2014/08/28 14:30:24.122962,  5] smbd/open.c:2641(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2014/08/28 14:30:24.122996, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.123034, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.123060, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.123090, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.123176, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.123258, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.123305, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.123360, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.123630, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.123657, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.123686, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.123784, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.123866, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.123913, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.123966, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.124214, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.124242, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.124268, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.124300, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.124326, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.124352, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.124377, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.124403, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.124428, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.124454, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.124480, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.124514, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.124540, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.124572, 10] smbd/open.c:132(smbd_check_open_rights)
  smbd_check_open_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2014/08/28 14:30:24.124602,  5] smbd/files.c:140(file_new)
  allocated file structure 6540, fnum = 10636 (3 used)
[2014/08/28 14:30:24.124632, 10] smbd/files.c:705(file_name_hash)
  file_name_hash: /shared/swhw/. hash 0xfe507425
[2014/08/28 14:30:24.124661, 10] smbd/open.c:231(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 34. 
[2014/08/28 14:30:24.124694, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.124724, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902305120
[2014/08/28 14:30:24.124750, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.124791, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.124825, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4dc3, type= 0x40, gen_id = 1073264255, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.124858, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.124886, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.124912, 10] smbd/open.c:766(share_conflict)
  share_conflict: entry->access_mask = 0x100081, entry->share_access = 0x7, entry->private_options = 0x0
[2014/08/28 14:30:24.124939, 10] smbd/open.c:769(share_conflict)
  share_conflict: access_mask = 0x81, share_access = 0x7
[2014/08/28 14:30:24.124964, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] am (0x100081) & right (0x6) = 0x0
[2014/08/28 14:30:24.124990, 10] smbd/open.c:818(share_conflict)
  share_conflict: [1] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.125016, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] am (0x81) & right (0x6) = 0x0
[2014/08/28 14:30:24.125041, 10] smbd/open.c:820(share_conflict)
  share_conflict: [2] sa (0x7) & share (0x2) = 0x2
[2014/08/28 14:30:24.125072, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] am (0x100081) & right (0x21) = 0x1
[2014/08/28 14:30:24.125098, 10] smbd/open.c:823(share_conflict)
  share_conflict: [3] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.125124, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] am (0x81) & right (0x21) = 0x1
[2014/08/28 14:30:24.125149, 10] smbd/open.c:825(share_conflict)
  share_conflict: [4] sa (0x7) & share (0x1) = 0x1
[2014/08/28 14:30:24.125175, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] am (0x100081) & right (0x10000) = 0x0
[2014/08/28 14:30:24.125201, 10] smbd/open.c:828(share_conflict)
  share_conflict: [5] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.125227, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] am (0x81) & right (0x10000) = 0x0
[2014/08/28 14:30:24.125252, 10] smbd/open.c:830(share_conflict)
  share_conflict: [6] sa (0x7) & share (0x4) = 0x4
[2014/08/28 14:30:24.125277, 10] smbd/open.c:832(share_conflict)
  share_conflict: No conflict.
[2014/08/28 14:30:24.125303, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 14:30:24.125343, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.125377, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4fc1, type= 0x0, gen_id = 1073264259, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.125411, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.125441, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.125474, 10] smbd/open.c:3480(create_file_unixpath)
  create_file_unixpath: info=1
[2014/08/28 14:30:24.125500, 10] smbd/open.c:3756(create_file_default)
  create_file: info=1
[2014/08/28 14:30:24.125526,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.125553, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.125579, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.125616, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.125643, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.125672, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.125757, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.125840, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.125887, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.125941, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.126193, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.126219, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.126249, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.126330, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.126412, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.126458, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.126510, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.126755, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.126781, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.126807, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.126833, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.126859, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.126885, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.126910, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.126936, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.126962, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.126987, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.127013, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.127039, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.127065, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.127095, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.127128,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.128860,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.128887,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.128919, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.128960, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.128994, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4fc1, type= 0x0, gen_id = 1073264259, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.129028, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.129058,  5] smbd/nttrans.c:730(reply_ntcreate_and_X)
  reply_ntcreate_and_X: fnum = 10636, open name = .
[2014/08/28 14:30:24.129499, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 72
[2014/08/28 14:30:24.129530,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x48
[2014/08/28 14:30:24.129556,  3] smbd/process.c:1662(process_smb)
  Transaction 105 of length 76 (0 toread)
[2014/08/28 14:30:24.129582,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.129597,  5] lib/util.c:342(show_msg)
  size=72
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20481
  smt_wct=15
  smb_vwv[ 0]=    4 (0x4)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    2 (0x2)
  smb_vwv[ 3]=   24 (0x18)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    4 (0x4)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    7 (0x7)
  smb_bcc=7
[2014/08/28 14:30:24.129898, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 8C 29 ED 03                              ....).. 
[2014/08/28 14:30:24.129933,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.129959,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.129986,  3] smbd/trans2.c:5032(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2014/08/28 14:30:24.130018, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.130060, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.130094, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4fc1, type= 0x0, gen_id = 1073264259, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.130133, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.130161, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.130187,  3] smbd/trans2.c:5261(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo . (fnum = 10636) level=1005 call=7 total_data=0
[2014/08/28 14:30:24.130214,  5] smbd/trans2.c:4229(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum = 10636) level=1005 max_data=24
[2014/08/28 14:30:24.130241,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: .
[2014/08/28 14:30:24.130267, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file .
[2014/08/28 14:30:24.130293, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2014/08/28 14:30:24.130332, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.130358, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.130387, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.130473, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.130555, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.130602, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.130655, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.130899, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Default ace entries before arrange :
[2014/08/28 14:30:24.130926, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.130955, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.131037, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.131118, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.131164, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.131221, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-3-0 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms ---
  canon_ace index 1. Type = allow SID = S-1-3-1 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms ---
  canon_ace index 2. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 3. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2014/08/28 14:30:24.131464, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.131491, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.131517, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.131543, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.131569, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.131595, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.131621, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.131646, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2014/08/28 14:30:24.131672, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.131698, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2014/08/28 14:30:24.131724, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 2.
[2014/08/28 14:30:24.131750, 10] smbd/posix_acls.c:3045(merge_default_aces)
  merge_default_aces: Merging ACE 7 onto ACE 3.
[2014/08/28 14:30:24.131775, 10] smbd/posix_acls.c:3031(merge_default_aces)
  merge_default_aces: Merging zero access ACE 4 onto ACE 7.
[2014/08/28 14:30:24.131806, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file . access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.131834,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x00b0 (176)
                  num_aces                 : 0x00000007 (7)
                  aces: ARRAY(7)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001f01ff (2032127)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x03 (3)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x03: SEC_ACE_FLAG_VALID_INHERIT (3)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-0
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x0b (11)
                                 1: SEC_ACE_FLAG_OBJECT_INHERIT
                                 1: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 1: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x0b: SEC_ACE_FLAG_VALID_INHERIT (11)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00000000 (0)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-3-1
[2014/08/28 14:30:24.133563,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning d
[2014/08/28 14:30:24.133592,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning d
[2014/08/28 14:30:24.133621, 10] smbd/trans2.c:4479(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB_FILE_STANDARD_INFORMATION
[2014/08/28 14:30:24.133648,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 2, data_sent_thistime = 24, useable_space = 131010
[2014/08/28 14:30:24.133674,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 2, data_to_send = 24, paramsize = 2, datasize = 24
[2014/08/28 14:30:24.133700,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.133714,  5] lib/util.c:342(show_msg)
  size=84
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20481
  smt_wct=10
  smb_vwv[ 0]=    2 (0x2)
  smb_vwv[ 1]=   24 (0x18)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    2 (0x2)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=   24 (0x18)
  smb_vwv[ 7]=   60 (0x3C)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=29
[2014/08/28 14:30:24.133968, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0010] 00 00 00 00 00 01 00 00   00 00 01 00 00           ........ .....
[2014/08/28 14:30:24.134425, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 102
[2014/08/28 14:30:24.134457,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x66
[2014/08/28 14:30:24.134484,  3] smbd/process.c:1662(process_smb)
  Transaction 106 of length 106 (0 toread)
[2014/08/28 14:30:24.134510,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.134525,  5] lib/util.c:342(show_msg)
  size=102
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20545
  smt_wct=15
  smb_vwv[ 0]=   34 (0x22)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=   10 (0xA)
  smb_vwv[ 3]=16384 (0x4000)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   34 (0x22)
  smb_vwv[10]=   68 (0x44)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    1 (0x1)
  smb_vwv[14]=    1 (0x1)
  smb_bcc=37
[2014/08/28 14:30:24.134826, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 00 00 16 00 56 05 07   00 04 01 00 00 00 00 5C   .....V.. .......\
  [0010] 00 76 00 65 00 72 00 73   00 69 00 6F 00 6E 00 2E   .v.e.r.s .i.o.n..
  [0020] 00 68 00 00 00                                    .h... 
[2014/08/28 14:30:24.134903,  3] smbd/process.c:1467(switch_message)
  switch message SMBtrans2 (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.134930,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.134959,  3] smbd/trans2.c:2292(call_trans2findfirst)
  call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2014/08/28 14:30:24.134990,  5] smbd/filename.c:257(unix_convert)
  unix_convert called on file "version.h"
[2014/08/28 14:30:24.135018, 10] smbd/statcache.c:283(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [VERSION.H] -> [version.h]
[2014/08/28 14:30:24.135047,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:24.135074,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.135100,  5] smbd/trans2.c:2377(call_trans2findfirst)
  dir=., mask = version.h
[2014/08/28 14:30:24.135127,  5] smbd/dir.c:439(dptr_create)
  dptr_create dir=.
[2014/08/28 14:30:24.135153,  8] lib/util.c:1320(is_in_path)
  is_in_path: .
[2014/08/28 14:30:24.135179,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.135210,  3] smbd/dir.c:578(dptr_create)
  creating new dirptr 256 for path ., expect_close = 1
[2014/08/28 14:30:24.135236,  4] smbd/trans2.c:2445(call_trans2findfirst)
  dptr_num is 256, wcard = version.h, attr = 22
[2014/08/28 14:30:24.135262,  8] smbd/trans2.c:2454(call_trans2findfirst)
  dirpath=<.> dontdescend=<>
[2014/08/28 14:30:24.135292,  8] lib/util.c:1320(is_in_path)
  is_in_path: version.h
[2014/08/28 14:30:24.135319,  8] lib/util.c:1344(is_in_path)
  is_in_path: match not found
[2014/08/28 14:30:24.135347,  6] smbd/dir.c:969(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x7fc9022d9bd0 now at offset -1
[2014/08/28 14:30:24.135376,  8] smbd/dosmode.c:621(dos_mode)
  dos_mode: ./version.h
[2014/08/28 14:30:24.135402, 10] smbd/file_access.c:204(can_access_file_data)
  can_access_file_data: requesting 0x2 on file ./version.h
[2014/08/28 14:30:24.135429, 10] smbd/posix_acls.c:3412(posix_get_nt_acl)
  posix_get_nt_acl: called for file ./version.h
[2014/08/28 14:30:24.135465, 10] smbd/posix_acls.c:2537(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2014/08/28 14:30:24.135492, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.135527, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.135614, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
[2014/08/28 14:30:24.135696, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.135742, 10] smbd/posix_acls.c:2550(canonicalise_acl)
  canon_ace index 4. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2014/08/28 14:30:24.135796, 10] smbd/posix_acls.c:848(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-1713247293-1926860970-2001202512-3074 uid 1037 (thiago.alencar) SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1037 gid 1037 (swhw_rw) SMB_ACL_GROUP ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-22-2-1036 gid 1036 (swhw_ro) SMB_ACL_GROUP ace_flags = 0x0 perms r-x
  canon_ace index 3. Type = allow SID = S-1-22-2-100 gid 100 (users) SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 4. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r--
[2014/08/28 14:30:24.136057, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.136084, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2014/08/28 14:30:24.136110, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2014/08/28 14:30:24.136136, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.136161, 10] smbd/posix_acls.c:1124(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2014/08/28 14:30:24.136191, 10] smbd/file_access.c:76(can_access_file_acl)
  can_access_file_acl for file ./version.h access_mask 0x2, access_granted 0x2 access ALLOWED
[2014/08/28 14:30:24.136218,  1] ../librpc/ndr/ndr.c:247(ndr_print_debug)
       secdesc: struct security_descriptor
          revision                 : SECURITY_DESCRIPTOR_REVISION_1 (1)
          type                     : 0x9004 (36868)
                 0: SEC_DESC_OWNER_DEFAULTED 
                 0: SEC_DESC_GROUP_DEFAULTED 
                 1: SEC_DESC_DACL_PRESENT    
                 0: SEC_DESC_DACL_DEFAULTED  
                 0: SEC_DESC_SACL_PRESENT    
                 0: SEC_DESC_SACL_DEFAULTED  
                 0: SEC_DESC_DACL_TRUSTED    
                 0: SEC_DESC_SERVER_SECURITY 
                 0: SEC_DESC_DACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_SACL_AUTO_INHERIT_REQ
                 0: SEC_DESC_DACL_AUTO_INHERITED
                 0: SEC_DESC_SACL_AUTO_INHERITED
                 1: SEC_DESC_DACL_PROTECTED  
                 0: SEC_DESC_SACL_PROTECTED  
                 0: SEC_DESC_RM_CONTROL_VALID
                 1: SEC_DESC_SELF_RELATIVE   
          owner_sid                : *
              owner_sid                : S-1-5-21-1713247293-1926860970-2001202512-3074
          group_sid                : *
              group_sid                : S-1-22-2-100
          sacl                     : NULL
          dacl                     : *
              dacl: struct security_acl
                  revision                 : SECURITY_ACL_REVISION_NT4 (2)
                  size                     : 0x0088 (136)
                  num_aces                 : 0x00000005 (5)
                  aces: ARRAY(5)
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0024 (36)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-5-21-1713247293-1926860970-2001202512-3074
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001e01ff (1966591)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1037
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x001200a9 (1179817)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-1036
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0018 (24)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-22-2-100
                      aces: struct security_ace
                          type                     : SEC_ACE_TYPE_ACCESS_ALLOWED (0)
                          flags                    : 0x00 (0)
                                 0: SEC_ACE_FLAG_OBJECT_INHERIT
                                 0: SEC_ACE_FLAG_CONTAINER_INHERIT
                                 0: SEC_ACE_FLAG_NO_PROPAGATE_INHERIT
                                 0: SEC_ACE_FLAG_INHERIT_ONLY
                                 0: SEC_ACE_FLAG_INHERITED_ACE
                              0x00: SEC_ACE_FLAG_VALID_INHERIT (0)
                                 0: SEC_ACE_FLAG_SUCCESSFUL_ACCESS
                                 0: SEC_ACE_FLAG_FAILED_ACCESS
                          size                     : 0x0014 (20)
                          access_mask              : 0x00120089 (1179785)
                          object                   : union security_ace_object_ctr(case 0)
                          trustee                  : S-1-1-0
[2014/08/28 14:30:24.137565,  8] smbd/dosmode.c:199(dos_mode_from_sbuf)
  dos_mode_from_sbuf returning a
[2014/08/28 14:30:24.137592,  8] smbd/dosmode.c:672(dos_mode)
  dos_mode returning a
[2014/08/28 14:30:24.137626, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:24.137668, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:24.137696,  3] smbd/dir.c:1041(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[version.h] found ./version.h fname=version.h (version.h)
[2014/08/28 14:30:24.137727, 10] smbd/trans2.c:1578(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 16384
[2014/08/28 14:30:24.137754, 10] smbd/trans2.c:1727(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_FILE_BOTH_DIRECTORY_INFO
[2014/08/28 14:30:24.137782,  5] smbd/trans2.c:2511(call_trans2findfirst)
  call_trans2findfirst - (2) closing dptr_num 256
[2014/08/28 14:30:24.137808,  4] smbd/dir.c:257(dptr_close_internal)
  closing dptr key 256
[2014/08/28 14:30:24.137839,  9] smbd/trans2.c:941(send_trans2_replies)
  t2_rep: params_sent_thistime = 10, data_sent_thistime = 112, useable_space = 131010
[2014/08/28 14:30:24.137865,  9] smbd/trans2.c:943(send_trans2_replies)
  t2_rep: params_to_send = 10, data_to_send = 112, paramsize = 10, datasize = 112
[2014/08/28 14:30:24.137891,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.137906,  5] lib/util.c:342(show_msg)
  size=180
  smb_com=0x32
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=996
  smb_uid=100
  smb_mid=20545
  smt_wct=10
  smb_vwv[ 0]=   10 (0xA)
  smb_vwv[ 1]=  112 (0x70)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=   10 (0xA)
  smb_vwv[ 4]=   56 (0x38)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=  112 (0x70)
  smb_vwv[ 7]=   68 (0x44)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_bcc=125
[2014/08/28 14:30:24.138154, 10] ../lib/util/util.c:415(dump_data)
  [0000] 00 FD FF 01 00 01 00 00   00 00 00 00 00 70 00 00   ........ .....p..
  [0010] 00 00 00 00 00 E7 F8 CD   20 6F 70 CF 01 F1 75 4A   ........  op...uJ
  [0020] 09 D2 C2 CF 01 E7 F8 CD   20 6F 70 CF 01 E7 F8 CD   ........  op.....
  [0030] 20 6F 70 CF 01 E3 30 00   00 00 00 00 00 00 00 10    op...0. ........
  [0040] 00 00 00 00 00 20 00 00   00 12 00 00 00 00 00 00   ..... .. ........
  [0050] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ........ ........
  [0060] 00 00 00 00 00 00 00 00   00 00 00 76 00 65 00 72   ........ ...v.e.r
  [0070] 00 73 00 69 00 6F 00 6E   00 2E 00 68 00           .s.i.o.n ...h.
[2014/08/28 14:30:24.138348,  4] smbd/trans2.c:2555(call_trans2findfirst)
  SMBtrans2 mask=version.h directory=. dirtype=22 numentries=1
[2014/08/28 14:30:24.138759, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:24.138789,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:24.138821,  3] smbd/process.c:1662(process_smb)
  Transaction 107 of length 45 (0 toread)
[2014/08/28 14:30:24.138848,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.138862,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20609
  smt_wct=3
  smb_vwv[ 0]=10636 (0x298C)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:24.139034, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:24.139050,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:24.139076,  4] smbd/uid.c:351(change_to_user)
  Skipping user change - already user
[2014/08/28 14:30:24.139103,  3] smbd/reply.c:4838(reply_close)
  close directory fnum=10636
[2014/08/28 14:30:24.139133, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000000100
[2014/08/28 14:30:24.139164, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307ff0
[2014/08/28 14:30:24.139190, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT, cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num_share_modes: 3
[2014/08/28 14:30:24.139231, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.139265, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[1]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4fc1, type= 0x0, gen_id = 1073264259, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.139298, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.139327, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xfe507425
[2014/08/28 14:30:24.139353, 10] locking/locking.c:801(unparse_share_modes)
  unparse_share_modes: owrt: Thu Aug 28 11:45:47 AM 2014 BRT cwrt: Wed Dec 31 09:00:00 PM 1969 BRT, ntok: 0, num: 3
[2014/08/28 14:30:24.139393, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[0]:  pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x100081, mid = 0x4d42, type= 0x0, gen_id = 1073264253, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.139427, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[1]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4fc1, type= 0x40, gen_id = 1073264259, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.139460, 10] locking/locking.c:536(print_share_mode_table)
  print_share_mode_table: share_mode_entry[2]: UNUSED pid = 15947, share_access = 0x7, private_options = 0x0, access_mask = 0x81, mid = 0x4e03, type= 0x40, gen_id = 1073264257, uid = 1000, flags = 0, file_id 819:940001:0, name_hash = 0xfe507425
[2014/08/28 14:30:24.139490, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000000100
[2014/08/28 14:30:24.139524, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file . = 0
[2014/08/28 14:30:24.139551, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file .
[2014/08/28 14:30:24.139579,  5] smbd/files.c:482(file_free)
  freed files structure 10636 (2 used)
[2014/08/28 14:30:24.139606,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.139621,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20609
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:24.139768, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:24.354204, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 35
[2014/08/28 14:30:24.354286,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x23
[2014/08/28 14:30:24.354346,  3] smbd/process.c:1662(process_smb)
  Transaction 108 of length 39 (0 toread)
[2014/08/28 14:30:24.354390,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.354405,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=20673
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:24.354547, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:24.354563,  3] smbd/process.c:1467(switch_message)
  switch message SMBtdis (pid 15947) conn 0x7fc9022cfb40
[2014/08/28 14:30:24.354590,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:24.354617,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:24.354643,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:24.354688,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:24.354717,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /tmp
[2014/08/28 14:30:24.354750,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:24.354775,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:24.354800,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:24.354838,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:24.354864,  3] smbd/service.c:1378(close_cnum)
  lynx (192.168.168.130) closed connection to service IPC$
[2014/08/28 14:30:24.354894,  3] smbd/connection.c:35(yield_connection)
  Yielding connection to IPC$
[2014/08/28 14:30:24.354959, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 4B3E0000FFFFFFFF2A14
[2014/08/28 14:30:24.354993, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902307fe0
[2014/08/28 14:30:24.355026, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 4B3E0000FFFFFFFF2A14
[2014/08/28 14:30:24.355095,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /
[2014/08/28 14:30:24.355124,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:24.355149,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:30:24.355174,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:30:24.355213,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:30:24.355250,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:24.355265,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=20673
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:24.355408, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:35.050273, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 41
[2014/08/28 14:30:35.050360,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x29
[2014/08/28 14:30:35.050419,  3] smbd/process.c:1662(process_smb)
  Transaction 109 of length 45 (0 toread)
[2014/08/28 14:30:35.050478,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:35.050511,  5] lib/util.c:342(show_msg)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20737
  smt_wct=3
  smb_vwv[ 0]=10629 (0x2985)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2014/08/28 14:30:35.050915, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:30:35.050951,  3] smbd/process.c:1467(switch_message)
  switch message SMBclose (pid 15947) conn 0x7fc9022cce90
[2014/08/28 14:30:35.051014,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (1000, 100) - sec_ctx_stack_ndx = 0
[2014/08/28 14:30:35.051075,  5] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (24):
    SID[  0]: S-1-5-21-1713247293-1926860970-2001202512-3000
    SID[  1]: S-1-5-21-1713247293-1926860970-2001202512-513
    SID[  2]: S-1-22-2-100
    SID[  3]: S-1-22-2-20
    SID[  4]: S-1-22-2-24
    SID[  5]: S-1-22-2-25
    SID[  6]: S-1-22-2-29
    SID[  7]: S-1-22-2-44
    SID[  8]: S-1-22-2-46
    SID[  9]: S-1-22-2-1027
    SID[ 10]: S-1-22-2-1001
    SID[ 11]: S-1-22-2-1002
    SID[ 12]: S-1-22-2-1003
    SID[ 13]: S-1-22-2-1017
    SID[ 14]: S-1-22-2-1019
    SID[ 15]: S-1-22-2-1022
    SID[ 16]: S-1-22-2-1026
    SID[ 17]: S-1-22-2-1029
    SID[ 18]: S-1-22-2-1018
    SID[ 19]: S-1-22-2-1037
    SID[ 20]: S-1-1-0
    SID[ 21]: S-1-5-2
    SID[ 22]: S-1-5-11
    SID[ 23]: S-1-22-1-1000
   Privileges (0x              20):
    Privilege[  0]: SePrintOperatorPrivilege
   Rights (0x               0):
[2014/08/28 14:30:35.051840,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 100 and contains 18 supplementary groups
  Group[  0]: 100
  Group[  1]: 20
  Group[  2]: 24
  Group[  3]: 25
  Group[  4]: 29
  Group[  5]: 44
  Group[  6]: 46
  Group[  7]: 1027
  Group[  8]: 1001
  Group[  9]: 1002
  Group[ 10]: 1003
  Group[ 11]: 1017
  Group[ 12]: 1019
  Group[ 13]: 1022
  Group[ 14]: 1026
  Group[ 15]: 1029
  Group[ 16]: 1018
  Group[ 17]: 1037
[2014/08/28 14:30:35.052357,  5] smbd/uid.c:317(change_to_user_internal)
  Impersonated user: uid=(0,1000), gid=(0,100)
[2014/08/28 14:30:35.052420,  4] smbd/vfs.c:780(vfs_ChDir)
  vfs_ChDir to /shared/swhw
[2014/08/28 14:30:35.052512,  3] smbd/reply.c:4848(reply_close)
  close fd=29 fnum=10629 (numopen=2)
[2014/08/28 14:30:35.052577,  6] smbd/close.c:532(set_close_write_time)
  close_write_time: Sun Feb  7 04:28:15 2106
[2014/08/28 14:30:35.052666, 10] smbd/oplock_linux.c:141(linux_release_kernel_oplock)
  linux_release_kernel_oplock: file version.h, file_id = 819:94124f:0 gen_id = 1073264252 has kernel oplock state of 1.
[2014/08/28 14:30:35.052758, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:30:35.052829, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902308110
[2014/08/28 14:30:35.052888, 10] locking/locking.c:663(parse_share_modes)
  parse_share_modes: owrt: Thu Aug 28 02:30:24 PM 2014 BRT, cwrt: Thu May 15 03:54:41 PM 2014 BRT, ntok: 0, num_share_modes: 1
[2014/08/28 14:30:35.052981, 10] locking/locking.c:725(parse_share_modes)
  parse_share_modes: share_mode_entry[0]:  pid = 15947, share_access = 0x0, private_options = 0x0, access_mask = 0x7019f, mid = 0x4ac2, type= 0x3, gen_id = 1073264252, uid = 1000, flags = 0, file_id 819:94124f:0, name_hash = 0xbb8326a3
[2014/08/28 14:30:35.053046, 10] smbd/close.c:313(close_remove_share_mode)
  close_remove_share_mode: write time forced for file version.h
[2014/08/28 14:30:35.053105,  6] smbd/close.c:532(set_close_write_time)
  close_write_time: Thu May 15 15:54:41 2014
[2014/08/28 14:30:35.053173, 10] locking/locking.c:1657(get_delete_on_close_token)
  get_delete_on_close_token: name_hash = 0xbb8326a3
[2014/08/28 14:30:35.053235, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:30:35.053309, 10] locking/posix.c:516(get_windows_lock_ref_count)
  get_windows_lock_count for file version.h = 0
[2014/08/28 14:30:35.053371, 10] locking/posix.c:542(delete_windows_lock_ref_count)
  delete_windows_lock_ref_count for file version.h
[2014/08/28 14:30:35.053607,  5] locking/locking.c:1710(set_write_time)
  set_write_time: Thu May 15 03:54:41 PM 2014 BRT id=819:94124f:0
[2014/08/28 14:30:35.053693, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:30:35.053758, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc9022d5480
[2014/08/28 14:30:35.053817,  3] locking/locking.c:995(get_share_mode_lock)
  fill_share_mode_lock failed
[2014/08/28 14:30:35.053875, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:30:35.053957, 10] lib/dbwrap_tdb.c:102(db_tdb_fetch_locked)
  Locking key 19080000000000004F12
[2014/08/28 14:30:35.054021, 10] lib/dbwrap_tdb.c:131(db_tdb_fetch_locked)
  Allocated locked data 0x0x7fc902308890
[2014/08/28 14:30:35.054078,  3] locking/locking.c:995(get_share_mode_lock)
  fill_share_mode_lock failed
[2014/08/28 14:30:35.054135, 10] lib/dbwrap_tdb.c:44(db_tdb_record_destr)
  Unlocking key 19080000000000004F12
[2014/08/28 14:30:35.054207,  5] smbd/trans2.c:5492(smb_set_file_time)
  smb_set_filetime: actime: Wed Dec 31 21:00:00 1969
  
   smb_set_filetime: modtime: Thu May 15 15:54:41 2014
  
   smb_set_filetime: ctime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: createtime: Wed Dec 31 21:00:00 1969
  
   smb_set_file_time: setting utimes to modified values.
[2014/08/28 14:30:35.054482,  6] smbd/dosmode.c:953(file_ntimes)
  file_ntime: actime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:35.054549,  6] smbd/dosmode.c:955(file_ntimes)
  file_ntime: modtime: Thu May 15 15:54:41 2014
[2014/08/28 14:30:35.054614,  6] smbd/dosmode.c:957(file_ntimes)
  file_ntime: ctime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:35.054680,  6] smbd/dosmode.c:959(file_ntimes)
  file_ntime: createtime: Wed Dec 31 21:00:00 1969
[2014/08/28 14:30:35.054772, 10] smbd/notify_internal.c:930(notify_trigger)
  notify_trigger called action=0x3, filter=0x0, path=/shared/swhw/version.h
[2014/08/28 14:30:35.054835,  2] smbd/close.c:696(close_normal_file)
  jsveiga closed file version.h (numopen=1) NT_STATUS_OK
[2014/08/28 14:30:35.054897,  5] smbd/files.c:482(file_free)
  freed files structure 10629 (1 used)
[2014/08/28 14:30:35.054959,  5] lib/util.c:332(show_msg)
[2014/08/28 14:30:35.054993,  5] lib/util.c:342(show_msg)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=2
  smb_pid=65279
  smb_uid=100
  smb_mid=20737
  smt_wct=0
  smb_bcc=0
[2014/08/28 14:30:35.055311, 10] ../lib/util/util.c:415(dump_data)
[2014/08/28 14:31:08.500507, 10] lib/util_sock.c:519(read_smb_length_return_keepalive)
  got smb length of 49
[2014/08/28 14:31:08.500604,  6] smbd/process.c:1660(process_smb)
  got message type 0x0 of len 0x31
[2014/08/28 14:31:08.500667,  3] smbd/process.c:1662(process_smb)
  Transaction 110 of length 53 (0 toread)
[2014/08/28 14:31:08.500729,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:08.500763,  5] lib/util.c:342(show_msg)
  size=49
  smb_com=0x2b
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=49219
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=65534
  smt_wct=1
  smb_vwv[ 0]=    1 (0x1)
  smb_bcc=12
[2014/08/28 14:31:08.501127, 10] ../lib/util/util.c:415(dump_data)
  [0000] 4A 6C 4A 6D 49 68 43 6C   42 73 72 00              JlJmIhCl Bsr.
[2014/08/28 14:31:08.501213,  3] smbd/process.c:1467(switch_message)
  switch message SMBecho (pid 15947) conn 0x0
[2014/08/28 14:31:08.501275,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:08.501336,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:08.501396,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:08.501495,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:31:08.501561,  5] lib/util.c:332(show_msg)
[2014/08/28 14:31:08.501595,  5] lib/util.c:342(show_msg)
  size=49
  smb_com=0x2b
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51203
  smb_tid=65535
  smb_pid=65279
  smb_uid=0
  smb_mid=65534
  smt_wct=1
  smb_vwv[ 0]=    1 (0x1)
  smb_bcc=12
[2014/08/28 14:31:08.501956, 10] ../lib/util/util.c:415(dump_data)
  [0000] 4A 6C 4A 6D 49 68 43 6C   42 73 72 00              JlJmIhCl Bsr.
[2014/08/28 14:31:08.502048,  3] smbd/reply.c:5173(reply_echo)
  echo 1 times
[2014/08/28 14:31:09.575195, 10] lib/events.c:221(run_events_poll)
  Running timed event "smbd_idle_event_handler" 0x7fc9022b2f70
[2014/08/28 14:31:09.575273, 10] smbd/process.c:863(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) called
[2014/08/28 14:31:09.575333, 10] smbd/process.c:874(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) rescheduled
[2014/08/28 14:31:09.575400, 10] lib/events.c:221(run_events_poll)
  Running timed event "smbd_idle_event_handler" 0x7fc9022bbef0
[2014/08/28 14:31:09.575461, 10] smbd/process.c:863(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) called
[2014/08/28 14:31:09.575518,  5] smbd/process.c:2474(housekeeping_fn)
  housekeeping
[2014/08/28 14:31:09.575574,  4] smbd/sec_ctx.c:314(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2014/08/28 14:31:09.575632,  5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2014/08/28 14:31:09.575688,  5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2014/08/28 14:31:09.575775,  5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2014/08/28 14:31:09.575841, 10] smbd/process.c:874(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) rescheduled


More information about the Pkg-samba-maint mailing list