
[chris@f27s ~]$ sudo cat /var/log/samba/log.f27h
[2018/01/03 15:39:40.728851,  6, pid=9665, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:2313(lp_file_list_changed)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Jan  3 15:39:15 2018
  
[2018/01/03 15:39:40.728976,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_session_global.tdb
[2018/01/03 15:39:40.729014, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_session_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.729058, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key A4EC49F4
[2018/01/03 15:39:40.729101, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b3bcf0
[2018/01/03 15:39:40.729198, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:944(smbXsrv_session_global_store)
[2018/01/03 15:39:40.729225, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:946(smbXsrv_session_global_store)
  smbXsrv_session_global_store: key 'A4EC49F4' stored
[2018/01/03 15:39:40.729265,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_session_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000005 (5)
          info                     : union smbXsrv_session_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_session_global0
                  db_rec                   : *
                  session_global_id        : 0xa4ec49f4 (2766948852)
                  session_wire_id          : 0x00000000a4ec49f4 (2766948852)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  expiration_time          : Wed Dec 31 05:00:00 PM 1969 MST
                  auth_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  auth_session_info_seqnum : 0x00000001 (1)
                  auth_session_info        : *
                      auth_session_info: struct auth_session_info
                          security_token           : *
                              security_token: struct security_token
                                  num_sids                 : 0x0000000a (10)
                                  sids: ARRAY(10)
                                      sids                     : S-1-5-21-261696024-2635901569-2695960132-1000
                                      sids                     : S-1-5-21-261696024-2635901569-2695960132-513
                                      sids                     : S-1-22-2-1000
                                      sids                     : S-1-22-2-10
                                      sids                     : S-1-22-2-1001
                                      sids                     : S-1-22-2-1002
                                      sids                     : S-1-1-0
                                      sids                     : S-1-5-2
                                      sids                     : S-1-5-11
                                      sids                     : S-1-22-1-1000
                                  privilege_mask           : 0x0000000000000000 (0)
                                         0: SEC_PRIV_MACHINE_ACCOUNT_BIT
                                         0: SEC_PRIV_PRINT_OPERATOR_BIT
                                         0: SEC_PRIV_ADD_USERS_BIT   
                                         0: SEC_PRIV_DISK_OPERATOR_BIT
                                         0: SEC_PRIV_REMOTE_SHUTDOWN_BIT
                                         0: SEC_PRIV_BACKUP_BIT      
                                         0: SEC_PRIV_RESTORE_BIT     
                                         0: SEC_PRIV_TAKE_OWNERSHIP_BIT
                                         0: SEC_PRIV_INCREASE_QUOTA_BIT
                                         0: SEC_PRIV_SECURITY_BIT    
                                         0: SEC_PRIV_LOAD_DRIVER_BIT 
                                         0: SEC_PRIV_SYSTEM_PROFILE_BIT
                                         0: SEC_PRIV_SYSTEMTIME_BIT  
                                         0: SEC_PRIV_PROFILE_SINGLE_PROCESS_BIT
                                         0: SEC_PRIV_INCREASE_BASE_PRIORITY_BIT
                                         0: SEC_PRIV_CREATE_PAGEFILE_BIT
                                         0: SEC_PRIV_SHUTDOWN_BIT    
                                         0: SEC_PRIV_DEBUG_BIT       
                                         0: SEC_PRIV_SYSTEM_ENVIRONMENT_BIT
                                         0: SEC_PRIV_CHANGE_NOTIFY_BIT
                                         0: SEC_PRIV_UNDOCK_BIT      
                                         0: SEC_PRIV_ENABLE_DELEGATION_BIT
                                         0: SEC_PRIV_MANAGE_VOLUME_BIT
                                         0: SEC_PRIV_IMPERSONATE_BIT 
                                         0: SEC_PRIV_CREATE_GLOBAL_BIT
                                  rights_mask              : 0x00000000 (0)
                                         0: LSA_POLICY_MODE_INTERACTIVE
                                         0: LSA_POLICY_MODE_NETWORK  
                                         0: LSA_POLICY_MODE_BATCH    
                                         0: LSA_POLICY_MODE_SERVICE  
                                         0: LSA_POLICY_MODE_PROXY    
                                         0: LSA_POLICY_MODE_DENY_INTERACTIVE
                                         0: LSA_POLICY_MODE_DENY_NETWORK
                                         0: LSA_POLICY_MODE_DENY_BATCH
                                         0: LSA_POLICY_MODE_DENY_SERVICE
                                         0: LSA_POLICY_MODE_REMOTE_INTERACTIVE
                                         0: LSA_POLICY_MODE_DENY_REMOTE_INTERACTIVE
                                      0x00: LSA_POLICY_MODE_ALL       (0)
                                      0x00: LSA_POLICY_MODE_ALL_NT4   (0)
                          unix_token               : *
                              unix_token: struct security_unix_token
                                  uid                      : 0x00000000000003e8 (1000)
                                  gid                      : 0x00000000000003e8 (1000)
                                  ngroups                  : 0x00000004 (4)
                                  groups: ARRAY(4)
                                      groups                   : 0x00000000000003e8 (1000)
                                      groups                   : 0x000000000000000a (10)
                                      groups                   : 0x00000000000003e9 (1001)
                                      groups                   : 0x00000000000003ea (1002)
                          info                     : *
                              info: struct auth_user_info
                                  account_name             : *
                                      account_name             : 'chris'
                                  user_principal_name      : NULL
                                  user_principal_constructed: 0x00 (0)
                                  domain_name              : *
                                      domain_name              : 'F23S'
                                  dns_domain_name          : NULL
                                  full_name                : *
                                      full_name                : 'chris'
                                  logon_script             : *
                                      logon_script             : ''
                                  profile_path             : *
                                      profile_path             : '\\f27s\chris\profile'
                                  home_directory           : *
                                      home_directory           : '\\f27s\chris'
                                  home_drive               : *
                                      home_drive               : ''
                                  logon_server             : *
                                      logon_server             : 'F27S'
                                  last_logon               : NTTIME(0)
                                  last_logoff              : Wed Sep 13 07:48:05 PM 30828 MST
                                  acct_expiry              : Wed Sep 13 07:48:05 PM 30828 MST
                                  last_password_change     : Tue Feb 16 06:46:18 PM 2016 MST
                                  allow_password_change    : Tue Feb 16 06:46:18 PM 2016 MST
                                  force_password_change    : Wed Sep 13 07:48:05 PM 30828 MST
                                  logon_count              : 0x0000 (0)
                                  bad_password_count       : 0x0000 (0)
                                  acct_flags               : 0x00000010 (16)
                                  authenticated            : 0x01 (1)
                          unix_info                : *
                              unix_info: struct auth_user_info_unix
                                  unix_name                : *
                                      unix_name                : 'chris'
                                  sanitized_username       : *
                                      sanitized_username       : 'chris'
                          torture                  : NULL
                          credentials              : NULL
                  connection_dialect       : 0x0311 (785)
                  signing_flags            : 0x04 (4)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  encryption_flags         : 0x08 (8)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  num_channels             : 0x00000001 (1)
                  channels: ARRAY(1)
                      channels: struct smbXsrv_channel_global0
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          local_address            : 'ipv4:10.0.0.250:445'
                          remote_address           : 'ipv4:10.0.0.119:51692'
                          remote_name              : '10.0.0.119'
                          auth_session_info_seqnum : 0x00000001 (1)
                          connection               : *
                          encryption_cipher        : 0x0001 (1)
[2018/01/03 15:39:40.731498,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_session_global.tdb
[2018/01/03 15:39:40.731538, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.731581, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key A4EC49F4
[2018/01/03 15:39:40.731621, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1406(smbXsrv_session_update)
[2018/01/03 15:39:40.731647, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1414(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0xa4ec49f4) stored
[2018/01/03 15:39:40.731685,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &session_blob: struct smbXsrv_sessionB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_sessionU(case 0)
          info0                    : *
              info0: struct smbXsrv_session
                  table                    : *
                  db_rec                   : NULL
                  client                   : *
                  local_id                 : 0xa4ec49f4 (2766948852)
                  global                   : *
                      global: struct smbXsrv_session_global0
                          db_rec                   : NULL
                          session_global_id        : 0xa4ec49f4 (2766948852)
                          session_wire_id          : 0x00000000a4ec49f4 (2766948852)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          expiration_time          : Wed Dec 31 05:00:00 PM 1969 MST
                          auth_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          auth_session_info_seqnum : 0x00000001 (1)
                          auth_session_info        : *
                              auth_session_info: struct auth_session_info
                                  security_token           : *
                                      security_token: struct security_token
                                          num_sids                 : 0x0000000a (10)
                                          sids: ARRAY(10)
                                              sids                     : S-1-5-21-261696024-2635901569-2695960132-1000
                                              sids                     : S-1-5-21-261696024-2635901569-2695960132-513
                                              sids                     : S-1-22-2-1000
                                              sids                     : S-1-22-2-10
                                              sids                     : S-1-22-2-1001
                                              sids                     : S-1-22-2-1002
                                              sids                     : S-1-1-0
                                              sids                     : S-1-5-2
                                              sids                     : S-1-5-11
                                              sids                     : S-1-22-1-1000
                                          privilege_mask           : 0x0000000000000000 (0)
                                                 0: SEC_PRIV_MACHINE_ACCOUNT_BIT
                                                 0: SEC_PRIV_PRINT_OPERATOR_BIT
                                                 0: SEC_PRIV_ADD_USERS_BIT   
                                                 0: SEC_PRIV_DISK_OPERATOR_BIT
                                                 0: SEC_PRIV_REMOTE_SHUTDOWN_BIT
                                                 0: SEC_PRIV_BACKUP_BIT      
                                                 0: SEC_PRIV_RESTORE_BIT     
                                                 0: SEC_PRIV_TAKE_OWNERSHIP_BIT
                                                 0: SEC_PRIV_INCREASE_QUOTA_BIT
                                                 0: SEC_PRIV_SECURITY_BIT    
                                                 0: SEC_PRIV_LOAD_DRIVER_BIT 
                                                 0: SEC_PRIV_SYSTEM_PROFILE_BIT
                                                 0: SEC_PRIV_SYSTEMTIME_BIT  
                                                 0: SEC_PRIV_PROFILE_SINGLE_PROCESS_BIT
                                                 0: SEC_PRIV_INCREASE_BASE_PRIORITY_BIT
                                                 0: SEC_PRIV_CREATE_PAGEFILE_BIT
                                                 0: SEC_PRIV_SHUTDOWN_BIT    
                                                 0: SEC_PRIV_DEBUG_BIT       
                                                 0: SEC_PRIV_SYSTEM_ENVIRONMENT_BIT
                                                 0: SEC_PRIV_CHANGE_NOTIFY_BIT
                                                 0: SEC_PRIV_UNDOCK_BIT      
                                                 0: SEC_PRIV_ENABLE_DELEGATION_BIT
                                                 0: SEC_PRIV_MANAGE_VOLUME_BIT
                                                 0: SEC_PRIV_IMPERSONATE_BIT 
                                                 0: SEC_PRIV_CREATE_GLOBAL_BIT
                                          rights_mask              : 0x00000000 (0)
                                                 0: LSA_POLICY_MODE_INTERACTIVE
                                                 0: LSA_POLICY_MODE_NETWORK  
                                                 0: LSA_POLICY_MODE_BATCH    
                                                 0: LSA_POLICY_MODE_SERVICE  
                                                 0: LSA_POLICY_MODE_PROXY    
                                                 0: LSA_POLICY_MODE_DENY_INTERACTIVE
                                                 0: LSA_POLICY_MODE_DENY_NETWORK
                                                 0: LSA_POLICY_MODE_DENY_BATCH
                                                 0: LSA_POLICY_MODE_DENY_SERVICE
                                                 0: LSA_POLICY_MODE_REMOTE_INTERACTIVE
                                                 0: LSA_POLICY_MODE_DENY_REMOTE_INTERACTIVE
                                              0x00: LSA_POLICY_MODE_ALL       (0)
                                              0x00: LSA_POLICY_MODE_ALL_NT4   (0)
                                  unix_token               : *
                                      unix_token: struct security_unix_token
                                          uid                      : 0x00000000000003e8 (1000)
                                          gid                      : 0x00000000000003e8 (1000)
                                          ngroups                  : 0x00000004 (4)
                                          groups: ARRAY(4)
                                              groups                   : 0x00000000000003e8 (1000)
                                              groups                   : 0x000000000000000a (10)
                                              groups                   : 0x00000000000003e9 (1001)
                                              groups                   : 0x00000000000003ea (1002)
                                  info                     : *
                                      info: struct auth_user_info
                                          account_name             : *
                                              account_name             : 'chris'
                                          user_principal_name      : NULL
                                          user_principal_constructed: 0x00 (0)
                                          domain_name              : *
                                              domain_name              : 'F23S'
                                          dns_domain_name          : NULL
                                          full_name                : *
                                              full_name                : 'chris'
                                          logon_script             : *
                                              logon_script             : ''
                                          profile_path             : *
                                              profile_path             : '\\f27s\chris\profile'
                                          home_directory           : *
                                              home_directory           : '\\f27s\chris'
                                          home_drive               : *
                                              home_drive               : ''
                                          logon_server             : *
                                              logon_server             : 'F27S'
                                          last_logon               : NTTIME(0)
                                          last_logoff              : Wed Sep 13 07:48:05 PM 30828 MST
                                          acct_expiry              : Wed Sep 13 07:48:05 PM 30828 MST
                                          last_password_change     : Tue Feb 16 06:46:18 PM 2016 MST
                                          allow_password_change    : Tue Feb 16 06:46:18 PM 2016 MST
                                          force_password_change    : Wed Sep 13 07:48:05 PM 30828 MST
                                          logon_count              : 0x0000 (0)
                                          bad_password_count       : 0x0000 (0)
                                          acct_flags               : 0x00000010 (16)
                                          authenticated            : 0x01 (1)
                                  unix_info                : *
                                      unix_info: struct auth_user_info_unix
                                          unix_name                : *
                                              unix_name                : 'chris'
                                          sanitized_username       : *
                                              sanitized_username       : 'chris'
                                  torture                  : NULL
                                  credentials              : NULL
                          connection_dialect       : 0x0311 (785)
                          signing_flags            : 0x04 (4)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                          encryption_flags         : 0x08 (8)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          num_channels             : 0x00000001 (1)
                          channels: ARRAY(1)
                              channels: struct smbXsrv_channel_global0
                                  server_id: struct server_id
                                      pid                      : 0x00000000000025c1 (9665)
                                      task_id                  : 0x00000000 (0)
                                      vnn                      : 0xffffffff (4294967295)
                                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                                  local_address            : 'ipv4:10.0.0.250:445'
                                  remote_address           : 'ipv4:10.0.0.119:51692'
                                  remote_name              : '10.0.0.119'
                                  auth_session_info_seqnum : 0x00000001 (1)
                                  connection               : *
                                  encryption_cipher        : 0x0001 (1)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  nonce_high_random        : 0x619d879420220ebb (7033927263286595259)
                  nonce_high_max           : 0x0000000000ffffff (16777215)
                  nonce_high               : 0x0000000000000000 (0)
                  nonce_low                : 0x0000000000000000 (0)
                  compat                   : *
                  tcon_table               : *
                  pending_auth             : NULL
[2018/01/03 15:39:40.734139, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:29] at ../source3/smbd/smb2_sesssetup.c:171
[2018/01/03 15:39:40.734199, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 8192, charge 1, granted 33, current possible/max 512/512, total granted/max/low/range 33/8192/4/33
[2018/01/03 15:39:40.734247,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/smb/smb2_signing.c:93(smb2_signing_sign_pdu)
  signed SMB2 message
[2018/01/03 15:39:40.739061, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.739195, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 4 (position 4) from bitmap
[2018/01/03 15:39:40.739258, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_TCON] mid = 4
[2018/01/03 15:39:40.739348,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_session_global.tdb
[2018/01/03 15:39:40.739408, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_session_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.739495, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key A4EC49F4
[2018/01/03 15:39:40.739565, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b49520
[2018/01/03 15:39:40.739692, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:944(smbXsrv_session_global_store)
[2018/01/03 15:39:40.739722, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:946(smbXsrv_session_global_store)
  smbXsrv_session_global_store: key 'A4EC49F4' stored
[2018/01/03 15:39:40.739766,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_session_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000006 (6)
          info                     : union smbXsrv_session_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_session_global0
                  db_rec                   : *
                  session_global_id        : 0xa4ec49f4 (2766948852)
                  session_wire_id          : 0x00000000a4ec49f4 (2766948852)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  expiration_time          : Wed Dec 31 05:00:00 PM 1969 MST
                  auth_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  auth_session_info_seqnum : 0x00000001 (1)
                  auth_session_info        : *
                      auth_session_info: struct auth_session_info
                          security_token           : *
                              security_token: struct security_token
                                  num_sids                 : 0x0000000a (10)
                                  sids: ARRAY(10)
                                      sids                     : S-1-5-21-261696024-2635901569-2695960132-1000
                                      sids                     : S-1-5-21-261696024-2635901569-2695960132-513
                                      sids                     : S-1-22-2-1000
                                      sids                     : S-1-22-2-10
                                      sids                     : S-1-22-2-1001
                                      sids                     : S-1-22-2-1002
                                      sids                     : S-1-1-0
                                      sids                     : S-1-5-2
                                      sids                     : S-1-5-11
                                      sids                     : S-1-22-1-1000
                                  privilege_mask           : 0x0000000000000000 (0)
                                         0: SEC_PRIV_MACHINE_ACCOUNT_BIT
                                         0: SEC_PRIV_PRINT_OPERATOR_BIT
                                         0: SEC_PRIV_ADD_USERS_BIT   
                                         0: SEC_PRIV_DISK_OPERATOR_BIT
                                         0: SEC_PRIV_REMOTE_SHUTDOWN_BIT
                                         0: SEC_PRIV_BACKUP_BIT      
                                         0: SEC_PRIV_RESTORE_BIT     
                                         0: SEC_PRIV_TAKE_OWNERSHIP_BIT
                                         0: SEC_PRIV_INCREASE_QUOTA_BIT
                                         0: SEC_PRIV_SECURITY_BIT    
                                         0: SEC_PRIV_LOAD_DRIVER_BIT 
                                         0: SEC_PRIV_SYSTEM_PROFILE_BIT
                                         0: SEC_PRIV_SYSTEMTIME_BIT  
                                         0: SEC_PRIV_PROFILE_SINGLE_PROCESS_BIT
                                         0: SEC_PRIV_INCREASE_BASE_PRIORITY_BIT
                                         0: SEC_PRIV_CREATE_PAGEFILE_BIT
                                         0: SEC_PRIV_SHUTDOWN_BIT    
                                         0: SEC_PRIV_DEBUG_BIT       
                                         0: SEC_PRIV_SYSTEM_ENVIRONMENT_BIT
                                         0: SEC_PRIV_CHANGE_NOTIFY_BIT
                                         0: SEC_PRIV_UNDOCK_BIT      
                                         0: SEC_PRIV_ENABLE_DELEGATION_BIT
                                         0: SEC_PRIV_MANAGE_VOLUME_BIT
                                         0: SEC_PRIV_IMPERSONATE_BIT 
                                         0: SEC_PRIV_CREATE_GLOBAL_BIT
                                  rights_mask              : 0x00000000 (0)
                                         0: LSA_POLICY_MODE_INTERACTIVE
                                         0: LSA_POLICY_MODE_NETWORK  
                                         0: LSA_POLICY_MODE_BATCH    
                                         0: LSA_POLICY_MODE_SERVICE  
                                         0: LSA_POLICY_MODE_PROXY    
                                         0: LSA_POLICY_MODE_DENY_INTERACTIVE
                                         0: LSA_POLICY_MODE_DENY_NETWORK
                                         0: LSA_POLICY_MODE_DENY_BATCH
                                         0: LSA_POLICY_MODE_DENY_SERVICE
                                         0: LSA_POLICY_MODE_REMOTE_INTERACTIVE
                                         0: LSA_POLICY_MODE_DENY_REMOTE_INTERACTIVE
                                      0x00: LSA_POLICY_MODE_ALL       (0)
                                      0x00: LSA_POLICY_MODE_ALL_NT4   (0)
                          unix_token               : *
                              unix_token: struct security_unix_token
                                  uid                      : 0x00000000000003e8 (1000)
                                  gid                      : 0x00000000000003e8 (1000)
                                  ngroups                  : 0x00000004 (4)
                                  groups: ARRAY(4)
                                      groups                   : 0x00000000000003e8 (1000)
                                      groups                   : 0x000000000000000a (10)
                                      groups                   : 0x00000000000003e9 (1001)
                                      groups                   : 0x00000000000003ea (1002)
                          info                     : *
                              info: struct auth_user_info
                                  account_name             : *
                                      account_name             : 'chris'
                                  user_principal_name      : NULL
                                  user_principal_constructed: 0x00 (0)
                                  domain_name              : *
                                      domain_name              : 'F23S'
                                  dns_domain_name          : NULL
                                  full_name                : *
                                      full_name                : 'chris'
                                  logon_script             : *
                                      logon_script             : ''
                                  profile_path             : *
                                      profile_path             : '\\f27s\chris\profile'
                                  home_directory           : *
                                      home_directory           : '\\f27s\chris'
                                  home_drive               : *
                                      home_drive               : ''
                                  logon_server             : *
                                      logon_server             : 'F27S'
                                  last_logon               : NTTIME(0)
                                  last_logoff              : Wed Sep 13 07:48:05 PM 30828 MST
                                  acct_expiry              : Wed Sep 13 07:48:05 PM 30828 MST
                                  last_password_change     : Tue Feb 16 06:46:18 PM 2016 MST
                                  allow_password_change    : Tue Feb 16 06:46:18 PM 2016 MST
                                  force_password_change    : Wed Sep 13 07:48:05 PM 30828 MST
                                  logon_count              : 0x0000 (0)
                                  bad_password_count       : 0x0000 (0)
                                  acct_flags               : 0x00000010 (16)
                                  authenticated            : 0x01 (1)
                          unix_info                : *
                              unix_info: struct auth_user_info_unix
                                  unix_name                : *
                                      unix_name                : 'chris'
                                  sanitized_username       : *
                                      sanitized_username       : 'chris'
                          torture                  : NULL
                          credentials              : NULL
                  connection_dialect       : 0x0311 (785)
                  signing_flags            : 0x06 (6)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         1: SMBXSRV_PROCESSED_SIGNED_PACKET
                         1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  encryption_flags         : 0x08 (8)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  num_channels             : 0x00000001 (1)
                  channels: ARRAY(1)
                      channels: struct smbXsrv_channel_global0
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          local_address            : 'ipv4:10.0.0.250:445'
                          remote_address           : 'ipv4:10.0.0.119:51692'
                          remote_name              : '10.0.0.119'
                          auth_session_info_seqnum : 0x00000001 (1)
                          connection               : *
                          encryption_cipher        : 0x0001 (1)
[2018/01/03 15:39:40.742227,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_session_global.tdb
[2018/01/03 15:39:40.742284, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.742332, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key A4EC49F4
[2018/01/03 15:39:40.742375, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1406(smbXsrv_session_update)
[2018/01/03 15:39:40.742403, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_session.c:1414(smbXsrv_session_update)
  smbXsrv_session_update: global_id (0xa4ec49f4) stored
[2018/01/03 15:39:40.742446,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &session_blob: struct smbXsrv_sessionB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_sessionU(case 0)
          info0                    : *
              info0: struct smbXsrv_session
                  table                    : *
                  db_rec                   : NULL
                  client                   : *
                  local_id                 : 0xa4ec49f4 (2766948852)
                  global                   : *
                      global: struct smbXsrv_session_global0
                          db_rec                   : NULL
                          session_global_id        : 0xa4ec49f4 (2766948852)
                          session_wire_id          : 0x00000000a4ec49f4 (2766948852)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          expiration_time          : Wed Dec 31 05:00:00 PM 1969 MST
                          auth_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          auth_session_info_seqnum : 0x00000001 (1)
                          auth_session_info        : *
                              auth_session_info: struct auth_session_info
                                  security_token           : *
                                      security_token: struct security_token
                                          num_sids                 : 0x0000000a (10)
                                          sids: ARRAY(10)
                                              sids                     : S-1-5-21-261696024-2635901569-2695960132-1000
                                              sids                     : S-1-5-21-261696024-2635901569-2695960132-513
                                              sids                     : S-1-22-2-1000
                                              sids                     : S-1-22-2-10
                                              sids                     : S-1-22-2-1001
                                              sids                     : S-1-22-2-1002
                                              sids                     : S-1-1-0
                                              sids                     : S-1-5-2
                                              sids                     : S-1-5-11
                                              sids                     : S-1-22-1-1000
                                          privilege_mask           : 0x0000000000000000 (0)
                                                 0: SEC_PRIV_MACHINE_ACCOUNT_BIT
                                                 0: SEC_PRIV_PRINT_OPERATOR_BIT
                                                 0: SEC_PRIV_ADD_USERS_BIT   
                                                 0: SEC_PRIV_DISK_OPERATOR_BIT
                                                 0: SEC_PRIV_REMOTE_SHUTDOWN_BIT
                                                 0: SEC_PRIV_BACKUP_BIT      
                                                 0: SEC_PRIV_RESTORE_BIT     
                                                 0: SEC_PRIV_TAKE_OWNERSHIP_BIT
                                                 0: SEC_PRIV_INCREASE_QUOTA_BIT
                                                 0: SEC_PRIV_SECURITY_BIT    
                                                 0: SEC_PRIV_LOAD_DRIVER_BIT 
                                                 0: SEC_PRIV_SYSTEM_PROFILE_BIT
                                                 0: SEC_PRIV_SYSTEMTIME_BIT  
                                                 0: SEC_PRIV_PROFILE_SINGLE_PROCESS_BIT
                                                 0: SEC_PRIV_INCREASE_BASE_PRIORITY_BIT
                                                 0: SEC_PRIV_CREATE_PAGEFILE_BIT
                                                 0: SEC_PRIV_SHUTDOWN_BIT    
                                                 0: SEC_PRIV_DEBUG_BIT       
                                                 0: SEC_PRIV_SYSTEM_ENVIRONMENT_BIT
                                                 0: SEC_PRIV_CHANGE_NOTIFY_BIT
                                                 0: SEC_PRIV_UNDOCK_BIT      
                                                 0: SEC_PRIV_ENABLE_DELEGATION_BIT
                                                 0: SEC_PRIV_MANAGE_VOLUME_BIT
                                                 0: SEC_PRIV_IMPERSONATE_BIT 
                                                 0: SEC_PRIV_CREATE_GLOBAL_BIT
                                          rights_mask              : 0x00000000 (0)
                                                 0: LSA_POLICY_MODE_INTERACTIVE
                                                 0: LSA_POLICY_MODE_NETWORK  
                                                 0: LSA_POLICY_MODE_BATCH    
                                                 0: LSA_POLICY_MODE_SERVICE  
                                                 0: LSA_POLICY_MODE_PROXY    
                                                 0: LSA_POLICY_MODE_DENY_INTERACTIVE
                                                 0: LSA_POLICY_MODE_DENY_NETWORK
                                                 0: LSA_POLICY_MODE_DENY_BATCH
                                                 0: LSA_POLICY_MODE_DENY_SERVICE
                                                 0: LSA_POLICY_MODE_REMOTE_INTERACTIVE
                                                 0: LSA_POLICY_MODE_DENY_REMOTE_INTERACTIVE
                                              0x00: LSA_POLICY_MODE_ALL       (0)
                                              0x00: LSA_POLICY_MODE_ALL_NT4   (0)
                                  unix_token               : *
                                      unix_token: struct security_unix_token
                                          uid                      : 0x00000000000003e8 (1000)
                                          gid                      : 0x00000000000003e8 (1000)
                                          ngroups                  : 0x00000004 (4)
                                          groups: ARRAY(4)
                                              groups                   : 0x00000000000003e8 (1000)
                                              groups                   : 0x000000000000000a (10)
                                              groups                   : 0x00000000000003e9 (1001)
                                              groups                   : 0x00000000000003ea (1002)
                                  info                     : *
                                      info: struct auth_user_info
                                          account_name             : *
                                              account_name             : 'chris'
                                          user_principal_name      : NULL
                                          user_principal_constructed: 0x00 (0)
                                          domain_name              : *
                                              domain_name              : 'F23S'
                                          dns_domain_name          : NULL
                                          full_name                : *
                                              full_name                : 'chris'
                                          logon_script             : *
                                              logon_script             : ''
                                          profile_path             : *
                                              profile_path             : '\\f27s\chris\profile'
                                          home_directory           : *
                                              home_directory           : '\\f27s\chris'
                                          home_drive               : *
                                              home_drive               : ''
                                          logon_server             : *
                                              logon_server             : 'F27S'
                                          last_logon               : NTTIME(0)
                                          last_logoff              : Wed Sep 13 07:48:05 PM 30828 MST
                                          acct_expiry              : Wed Sep 13 07:48:05 PM 30828 MST
                                          last_password_change     : Tue Feb 16 06:46:18 PM 2016 MST
                                          allow_password_change    : Tue Feb 16 06:46:18 PM 2016 MST
                                          force_password_change    : Wed Sep 13 07:48:05 PM 30828 MST
                                          logon_count              : 0x0000 (0)
                                          bad_password_count       : 0x0000 (0)
                                          acct_flags               : 0x00000010 (16)
                                          authenticated            : 0x01 (1)
                                  unix_info                : *
                                      unix_info: struct auth_user_info_unix
                                          unix_name                : *
                                              unix_name                : 'chris'
                                          sanitized_username       : *
                                              sanitized_username       : 'chris'
                                  torture                  : NULL
                                  credentials              : NULL
                          connection_dialect       : 0x0311 (785)
                          signing_flags            : 0x06 (6)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 1: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                          encryption_flags         : 0x08 (8)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          num_channels             : 0x00000001 (1)
                          channels: ARRAY(1)
                              channels: struct smbXsrv_channel_global0
                                  server_id: struct server_id
                                      pid                      : 0x00000000000025c1 (9665)
                                      task_id                  : 0x00000000 (0)
                                      vnn                      : 0xffffffff (4294967295)
                                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                                  local_address            : 'ipv4:10.0.0.250:445'
                                  remote_address           : 'ipv4:10.0.0.119:51692'
                                  remote_name              : '10.0.0.119'
                                  auth_session_info_seqnum : 0x00000001 (1)
                                  connection               : *
                                  encryption_cipher        : 0x0001 (1)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  nonce_high_random        : 0x619d879420220ebb (7033927263286595259)
                  nonce_high_max           : 0x0000000000ffffff (16777215)
                  nonce_high               : 0x0000000000000000 (0)
                  nonce_low                : 0x0000000000000000 (0)
                  compat                   : *
                  tcon_table               : *
                  pending_auth             : NULL
[2018/01/03 15:39:40.745182,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.745227,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.745268,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.745338,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.745397, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_tcon.c:211(smbd_smb2_tree_connect)
  smbd_smb2_tree_connect: path[\\f27s.local\IPC$] share[IPC$]
[2018/01/03 15:39:40.745494,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.745538, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_tcon_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.745586, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 91579BA4
[2018/01/03 15:39:40.745661, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b368e0
[2018/01/03 15:39:40.754384, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:710(smbXsrv_tcon_global_store)
[2018/01/03 15:39:40.754512, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:712(smbXsrv_tcon_global_store)
  smbXsrv_tcon_global_store: key '91579BA4' stored
[2018/01/03 15:39:40.754583,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_tcon_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_tcon_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon_global0
                  db_rec                   : *
                  tcon_global_id           : 0x91579ba4 (2438437796)
                  tcon_wire_id             : 0x91579ba4 (2438437796)
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  share_name               : NULL
                  encryption_flags         : 0x00 (0)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  session_global_id        : 0x00000000 (0)
                  signing_flags            : 0x00 (0)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
[2018/01/03 15:39:40.755210, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 91579BA4
[2018/01/03 15:39:40.755270,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.755326, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.755384, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:832(smbXsrv_tcon_create)
[2018/01/03 15:39:40.755421, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:840(smbXsrv_tcon_create)
  smbXsrv_tcon_create: global_id (0x91579ba4) stored
[2018/01/03 15:39:40.755486,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &tcon_blob: struct smbXsrv_tconB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_tconU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x91579ba4 (2438437796)
                  global                   : *
                      global: struct smbXsrv_tcon_global0
                          db_rec                   : NULL
                          tcon_global_id           : 0x91579ba4 (2438437796)
                          tcon_wire_id             : 0x91579ba4 (2438437796)
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          share_name               : NULL
                          encryption_flags         : 0x00 (0)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          session_global_id        : 0x00000000 (0)
                          signing_flags            : 0x00 (0)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  status                   : NT_STATUS_INTERNAL_ERROR
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
[2018/01/03 15:39:40.756253,  3, pid=9665, effective(0, 0), real(0, 0)] ../lib/util/access.c:361(allow_access)
  Allowed connection from 10.0.0.119 (10.0.0.119)
[2018/01/03 15:39:40.756322, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:219(user_ok_token)
  user_ok_token: share IPC$ is ok for unix user chris
[2018/01/03 15:39:40.756469, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:69(set_conn_connectpath)
  set_conn_connectpath: service IPC$, connectpath = /tmp
[2018/01/03 15:39:40.756557,  3, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:595(make_connection_snum)
  Connect path is '/tmp' for service [IPC$]
[2018/01/03 15:39:40.756616, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:219(user_ok_token)
  user_ok_token: share IPC$ is ok for unix user chris
[2018/01/03 15:39:40.756674, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:266(is_share_read_only_for_token)
  is_share_read_only_for_user: share IPC$ is read-only for unix user chris
[2018/01/03 15:39:40.756793, 10, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/access_check.c:337(se_file_access_check)
  se_file_access_check: MAX desired = 0x2000000 mapped to 0x1f01ff
[2018/01/03 15:39:40.756853,  3, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:113(vfs_init_default)
  Initialising default vfs hooks
[2018/01/03 15:39:40.756917, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:64(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
[2018/01/03 15:39:40.756972,  5, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:103(smb_register_vfs)
  Successfully added vfs backend '/[Default VFS]/'
[2018/01/03 15:39:40.757034, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:64(vfs_find_backend_entry)
  vfs_find_backend_entry called for posixacl
[2018/01/03 15:39:40.757090,  5, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:103(smb_register_vfs)
  Successfully added vfs backend 'posixacl'
[2018/01/03 15:39:40.757142,  3, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:139(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2018/01/03 15:39:40.757197, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:64(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2018/01/03 15:39:40.757414, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:69(set_conn_connectpath)
  set_conn_connectpath: service IPC$, connectpath = /tmp
[2018/01/03 15:39:40.757496, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:219(user_ok_token)
  user_ok_token: share IPC$ is ok for unix user chris
[2018/01/03 15:39:40.757556, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:266(is_share_read_only_for_token)
  is_share_read_only_for_user: share IPC$ is read-only for unix user chris
[2018/01/03 15:39:40.757633, 10, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/access_check.c:337(se_file_access_check)
  se_file_access_check: MAX desired = 0x2000000 mapped to 0x1f01ff
[2018/01/03 15:39:40.757745,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.757804,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:39:40.758085,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:39:40.758243,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:39:40.758305,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.758360,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.758413,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.758534,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.758605, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:69(set_conn_connectpath)
  set_conn_connectpath: service IPC$, connectpath = /tmp
[2018/01/03 15:39:40.758687, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/modules/vfs_default.c:178(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share IPC$, directory /tmp
[2018/01/03 15:39:40.758745,  3, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:841(make_connection_snum)
  f27h (ipv4:10.0.0.119:51692) connect to service IPC$ initially as user chris (uid=1000, gid=1000) (pid 9665)
[2018/01/03 15:39:40.758834,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.758891, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_tcon_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.758951, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 91579BA4
[2018/01/03 15:39:40.759011, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b53310
[2018/01/03 15:39:40.759083, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:710(smbXsrv_tcon_global_store)
[2018/01/03 15:39:40.759120, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:712(smbXsrv_tcon_global_store)
  smbXsrv_tcon_global_store: key '91579BA4' stored
[2018/01/03 15:39:40.759177,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_tcon_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000002 (2)
          info                     : union smbXsrv_tcon_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon_global0
                  db_rec                   : *
                  tcon_global_id           : 0x91579ba4 (2438437796)
                  tcon_wire_id             : 0x91579ba4 (2438437796)
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  share_name               : 'IPC$'
                  encryption_flags         : 0x00 (0)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  session_global_id        : 0xa4ec49f4 (2766948852)
                  signing_flags            : 0x00 (0)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
[2018/01/03 15:39:40.759765, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 91579BA4
[2018/01/03 15:39:40.759821,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.759876, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.759933, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:877(smbXsrv_tcon_update)
[2018/01/03 15:39:40.759987, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:885(smbXsrv_tcon_update)
  smbXsrv_tcon_update: global_id (0x91579ba4) stored
[2018/01/03 15:39:40.760041,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &tcon_blob: struct smbXsrv_tconB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_tconU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x91579ba4 (2438437796)
                  global                   : *
                      global: struct smbXsrv_tcon_global0
                          db_rec                   : NULL
                          tcon_global_id           : 0x91579ba4 (2438437796)
                          tcon_wire_id             : 0x91579ba4 (2438437796)
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          share_name               : 'IPC$'
                          encryption_flags         : 0x00 (0)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          session_global_id        : 0xa4ec49f4 (2766948852)
                          signing_flags            : 0x00 (0)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : *
[2018/01/03 15:39:40.760806, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[16] dyn[no:0] at ../source3/smbd/smb2_tcon.c:170
[2018/01/03 15:39:40.760867, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 8160, charge 1, granted 33, current possible/max 480/512, total granted/max/low/range 65/8192/5/65
[2018/01/03 15:39:40.760932,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/smb/smb2_signing.c:93(smb2_signing_sign_pdu)
  signed SMB2 message
[2018/01/03 15:39:40.764841, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.764973, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 5 (position 5) from bitmap
[2018/01/03 15:39:40.765037, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_IOCTL] mid = 5
[2018/01/03 15:39:40.765126,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.765190,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:39:40.765566,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:39:40.765739,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:39:40.765812,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /tmp
[2018/01/03 15:39:40.765916,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /tmp
[2018/01/03 15:39:40.765978,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.766027, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_tcon_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.766081, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 91579BA4
[2018/01/03 15:39:40.766133, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b53310
[2018/01/03 15:39:40.766206, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:710(smbXsrv_tcon_global_store)
[2018/01/03 15:39:40.766240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:712(smbXsrv_tcon_global_store)
  smbXsrv_tcon_global_store: key '91579BA4' stored
[2018/01/03 15:39:40.766290,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_tcon_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000003 (3)
          info                     : union smbXsrv_tcon_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon_global0
                  db_rec                   : *
                  tcon_global_id           : 0x91579ba4 (2438437796)
                  tcon_wire_id             : 0x91579ba4 (2438437796)
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  share_name               : 'IPC$'
                  encryption_flags         : 0x08 (8)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  session_global_id        : 0xa4ec49f4 (2766948852)
                  signing_flags            : 0x04 (4)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
[2018/01/03 15:39:40.766815, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 91579BA4
[2018/01/03 15:39:40.766882,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.766931, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.766981, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:877(smbXsrv_tcon_update)
[2018/01/03 15:39:40.767014, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:885(smbXsrv_tcon_update)
  smbXsrv_tcon_update: global_id (0x91579ba4) stored
[2018/01/03 15:39:40.767061,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &tcon_blob: struct smbXsrv_tconB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_tconU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x91579ba4 (2438437796)
                  global                   : *
                      global: struct smbXsrv_tcon_global0
                          db_rec                   : NULL
                          tcon_global_id           : 0x91579ba4 (2438437796)
                          tcon_wire_id             : 0x91579ba4 (2438437796)
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          share_name               : 'IPC$'
                          encryption_flags         : 0x08 (8)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          session_global_id        : 0xa4ec49f4 (2766948852)
                          signing_flags            : 0x04 (4)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : *
[2018/01/03 15:39:40.767728, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 5, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:40.767779, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_ioctl.c:394(smbd_smb2_ioctl_send)
  smbd_smb2_ioctl: ctl_code[0x00060194] <no handle>, fnum [fsp is NULL]
[2018/01/03 15:39:40.767855, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/modules/vfs_default.c:196(vfswrap_get_dfs_referrals)
[2018/01/03 15:39:40.767889,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:468(ndr_print_function_debug)
       dfs_GetDFSReferral: struct dfs_GetDFSReferral
          in: struct dfs_GetDFSReferral
              req: struct dfs_GetDFSReferral_in
                  max_referral_level       : 0x0003 (3)
                  servername               : '\f27s.local\scratch'
[2018/01/03 15:39:40.768040, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=msdfs] ../source3/smbd/msdfs.c:129(parse_dfs_path)
  parse_dfs_path: temp = |f27s.local\scratch| after trimming \'s
[2018/01/03 15:39:40.768105, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=msdfs] ../source3/smbd/msdfs.c:154(parse_dfs_path)
  parse_dfs_path: hostname: f27s.local
[2018/01/03 15:39:40.768153, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=msdfs] ../source3/smbd/msdfs.c:196(parse_dfs_path)
  parse_dfs_path: servicename: scratch
[2018/01/03 15:39:40.768213,  3, pid=9665, effective(1000, 1000), real(1000, 0), class=msdfs] ../source3/smbd/msdfs.c:1008(get_referred_path)
  get_referred_path: |scratch| in dfs path \f27s.local\scratch is not a dfs root.
[2018/01/03 15:39:40.768270, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_ioctl.c:291(smbd_smb2_request_ioctl_done)
  smbd_smb2_request_ioctl_done: smbd_smb2_ioctl_recv returned 0 status NT_STATUS_NOT_FOUND
[2018/01/03 15:39:40.768323,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3120(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NOT_FOUND] || at ../source3/smbd/smb2_ioctl.c:309
[2018/01/03 15:39:40.768377, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_NOT_FOUND] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:3168
[2018/01/03 15:39:40.768431, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 8128, charge 1, granted 33, current possible/max 448/512, total granted/max/low/range 97/8192/6/97
[2018/01/03 15:39:40.771718, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.771852, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 6 (position 6) from bitmap
[2018/01/03 15:39:40.771918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_TDIS] mid = 6
[2018/01/03 15:39:40.771994,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.772057,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.772117,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.772177,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.772284,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
  smbd_smb2_request_pending_queue: req->current_idx = 1
  	req->in.vector[0].iov_len = 0
  	req->in.vector[1].iov_len = 0
  	req->in.vector[2].iov_len = 64
  	req->in.vector[3].iov_len = 4
  	req->in.vector[4].iov_len = 0
  	req->out.vector[0].iov_len = 4
  	req->out.vector[1].iov_len = 0
  	req->out.vector[2].iov_len = 64
  	req->out.vector[3].iov_len = 8
  	req->out.vector[4].iov_len = 0
[2018/01/03 15:39:40.772606,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.772666,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.772720,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.772839,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.772900,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.772962, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_tcon_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.773029, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 91579BA4
[2018/01/03 15:39:40.773093, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b53310
[2018/01/03 15:39:40.773177, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 91579BA4
[2018/01/03 15:39:40.773235,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.773282, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.773338,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.773385,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.773431,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.773512,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.773561,  3, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:1120(close_cnum)
  f27h (ipv4:10.0.0.119:51692) closed connection to service IPC$
[2018/01/03 15:39:40.773628,  4, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /
[2018/01/03 15:39:40.773727,  4, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /
[2018/01/03 15:39:40.773779,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.773827,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.773872,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.773939,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.774005, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[4] dyn[no:0] at ../source3/smbd/smb2_tcon.c:524
[2018/01/03 15:39:40.774060, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 8096, charge 1, granted 33, current possible/max 416/512, total granted/max/low/range 129/8192/7/129
[2018/01/03 15:39:40.777820, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.777953, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 7 (position 7) from bitmap
[2018/01/03 15:39:40.778057, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_TCON] mid = 7
[2018/01/03 15:39:40.778135,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.778196,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.778256,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.778353,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.778425, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_tcon.c:211(smbd_smb2_tree_connect)
  smbd_smb2_tree_connect: path[\\f27s.local\scratch] share[scratch]
[2018/01/03 15:39:40.778546,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.778606, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_tcon_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.778674, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9EE5B827
[2018/01/03 15:39:40.778737, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.778837, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:710(smbXsrv_tcon_global_store)
[2018/01/03 15:39:40.778881, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:712(smbXsrv_tcon_global_store)
  smbXsrv_tcon_global_store: key '9EE5B827' stored
[2018/01/03 15:39:40.778944,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_tcon_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_tcon_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon_global0
                  db_rec                   : *
                  tcon_global_id           : 0x9ee5b827 (2665855015)
                  tcon_wire_id             : 0x9ee5b827 (2665855015)
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  share_name               : NULL
                  encryption_flags         : 0x00 (0)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  session_global_id        : 0x00000000 (0)
                  signing_flags            : 0x00 (0)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
[2018/01/03 15:39:40.779588, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9EE5B827
[2018/01/03 15:39:40.779650,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.779729, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.779790, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:832(smbXsrv_tcon_create)
[2018/01/03 15:39:40.779829, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:840(smbXsrv_tcon_create)
  smbXsrv_tcon_create: global_id (0x9ee5b827) stored
[2018/01/03 15:39:40.779886,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &tcon_blob: struct smbXsrv_tconB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_tconU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x9ee5b827 (2665855015)
                  global                   : *
                      global: struct smbXsrv_tcon_global0
                          db_rec                   : NULL
                          tcon_global_id           : 0x9ee5b827 (2665855015)
                          tcon_wire_id             : 0x9ee5b827 (2665855015)
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          share_name               : NULL
                          encryption_flags         : 0x00 (0)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          session_global_id        : 0x00000000 (0)
                          signing_flags            : 0x00 (0)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  status                   : NT_STATUS_INTERNAL_ERROR
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
[2018/01/03 15:39:40.780719,  3, pid=9665, effective(0, 0), real(0, 0)] ../lib/util/access.c:361(allow_access)
  Allowed connection from 10.0.0.119 (10.0.0.119)
[2018/01/03 15:39:40.780798,  3, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  string_to_sid: SID chris is not in a valid format
[2018/01/03 15:39:40.780871, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:113(lookup_name)
  lookup_name: F27S\chris => domain=[F27S], name=[chris]
[2018/01/03 15:39:40.780930, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:114(lookup_name)
  lookup_name: flags = 0x073
[2018/01/03 15:39:40.780996,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.781059,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/01/03 15:39:40.781118,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.781192,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.781251,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.781369, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:570(pdb_set_username)
  pdb_set_username: setting username chris, was 
[2018/01/03 15:39:40.781431, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:593(pdb_set_domain)
  pdb_set_domain: setting domain F23S, was 
[2018/01/03 15:39:40.781507, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:616(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2018/01/03 15:39:40.781566, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:639(pdb_set_fullname)
  pdb_set_full_name: setting full name chris, was 
[2018/01/03 15:39:40.781631,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.781701, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:732(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\f27s\chris, was 
[2018/01/03 15:39:40.781762, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:708(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2018/01/03 15:39:40.781823, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:662(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2018/01/03 15:39:40.781886,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.781949, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:685(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\f27s\chris\profile, was 
[2018/01/03 15:39:40.782013, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:775(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2018/01/03 15:39:40.782078,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.782137,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.782193,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.782249,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.782303,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.782398, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.782468,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.782545, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:495(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.782611, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-261696024-2635901569-2695960132-1000 from rid 1000
[2018/01/03 15:39:40.782697,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.782779,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.782838,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.782893,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.782948,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.783040, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2018/01/03 15:39:40.783107,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.783170,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:181(Get_Pwnam_alloc)
  Finding user chris
[2018/01/03 15:39:40.783229,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:120(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is chris
[2018/01/03 15:39:40.783301,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:159(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [chris]!
[2018/01/03 15:39:40.783377, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:40.783458,  3, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:1680(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for chris
[2018/01/03 15:39:40.783544,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.783602,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.783658,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.783714,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.783768,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.783859, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.783924,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.784011, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:570(pdb_set_username)
  pdb_set_username: setting username chris, was 
[2018/01/03 15:39:40.784073, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:593(pdb_set_domain)
  pdb_set_domain: setting domain F23S, was 
[2018/01/03 15:39:40.784130, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:616(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2018/01/03 15:39:40.784187, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:639(pdb_set_fullname)
  pdb_set_full_name: setting full name chris, was 
[2018/01/03 15:39:40.784248,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.784335, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:732(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\f27s\chris, was 
[2018/01/03 15:39:40.784394, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:708(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2018/01/03 15:39:40.784454, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:662(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2018/01/03 15:39:40.784530,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.784592, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:685(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\f27s\chris\profile, was 
[2018/01/03 15:39:40.784655, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:775(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2018/01/03 15:39:40.784716,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.784774,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.784831,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.784887,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.784941,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.785031, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.785098,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.785161, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:495(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.785225, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-261696024-2635901569-2695960132-1000 from rid 1000
[2018/01/03 15:39:40.785312, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:557(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-261696024-2635901569-2695960132-513
[2018/01/03 15:39:40.785394,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.785463, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:219(user_ok_token)
  user_ok_token: share scratch is ok for unix user chris
[2018/01/03 15:39:40.785618, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:69(set_conn_connectpath)
  set_conn_connectpath: service scratch, connectpath = /srv/scratch
[2018/01/03 15:39:40.785689,  3, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:595(make_connection_snum)
  Connect path is '/srv/scratch' for service [scratch]
[2018/01/03 15:39:40.785758,  3, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  string_to_sid: SID chris is not in a valid format
[2018/01/03 15:39:40.785823, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:113(lookup_name)
  lookup_name: F27S\chris => domain=[F27S], name=[chris]
[2018/01/03 15:39:40.785900, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:114(lookup_name)
  lookup_name: flags = 0x073
[2018/01/03 15:39:40.785961,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.786018,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/01/03 15:39:40.786074,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.786132,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.786188,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.786291, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:570(pdb_set_username)
  pdb_set_username: setting username chris, was 
[2018/01/03 15:39:40.786349, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:593(pdb_set_domain)
  pdb_set_domain: setting domain F23S, was 
[2018/01/03 15:39:40.786406, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:616(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2018/01/03 15:39:40.786462, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:639(pdb_set_fullname)
  pdb_set_full_name: setting full name chris, was 
[2018/01/03 15:39:40.786535,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.786601, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:732(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\f27s\chris, was 
[2018/01/03 15:39:40.786661, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:708(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2018/01/03 15:39:40.786719, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:662(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2018/01/03 15:39:40.786777,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.786838, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:685(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\f27s\chris\profile, was 
[2018/01/03 15:39:40.786900, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:775(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2018/01/03 15:39:40.786961,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.787021,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.787077,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.787133,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.787188,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.787279, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.787350,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.787431, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:495(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.787517, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-261696024-2635901569-2695960132-1000 from rid 1000
[2018/01/03 15:39:40.787602,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.787659,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.787715,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.787771,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.787825,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.787916, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2018/01/03 15:39:40.787984,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.788046,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:181(Get_Pwnam_alloc)
  Finding user chris
[2018/01/03 15:39:40.788104,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:120(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is chris
[2018/01/03 15:39:40.788170,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:159(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [chris]!
[2018/01/03 15:39:40.788243, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:40.788322,  3, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:1680(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for chris
[2018/01/03 15:39:40.788385,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.788443,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.788516,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.788574,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.788633,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.788693, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.788736,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.788781, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:570(pdb_set_username)
  pdb_set_username: setting username chris, was 
[2018/01/03 15:39:40.788820, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:593(pdb_set_domain)
  pdb_set_domain: setting domain F23S, was 
[2018/01/03 15:39:40.788871, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:616(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2018/01/03 15:39:40.788910, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:639(pdb_set_fullname)
  pdb_set_full_name: setting full name chris, was 
[2018/01/03 15:39:40.788949,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.788991, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:732(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\f27s\chris, was 
[2018/01/03 15:39:40.789031, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:708(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2018/01/03 15:39:40.789071, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:662(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2018/01/03 15:39:40.789111,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.789154, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:685(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\f27s\chris\profile, was 
[2018/01/03 15:39:40.789193, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:775(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2018/01/03 15:39:40.789235,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.789274,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.789312,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.789349,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.789385,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.789445, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.789500,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.789540, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:495(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.789582, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-261696024-2635901569-2695960132-1000 from rid 1000
[2018/01/03 15:39:40.789638, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:557(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-261696024-2635901569-2695960132-513
[2018/01/03 15:39:40.789692,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.789737, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:219(user_ok_token)
  user_ok_token: share scratch is ok for unix user chris
[2018/01/03 15:39:40.789780, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:266(is_share_read_only_for_token)
  is_share_read_only_for_user: share scratch is read-write for unix user chris
[2018/01/03 15:39:40.789851, 10, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/access_check.c:337(se_file_access_check)
  se_file_access_check: MAX desired = 0x2000000 mapped to 0x1f01ff
[2018/01/03 15:39:40.789894,  3, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:113(vfs_init_default)
  Initialising default vfs hooks
[2018/01/03 15:39:40.789932,  3, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:139(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2018/01/03 15:39:40.789971, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:64(vfs_find_backend_entry)
  vfs_find_backend_entry called for /[Default VFS]/
  Successfully loaded vfs module [/[Default VFS]/] with the new modules system
[2018/01/03 15:39:40.790022,  3, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:139(vfs_init_custom)
  Initialising custom vfs hooks from [btrfs]
[2018/01/03 15:39:40.790060, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:64(vfs_find_backend_entry)
  vfs_find_backend_entry called for btrfs
[2018/01/03 15:39:40.790098,  5, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:179(vfs_init_custom)
  vfs module [btrfs] not loaded - trying to load...
[2018/01/03 15:39:40.790139,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/util/modules.c:160(load_module_absolute_path)
  load_module_absolute_path: Loading module '/usr/lib64/samba/vfs/btrfs.so'
[2018/01/03 15:39:40.796393,  3, pid=9665, effective(0, 0), real(0, 0)] ../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib64/samba/vfs/btrfs.so' loaded
[2018/01/03 15:39:40.796529, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:64(vfs_find_backend_entry)
  vfs_find_backend_entry called for btrfs
[2018/01/03 15:39:40.796571,  5, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:103(smb_register_vfs)
  Successfully added vfs backend 'btrfs'
[2018/01/03 15:39:40.796612, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/smbd/vfs.c:64(vfs_find_backend_entry)
  vfs_find_backend_entry called for btrfs
  Successfully loaded vfs module [btrfs] with the new modules system
[2018/01/03 15:39:40.796753, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/notify_msg.c:81(notify_init)
  notify_init: notifyd=9658
[2018/01/03 15:39:40.796798,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:450(messaging_register)
  Registering messaging pointer for type 784 - private_data=0x559430b3dd60
[2018/01/03 15:39:40.796842,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:450(messaging_register)
  Registering messaging pointer for type 793 - private_data=0x559430b35f20
[2018/01/03 15:39:40.796881,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:450(messaging_register)
  Registering messaging pointer for type 799 - private_data=0x559430b35f20
[2018/01/03 15:39:40.796942, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:69(set_conn_connectpath)
  set_conn_connectpath: service scratch, connectpath = /srv/scratch
[2018/01/03 15:39:40.796997,  3, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/dom_sid.c:210(dom_sid_parse_endp)
  string_to_sid: SID chris is not in a valid format
[2018/01/03 15:39:40.797047, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:113(lookup_name)
  lookup_name: F27S\chris => domain=[F27S], name=[chris]
[2018/01/03 15:39:40.797086, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:114(lookup_name)
  lookup_name: flags = 0x073
[2018/01/03 15:39:40.797131,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.797172,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/01/03 15:39:40.797240,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.797278,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.797315,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.797414, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:570(pdb_set_username)
  pdb_set_username: setting username chris, was 
[2018/01/03 15:39:40.797454, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:593(pdb_set_domain)
  pdb_set_domain: setting domain F23S, was 
[2018/01/03 15:39:40.797508, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:616(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2018/01/03 15:39:40.797546, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:639(pdb_set_fullname)
  pdb_set_full_name: setting full name chris, was 
[2018/01/03 15:39:40.797587,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.797635, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:732(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\f27s\chris, was 
[2018/01/03 15:39:40.797674, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:708(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2018/01/03 15:39:40.797714, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:662(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2018/01/03 15:39:40.797754,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.797795, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:685(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\f27s\chris\profile, was 
[2018/01/03 15:39:40.797834, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:775(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2018/01/03 15:39:40.797878,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.797917,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.797954,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.797992,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.798028,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.798091, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.798136,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.798178, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:495(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.798240, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-261696024-2635901569-2695960132-1000 from rid 1000
[2018/01/03 15:39:40.798298,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.798337,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.798374,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.798412,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.798448,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.798519, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: maximum password age, val: -1
[2018/01/03 15:39:40.798564,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.798606,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:181(Get_Pwnam_alloc)
  Finding user chris
[2018/01/03 15:39:40.798644,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:120(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is chris
[2018/01/03 15:39:40.798689,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/username.c:159(Get_Pwnam_internals)
  Get_Pwnam_internals did find user [chris]!
[2018/01/03 15:39:40.798743, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:40.798797,  3, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/lookup_sid.c:1680(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for chris
[2018/01/03 15:39:40.798840,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.798878,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.798916,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.798953,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.798989,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.799051, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.799094,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.799141, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:570(pdb_set_username)
  pdb_set_username: setting username chris, was 
[2018/01/03 15:39:40.799181, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:593(pdb_set_domain)
  pdb_set_domain: setting domain F23S, was 
[2018/01/03 15:39:40.799219, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:616(pdb_set_nt_username)
  pdb_set_nt_username: setting nt username , was 
[2018/01/03 15:39:40.799257, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:639(pdb_set_fullname)
  pdb_set_full_name: setting full name chris, was 
[2018/01/03 15:39:40.799316,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.799359, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:732(pdb_set_homedir)
  pdb_set_homedir: setting home dir \\f27s\chris, was 
[2018/01/03 15:39:40.799397, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:708(pdb_set_dir_drive)
  pdb_set_dir_drive: setting dir drive , was NULL
[2018/01/03 15:39:40.799438, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:662(pdb_set_logon_script)
  pdb_set_logon_script: setting logon script , was 
[2018/01/03 15:39:40.799496,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/substitute.c:435(automount_server)
  Home server: f27s
[2018/01/03 15:39:40.799539, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:685(pdb_set_profile_path)
  pdb_set_profile_path: setting profile path \\f27s\chris\profile, was 
[2018/01/03 15:39:40.799579, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:775(pdb_set_workstations)
  pdb_set_workstations: setting workstations , was 
[2018/01/03 15:39:40.799622,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.799661,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:491(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2018/01/03 15:39:40.799699,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2018/01/03 15:39:40.799736,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.799772,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.799833, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/passdb/account_pol.c:362(account_policy_get)
  account_policy_get: name: password history, val: 0
[2018/01/03 15:39:40.799877,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/01/03 15:39:40.799917, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:495(pdb_set_user_sid)
  pdb_set_user_sid: setting user sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.799959, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_compat.c:73(pdb_set_user_sid_from_rid)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-261696024-2635901569-2695960132-1000 from rid 1000
[2018/01/03 15:39:40.800016, 10, pid=9665, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_get_set.c:557(pdb_set_group_sid)
  pdb_set_group_sid: setting group sid S-1-5-21-261696024-2635901569-2695960132-513
[2018/01/03 15:39:40.800072,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.800120, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:219(user_ok_token)
  user_ok_token: share scratch is ok for unix user chris
[2018/01/03 15:39:40.800164, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/share_access.c:266(is_share_read_only_for_token)
  is_share_read_only_for_user: share scratch is read-write for unix user chris
[2018/01/03 15:39:40.800224, 10, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/access_check.c:337(se_file_access_check)
  se_file_access_check: MAX desired = 0x2000000 mapped to 0x1f01ff
[2018/01/03 15:39:40.800325,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.800383,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:39:40.800588,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:39:40.800693,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:39:40.800738,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.800776,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.800812,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.800871,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.800930, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:69(set_conn_connectpath)
  set_conn_connectpath: service scratch, connectpath = /srv/scratch
[2018/01/03 15:39:40.801002, 10, pid=9665, effective(0, 0), real(0, 0), class=vfs] ../source3/modules/vfs_default.c:178(vfswrap_fs_capabilities)
  vfswrap_fs_capabilities: timestamp resolution of sec available on share scratch, directory /srv/scratch
[2018/01/03 15:39:40.801043,  2, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/service.c:841(make_connection_snum)
  f27h (ipv4:10.0.0.119:51692) connect to service scratch initially as user chris (uid=1000, gid=1000) (pid 9665)
[2018/01/03 15:39:40.801103,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.801142, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_tcon_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.801186, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9EE5B827
[2018/01/03 15:39:40.801228, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b53310
[2018/01/03 15:39:40.801281, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:710(smbXsrv_tcon_global_store)
[2018/01/03 15:39:40.801309, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:712(smbXsrv_tcon_global_store)
  smbXsrv_tcon_global_store: key '9EE5B827' stored
[2018/01/03 15:39:40.801349,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_tcon_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000002 (2)
          info                     : union smbXsrv_tcon_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon_global0
                  db_rec                   : *
                  tcon_global_id           : 0x9ee5b827 (2665855015)
                  tcon_wire_id             : 0x9ee5b827 (2665855015)
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  share_name               : 'scratch'
                  encryption_flags         : 0x00 (0)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  session_global_id        : 0xa4ec49f4 (2766948852)
                  signing_flags            : 0x00 (0)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
[2018/01/03 15:39:40.801788, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9EE5B827
[2018/01/03 15:39:40.801828,  5, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.801866, 10, pid=9665, effective(0, 0), real(0, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.801905, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:877(smbXsrv_tcon_update)
[2018/01/03 15:39:40.801931, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smbXsrv_tcon.c:885(smbXsrv_tcon_update)
  smbXsrv_tcon_update: global_id (0x9ee5b827) stored
[2018/01/03 15:39:40.801969,  1, pid=9665, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &tcon_blob: struct smbXsrv_tconB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_tconU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x9ee5b827 (2665855015)
                  global                   : *
                      global: struct smbXsrv_tcon_global0
                          db_rec                   : NULL
                          tcon_global_id           : 0x9ee5b827 (2665855015)
                          tcon_wire_id             : 0x9ee5b827 (2665855015)
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          share_name               : 'scratch'
                          encryption_flags         : 0x00 (0)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 0: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          session_global_id        : 0xa4ec49f4 (2766948852)
                          signing_flags            : 0x00 (0)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 0: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : *
[2018/01/03 15:39:40.802524, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[16] dyn[no:0] at ../source3/smbd/smb2_tcon.c:170
[2018/01/03 15:39:40.802568, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 8064, charge 1, granted 33, current possible/max 384/512, total granted/max/low/range 161/8192/8/161
[2018/01/03 15:39:40.802616,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/smb/smb2_signing.c:93(smb2_signing_sign_pdu)
  signed SMB2 message
[2018/01/03 15:39:40.808427, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.808583, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 8 (position 8) from bitmap
[2018/01/03 15:39:40.808653, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 8
[2018/01/03 15:39:40.808714,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.808758,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:39:40.808961,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:39:40.809078,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:39:40.809124,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /srv/scratch
[2018/01/03 15:39:40.809203,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch
[2018/01/03 15:39:40.809243,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.809282, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_tcon_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.809326, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9EE5B827
[2018/01/03 15:39:40.809368, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b53310
[2018/01/03 15:39:40.809429, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:710(smbXsrv_tcon_global_store)
[2018/01/03 15:39:40.809456, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:712(smbXsrv_tcon_global_store)
  smbXsrv_tcon_global_store: key '9EE5B827' stored
[2018/01/03 15:39:40.809506,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_tcon_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000003 (3)
          info                     : union smbXsrv_tcon_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon_global0
                  db_rec                   : *
                  tcon_global_id           : 0x9ee5b827 (2665855015)
                  tcon_wire_id             : 0x9ee5b827 (2665855015)
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                  share_name               : 'scratch'
                  encryption_flags         : 0x08 (8)
                         0: SMBXSRV_ENCRYPTION_REQUIRED
                         0: SMBXSRV_ENCRYPTION_DESIRED
                         0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                         1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                  session_global_id        : 0xa4ec49f4 (2766948852)
                  signing_flags            : 0x04 (4)
                         0: SMBXSRV_SIGNING_REQUIRED 
                         0: SMBXSRV_PROCESSED_SIGNED_PACKET
                         1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
[2018/01/03 15:39:40.809950, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9EE5B827
[2018/01/03 15:39:40.809990,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_tcon_global.tdb
[2018/01/03 15:39:40.810029, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.810070, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:877(smbXsrv_tcon_update)
[2018/01/03 15:39:40.810096, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_tcon.c:885(smbXsrv_tcon_update)
  smbXsrv_tcon_update: global_id (0x9ee5b827) stored
[2018/01/03 15:39:40.810134,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &tcon_blob: struct smbXsrv_tconB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_tconU(case 0)
          info0                    : *
              info0: struct smbXsrv_tcon
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x9ee5b827 (2665855015)
                  global                   : *
                      global: struct smbXsrv_tcon_global0
                          db_rec                   : NULL
                          tcon_global_id           : 0x9ee5b827 (2665855015)
                          tcon_wire_id             : 0x9ee5b827 (2665855015)
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          creation_time            : Wed Jan  3 03:39:41 PM 2018 MST
                          share_name               : 'scratch'
                          encryption_flags         : 0x08 (8)
                                 0: SMBXSRV_ENCRYPTION_REQUIRED
                                 0: SMBXSRV_ENCRYPTION_DESIRED
                                 0: SMBXSRV_PROCESSED_ENCRYPTED_PACKET
                                 1: SMBXSRV_PROCESSED_UNENCRYPTED_PACKET
                          session_global_id        : 0xa4ec49f4 (2766948852)
                          signing_flags            : 0x04 (4)
                                 0: SMBXSRV_SIGNING_REQUIRED 
                                 0: SMBXSRV_PROCESSED_SIGNED_PACKET
                                 1: SMBXSRV_PROCESSED_UNSIGNED_PACKET
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : *
[2018/01/03 15:39:40.810737, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:40.810792, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:40.810844,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:40.810900,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:40.810951, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:40.811013, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:40.811064,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:40.811117, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x10, 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 = .
[2018/01/03 15:39:40.811175, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:40.811231,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:40.811288, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:40.811462, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.811549, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:40.811607, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:40.811657, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.811714, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.811790, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.811850, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.811968, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.812020, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.812070, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:40.812133, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:40.812201,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.812252, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.812309, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E050B4AF
[2018/01/03 15:39:40.812386, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.812438, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:40.821652, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E050B4AF' stored
[2018/01/03 15:39:40.821806,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe050b4af (3763385519)
                  open_persistent_id       : 0x00000000e050b4af (3763385519)
                  open_volatile_id         : 0x00000000d04e7018 (3494801432)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:40.822787, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E050B4AF
[2018/01/03 15:39:40.822881,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.822968, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.823060, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe050b4af) stored
[2018/01/03 15:39:40.823144,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xd04e7018 (3494801432)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe050b4af (3763385519)
                          open_persistent_id       : 0x00000000e050b4af (3763385519)
                          open_volatile_id         : 0x00000000d04e7018 (3494801432)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:40.824505,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3494801432 (1 used)
[2018/01/03 15:39:40.824636, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:40.824724, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:40.824840,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.824925, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.825023, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:40.825163, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4ebc0
[2018/01/03 15:39:40.825286, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:40.825384,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x674a3258e289118b (7442816691522310539)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000008 (8)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:40 PM 2018 MST.812188
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000005f05c867 (1594214503)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.826876, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x7442816691522310539 key 3b:100:0
[2018/01/03 15:39:40.836176,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.836395, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.836620, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:40.836776, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x7442816691522310540 key 3b:100:0
[2018/01/03 15:39:40.836950, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:40.837097, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:40.837239, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:40.837384,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:40.837574,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:40.837793,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:40.837942, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 3494801432
[2018/01/03 15:39:40.838121, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:40.838285, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 8032, charge 1, granted 33, current possible/max 352/512, total granted/max/low/range 193/8192/9/193
[2018/01/03 15:39:40.843152, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.843384, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 9 (position 9) from bitmap
[2018/01/03 15:39:40.843592, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 9
[2018/01/03 15:39:40.843758,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.843918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 9, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:40.844071, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 3494801432
[2018/01/03 15:39:40.844280,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3456(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1005
[2018/01/03 15:39:40.844702, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:20] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:40.844815, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 8000, charge 1, granted 33, current possible/max 320/512, total granted/max/low/range 225/8192/10/225
[2018/01/03 15:39:40.848063, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.848323, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 10 (position 10) from bitmap
[2018/01/03 15:39:40.848543, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 10
[2018/01/03 15:39:40.848729,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.848916, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 3494801432
[2018/01/03 15:39:40.849112,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.849284, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.849517, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:40.849698, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46d40
[2018/01/03 15:39:40.849884, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x7442816691522310540 key 3b:100:0
[2018/01/03 15:39:40.850067, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:40.850245, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:40.850405,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x674a3258e289118c (7442816691522310540)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.851973, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x7442816691522310540 key 3b:100:0
[2018/01/03 15:39:40.852232, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:40.852415,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.852624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.852817, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:40.852995,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.853168, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.853355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E050B4AF
[2018/01/03 15:39:40.853570, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:40.853788, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E050B4AF
[2018/01/03 15:39:40.853955,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.854123, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.854314,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3494801432 (0 used)
[2018/01/03 15:39:40.854532, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:40.854717, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7968, charge 1, granted 33, current possible/max 288/512, total granted/max/low/range 257/8192/11/257
[2018/01/03 15:39:40.858528, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.858663, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 11 (position 11) from bitmap
[2018/01/03 15:39:40.858728, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 11
[2018/01/03 15:39:40.858799,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.858880, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:40.858945, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:40.859009,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:40.859084,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:40.859184, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:40.859258, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:40.859317,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:40.859370, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:40.859426, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:40.859507,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.859558, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.859614, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E22FFA23
[2018/01/03 15:39:40.859666, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.859716, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:40.859802, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E22FFA23' stored
[2018/01/03 15:39:40.859854,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe22ffa23 (3794795043)
                  open_persistent_id       : 0x00000000e22ffa23 (3794795043)
                  open_volatile_id         : 0x00000000395ccfeb (962383851)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:40.860404, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E22FFA23
[2018/01/03 15:39:40.860454,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.860515, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.860566, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe22ffa23) stored
[2018/01/03 15:39:40.860615,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x395ccfeb (962383851)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe22ffa23 (3794795043)
                          open_persistent_id       : 0x00000000e22ffa23 (3794795043)
                          open_volatile_id         : 0x00000000395ccfeb (962383851)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:40.861386,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 962383851 (1 used)
[2018/01/03 15:39:40.861443, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:40.861510,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:40.861561, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:40.861636, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:40.861688,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:40.861740, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:40.861844, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.861907, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:40.861964, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:40.862012, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.862068, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.862123, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.862182, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.862298, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.862348, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.862397, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:40.862456, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:40.862521,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.862570, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.862624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E22FFA23
[2018/01/03 15:39:40.862690, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:40.862760, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E22FFA23
[2018/01/03 15:39:40.862808,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.862857, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.862914,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 962383851 (0 used)
[2018/01/03 15:39:40.862963,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:40.863018, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:40.863096, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.863156, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:40.863209, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:40.863257, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.863313, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.863368, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.863425, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.863551, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.863600, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.863650, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:40.863706, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:40.863781,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.863830, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.863884, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3DB10F3F
[2018/01/03 15:39:40.863933, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.863983, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:40.864060, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '3DB10F3F' stored
[2018/01/03 15:39:40.864113,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x3db10f3f (1035013951)
                  open_persistent_id       : 0x000000003db10f3f (1035013951)
                  open_volatile_id         : 0x000000003a999187 (983142791)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:40.864635, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3DB10F3F
[2018/01/03 15:39:40.864686,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.864735, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.864785, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x3db10f3f) stored
[2018/01/03 15:39:40.864833,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x3a999187 (983142791)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x3db10f3f (1035013951)
                          open_persistent_id       : 0x000000003db10f3f (1035013951)
                          open_volatile_id         : 0x000000003a999187 (983142791)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:40.865632,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 983142791 (1 used)
[2018/01/03 15:39:40.865688, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:40.865738, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:40.865794,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.865842, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.865899, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:40.865951, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b134a0
[2018/01/03 15:39:40.866011, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:40.866059,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x42ed41ffe428c42c (4822583343284012076)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000000b (11)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:40 PM 2018 MST.863773
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b76f4d93 (3077524883)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.866941, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x4822583343284012076 key 3b:100:0
[2018/01/03 15:39:40.867023,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.867073, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.867129, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:40.867178, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x4822583343284012077 key 3b:100:0
[2018/01/03 15:39:40.867234, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:40.867283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:40.867330, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:40.867378,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:40.867429,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:40.867521,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:40.867587, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 983142791
[2018/01/03 15:39:40.867649, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:40.867702, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7936, charge 1, granted 33, current possible/max 256/512, total granted/max/low/range 289/8192/12/289
[2018/01/03 15:39:40.874144, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.874279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 12 (position 12) from bitmap
[2018/01/03 15:39:40.874344, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 12
[2018/01/03 15:39:40.874415,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.874497, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 12, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:40.874561, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 983142791
[2018/01/03 15:39:40.874663, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x4822583343284012077 key 3b:100:0
[2018/01/03 15:39:40.874732, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:40.874797,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 983142791) level=65298 max_data=65535
[2018/01/03 15:39:40.874862,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:40.874927,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:40.875029,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:40.875097, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:40.875175, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:40.875244, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7904, charge 1, granted 33, current possible/max 224/512, total granted/max/low/range 321/8192/13/321
[2018/01/03 15:39:40.877922, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.878093, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 13 (position 13) from bitmap
[2018/01/03 15:39:40.878164, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 13
[2018/01/03 15:39:40.878234,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.878309, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 983142791
[2018/01/03 15:39:40.878386,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.878437, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.878506, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:40.878551, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46d40
[2018/01/03 15:39:40.878595, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:40.878660, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:40.878698,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x42ed41ffe428c42d (4822583343284012077)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000000b (11)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:40 PM 2018 MST.863773
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b76f4d93 (3077524883)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.879417, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:40.879462, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:40.879512,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x42ed41ffe428c42d (4822583343284012077)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.880134, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x4822583343284012077 key 3b:100:0
[2018/01/03 15:39:40.880213, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:40.880292,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.880366, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.880453, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:40.880562,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.880645, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.880730, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3DB10F3F
[2018/01/03 15:39:40.880806, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:40.880906, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3DB10F3F
[2018/01/03 15:39:40.880981,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.881078, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.881163,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 983142791 (0 used)
[2018/01/03 15:39:40.881249, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:40.881331, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7872, charge 1, granted 33, current possible/max 192/512, total granted/max/low/range 353/8192/14/353
[2018/01/03 15:39:40.927961, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.928161, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 14 (position 14) from bitmap
[2018/01/03 15:39:40.928288, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_KEEPALIVE] mid = 14
[2018/01/03 15:39:40.928414,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.928585,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:40.928703,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:40.928900,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:40.929028, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[4] dyn[no:0] at ../source3/smbd/smb2_keepalive.c:46
[2018/01/03 15:39:40.929157, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7840, charge 1, granted 33, current possible/max 160/512, total granted/max/low/range 385/8192/15/385
[2018/01/03 15:39:40.931702, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.931962, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 15 (position 15) from bitmap
[2018/01/03 15:39:40.932139, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 15
[2018/01/03 15:39:40.932343,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:40.932569,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:39:40.933455,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:39:40.934051,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:39:40.934253, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:40.934426, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:40.934634,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:40.934825,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:40.934991, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:40.935188, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:40.935359,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:40.935572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:40.935765, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:40.935985,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.936162, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.936349, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 995475E5
[2018/01/03 15:39:40.936564, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.936735, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:40.936986, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '995475E5' stored
[2018/01/03 15:39:40.937166,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x995475e5 (2572449253)
                  open_persistent_id       : 0x00000000995475e5 (2572449253)
                  open_volatile_id         : 0x000000006c5bbf40 (1817952064)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:40.939126, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 995475E5
[2018/01/03 15:39:40.939300,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.939470, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.939690, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x995475e5) stored
[2018/01/03 15:39:40.939729,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x6c5bbf40 (1817952064)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x995475e5 (2572449253)
                          open_persistent_id       : 0x00000000995475e5 (2572449253)
                          open_volatile_id         : 0x000000006c5bbf40 (1817952064)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:40.940371,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1817952064 (1 used)
[2018/01/03 15:39:40.940417, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:40.940464,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:40.940511, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:40.940560, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:40.940602,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:40.940644, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:40.940732, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.940783, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:40.940829, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:40.940868, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.940914, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.940958, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.941004, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.941097, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.941137, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.941190, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:40.941239, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:40.941283,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.941323, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.941367, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 995475E5
[2018/01/03 15:39:40.941407, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:40.941464, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 995475E5
[2018/01/03 15:39:40.941512,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.941552, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.941597,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1817952064 (0 used)
[2018/01/03 15:39:40.941637,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:40.941680, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:40.941745, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.941793, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:40.941836, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:40.941875, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.941919, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.941963, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.942009, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.942117, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.942157, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.942196, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:40.942241, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:40.942292,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.942331, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.942374, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 124EF1A1
[2018/01/03 15:39:40.942414, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.942454, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:40.942532, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '124EF1A1' stored
[2018/01/03 15:39:40.942574,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x124ef1a1 (307163553)
                  open_persistent_id       : 0x00000000124ef1a1 (307163553)
                  open_volatile_id         : 0x0000000045b2d590 (1169347984)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:40.942981, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 124EF1A1
[2018/01/03 15:39:40.943035,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.943074, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.943115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x124ef1a1) stored
[2018/01/03 15:39:40.943153,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x45b2d590 (1169347984)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x124ef1a1 (307163553)
                          open_persistent_id       : 0x00000000124ef1a1 (307163553)
                          open_volatile_id         : 0x0000000045b2d590 (1169347984)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:40.943782,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1169347984 (1 used)
[2018/01/03 15:39:40.943826, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:40.943866, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:40.943912,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.943950, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.944009, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:40.944051, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b134a0
[2018/01/03 15:39:40.944101, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:40.944140,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xb05c757c5fc371dd (-5738582648133815843)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000000f (15)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:40 PM 2018 MST.942284
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000995ad707 (2572867335)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.944831, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x12708161425575735773 key 3b:100:0
[2018/01/03 15:39:40.944898,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.944938, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.944983, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:40.945034, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x12708161425575735774 key 3b:100:0
[2018/01/03 15:39:40.945080, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:40.945119, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:40.945157, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:40.945195,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:40.945237,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:40.945307,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:40.945348, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 1169347984
[2018/01/03 15:39:40.945399, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:40.945442, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7808, charge 1, granted 33, current possible/max 128/512, total granted/max/low/range 417/8192/16/417
[2018/01/03 15:39:40.948563, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.948699, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 16 (position 16) from bitmap
[2018/01/03 15:39:40.948766, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 16
[2018/01/03 15:39:40.948838,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.948907, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 16, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:40.948971, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 1169347984
[2018/01/03 15:39:40.949075, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x12708161425575735774 key 3b:100:0
[2018/01/03 15:39:40.949144, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:40.949210,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 1169347984) level=65298 max_data=65535
[2018/01/03 15:39:40.949276,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:40.949341,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:40.949491,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:40.949561, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:40.949639, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:40.949707, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7776, charge 1, granted 33, current possible/max 96/512, total granted/max/low/range 449/8192/17/449
[2018/01/03 15:39:40.952718, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.952855, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 17 (position 17) from bitmap
[2018/01/03 15:39:40.952921, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 17
[2018/01/03 15:39:40.952993,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.953069, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 1169347984
[2018/01/03 15:39:40.953146,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.953210, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.953283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:40.953350, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46d40
[2018/01/03 15:39:40.953417, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:40.953526, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:40.953586,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xb05c757c5fc371de (-5738582648133815842)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000000f (15)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:40 PM 2018 MST.942284
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000995ad707 (2572867335)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.954588, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:40.954639, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:40.954684,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xb05c757c5fc371de (-5738582648133815842)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.955081, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x12708161425575735774 key 3b:100:0
[2018/01/03 15:39:40.955131, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:40.955181,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.955226, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.955278, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:40.955342,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.955389, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.955438, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 124EF1A1
[2018/01/03 15:39:40.955496, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:40.955561, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 124EF1A1
[2018/01/03 15:39:40.955606,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.955651, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.955703,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1169347984 (0 used)
[2018/01/03 15:39:40.955757, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:40.955808, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7744, charge 1, granted 33, current possible/max 64/512, total granted/max/low/range 481/8192/18/481
[2018/01/03 15:39:40.981439, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.981640, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 18 (position 18) from bitmap
[2018/01/03 15:39:40.981738, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 18
[2018/01/03 15:39:40.981843,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.981960, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:40.982055, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:40.982150,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:40.982257,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:40.982350, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:40.982462, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:40.982576,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:40.982671, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:40.982829, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:40.982954,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.983050, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.983154, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 25E8CE08
[2018/01/03 15:39:40.983252, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.983347, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:40.983513, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '25E8CE08' stored
[2018/01/03 15:39:40.983617,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x25e8ce08 (636014088)
                  open_persistent_id       : 0x0000000025e8ce08 (636014088)
                  open_volatile_id         : 0x000000008a401a43 (2319456835)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:40.984624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 25E8CE08
[2018/01/03 15:39:40.984721,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.984811, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.984909, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x25e8ce08) stored
[2018/01/03 15:39:40.985031,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x8a401a43 (2319456835)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x25e8ce08 (636014088)
                          open_persistent_id       : 0x0000000025e8ce08 (636014088)
                          open_volatile_id         : 0x000000008a401a43 (2319456835)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:40.986525,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2319456835 (1 used)
[2018/01/03 15:39:40.986632, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:40.986735,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:40.986829, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:40.986939, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:40.987035,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:40.987161, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:40.987337, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.987458, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:40.987583, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:40.987674, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.987779, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.987881, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.987988, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.988204, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.988300, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.988390, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:40.988515, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:40.988617,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.988708, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.988810, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 25E8CE08
[2018/01/03 15:39:40.988903, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:40.989026, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 25E8CE08
[2018/01/03 15:39:40.989115,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.989206, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.989341,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2319456835 (0 used)
[2018/01/03 15:39:40.989433,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:40.989556, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:40.989705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:40.989818, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:40.989920, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:40.990008, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.990110, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.990212, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:40.990319, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:40.990555, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.990646, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:40.990737, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:40.990841, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:40.990951,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.991042, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.991141, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 58C904BD
[2018/01/03 15:39:40.991233, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:40.991363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:40.991528, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '58C904BD' stored
[2018/01/03 15:39:40.991633,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x58c904bd (1489568957)
                  open_persistent_id       : 0x0000000058c904bd (1489568957)
                  open_volatile_id         : 0x0000000063a5c026 (1671807014)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:40.992183, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 58C904BD
[2018/01/03 15:39:40.992224,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:40.992263, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.992303, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x58c904bd) stored
[2018/01/03 15:39:40.992342,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x63a5c026 (1671807014)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x58c904bd (1489568957)
                          open_persistent_id       : 0x0000000058c904bd (1489568957)
                          open_volatile_id         : 0x0000000063a5c026 (1671807014)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:40.992983,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1671807014 (1 used)
[2018/01/03 15:39:40.993028, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:40.993068, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:40.993113,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.993152, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:40.993198, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:40.993240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b134a0
[2018/01/03 15:39:40.993290, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:40.993329,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x2cef4871da5e074a (3237886310934775626)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000012 (18)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:40 PM 2018 MST.990940
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000a9624789 (2841790345)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:40.994038, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x3237886310934775626 key 3b:100:0
[2018/01/03 15:39:40.994107,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:40.994147, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:40.994192, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:40.994232, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x3237886310934775627 key 3b:100:0
[2018/01/03 15:39:40.994277, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:40.994316, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:40.994355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:40.994394,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:40.994435,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:40.994512,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:40.994553, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 1671807014
[2018/01/03 15:39:40.994604, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:40.994648, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7712, charge 1, granted 32, current possible/max 32/512, total granted/max/low/range 512/8192/19/512
[2018/01/03 15:39:40.997292, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:40.997427, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 19 (position 19) from bitmap
[2018/01/03 15:39:40.997517, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 19
[2018/01/03 15:39:40.997589,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:40.997658, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 19, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:40.997723, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 1671807014
[2018/01/03 15:39:40.997825, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x3237886310934775627 key 3b:100:0
[2018/01/03 15:39:40.997883, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:40.997926,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 1671807014) level=65298 max_data=65535
[2018/01/03 15:39:40.997968,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:40.998011,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:40.998085,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:40.998129, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:40.998183, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:40.998228, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/20/512
[2018/01/03 15:39:41.001433, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.001593, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 20 (position 20) from bitmap
[2018/01/03 15:39:41.001658, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 20
[2018/01/03 15:39:41.001730,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.001806, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 1671807014
[2018/01/03 15:39:41.001920,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.001984, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.002057, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.002123, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46d40
[2018/01/03 15:39:41.002190, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.002266, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.002305,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x2cef4871da5e074b (3237886310934775627)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000012 (18)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:40 PM 2018 MST.990940
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000a9624789 (2841790345)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.003222, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.003280, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.003351,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x2cef4871da5e074b (3237886310934775627)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.003844, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x3237886310934775627 key 3b:100:0
[2018/01/03 15:39:41.003902, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.003960,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.004013, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.004074, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.004132,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.004187, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.004247, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 58C904BD
[2018/01/03 15:39:41.004302, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.004377, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 58C904BD
[2018/01/03 15:39:41.004430,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.004493, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.004555,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1671807014 (0 used)
[2018/01/03 15:39:41.004618, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.004676, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/21/512
[2018/01/03 15:39:41.008108, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.008245, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 21 (position 21) from bitmap
[2018/01/03 15:39:41.008311, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 21
[2018/01/03 15:39:41.008384,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.008469, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.008551, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.008615,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.008687,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.008749, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.008824, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.008888,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.008951, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.009022, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.009107,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.009170, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.009240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 833CDD6A
[2018/01/03 15:39:41.009308, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.009371, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.009494, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '833CDD6A' stored
[2018/01/03 15:39:41.009552,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x833cdd6a (2201804138)
                  open_persistent_id       : 0x00000000833cdd6a (2201804138)
                  open_volatile_id         : 0x00000000f0b842c5 (4038607557)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.010166, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 833CDD6A
[2018/01/03 15:39:41.010222,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.010276, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.010332, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x833cdd6a) stored
[2018/01/03 15:39:41.010385,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xf0b842c5 (4038607557)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x833cdd6a (2201804138)
                          open_persistent_id       : 0x00000000833cdd6a (2201804138)
                          open_volatile_id         : 0x00000000f0b842c5 (4038607557)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.011257,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4038607557 (1 used)
[2018/01/03 15:39:41.011320, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.011382,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:41.011437, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.011512, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:41.011568,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.011626, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.011736, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.011805, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.011867, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.011920, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.011981, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.012041, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.012104, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.012249, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.012304, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.012358, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.012424, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.012502,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.012548, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.012598, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 833CDD6A
[2018/01/03 15:39:41.012645, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.012710, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 833CDD6A
[2018/01/03 15:39:41.012755,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.012800, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.012853,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4038607557 (0 used)
[2018/01/03 15:39:41.012898,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.012949, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.013021, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.013077, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.013127, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.013171, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.013222, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.013273, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.013342, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.013449, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.013505, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.013551, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.013603, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.013660,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.013705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.013755, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 1DA6E40F
[2018/01/03 15:39:41.013801, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.013846, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.013919, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '1DA6E40F' stored
[2018/01/03 15:39:41.013968,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x1da6e40f (497476623)
                  open_persistent_id       : 0x000000001da6e40f (497476623)
                  open_volatile_id         : 0x000000005b330c6a (1530072170)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.014455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 1DA6E40F
[2018/01/03 15:39:41.014511,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.014557, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.014604, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x1da6e40f) stored
[2018/01/03 15:39:41.014649,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x5b330c6a (1530072170)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x1da6e40f (497476623)
                          open_persistent_id       : 0x000000001da6e40f (497476623)
                          open_volatile_id         : 0x000000005b330c6a (1530072170)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.015363,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1530072170 (1 used)
[2018/01/03 15:39:41.015415, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.015483, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.015536,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.015580, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.015633, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.015681, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4ffe0
[2018/01/03 15:39:41.015738, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.015783,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xc7c202f580262979 (-4052673461239797383)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000015 (21)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.13652
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000033800912 (864028946)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.016584, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x14394070612469754233 key 3b:100:0
[2018/01/03 15:39:41.016661,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.016722, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.016773, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.016819, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x14394070612469754234 key 3b:100:0
[2018/01/03 15:39:41.016871, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.016915, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.016959, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.017004,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.017052,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.017129,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.017175, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 1530072170
[2018/01/03 15:39:41.017233, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.017283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/22/512
[2018/01/03 15:39:41.019864, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.019998, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 22 (position 22) from bitmap
[2018/01/03 15:39:41.020065, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 22
[2018/01/03 15:39:41.020138,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.020208, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 22, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.020272, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 1530072170
[2018/01/03 15:39:41.020376, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x14394070612469754234 key 3b:100:0
[2018/01/03 15:39:41.020450, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.020533,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 1530072170) level=65298 max_data=65535
[2018/01/03 15:39:41.020645,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.020710,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.020810,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.020877, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.020956, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.021025, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/23/512
[2018/01/03 15:39:41.026301, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.026438, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 23 (position 23) from bitmap
[2018/01/03 15:39:41.026531, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 23
[2018/01/03 15:39:41.026604,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.026680, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 1530072170
[2018/01/03 15:39:41.026757,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.026822, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.026902, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.026969, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46d40
[2018/01/03 15:39:41.027040, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.027127, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.027182,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xc7c202f58026297a (-4052673461239797382)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000015 (21)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.13652
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000033800912 (864028946)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.028235, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.028297, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.028352,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xc7c202f58026297a (-4052673461239797382)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.028856, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x14394070612469754234 key 3b:100:0
[2018/01/03 15:39:41.028918, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.028978,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.029051, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.029116, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.029177,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.029235, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.029297, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 1DA6E40F
[2018/01/03 15:39:41.029355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.029432, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 1DA6E40F
[2018/01/03 15:39:41.029512,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.029568, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.029634,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1530072170 (0 used)
[2018/01/03 15:39:41.029700, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.029762, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/24/512
[2018/01/03 15:39:41.032569, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.032705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 24 (position 24) from bitmap
[2018/01/03 15:39:41.032770, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 24
[2018/01/03 15:39:41.032844,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.032927, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.032991, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.033061,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.033128,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.033185, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.033290, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.033348,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.033409, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.033496, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.033560,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x3 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.033625, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.033743, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.033817, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.033880, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.033936, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.034000, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.034063, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.034129, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.034262, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.034319, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.034375, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.034443, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2018/01/03 15:39:41.034554,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.034612, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.034677, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key F981333B
[2018/01/03 15:39:41.034736, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.034794, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.034890, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'F981333B' stored
[2018/01/03 15:39:41.034950,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xf981333b (4185994043)
                  open_persistent_id       : 0x00000000f981333b (4185994043)
                  open_volatile_id         : 0x0000000028edf712 (686683922)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.035565, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key F981333B
[2018/01/03 15:39:41.035623,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.035679, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.035737, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xf981333b) stored
[2018/01/03 15:39:41.035792,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x28edf712 (686683922)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xf981333b (4185994043)
                          open_persistent_id       : 0x00000000f981333b (4185994043)
                          open_volatile_id         : 0x0000000028edf712 (686683922)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.036660,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 686683922 (1 used)
[2018/01/03 15:39:41.036711, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.036775, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.036825, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.036866,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.036924, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:767(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 34. 
[2018/01/03 15:39:41.036973,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.037015, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.037064, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.037109, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4f1c0
[2018/01/03 15:39:41.037176, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.037218,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x477a125821efb887 (5150449293587363975)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000018 (24)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.34542
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000004412fdc (71380956)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.037968, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x5150449293587363975 key 3b:100:0
[2018/01/03 15:39:41.038038,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.038082, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.038130, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.038172, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x5150449293587363976 key 3b:100:0
[2018/01/03 15:39:41.038221, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.038276, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.038317, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.038359,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.038405,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.038488,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.038533, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 686683922
[2018/01/03 15:39:41.038589, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.038636, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/25/512
[2018/01/03 15:39:41.041663, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.041798, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 25 (position 25) from bitmap
[2018/01/03 15:39:41.041871, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 25
[2018/01/03 15:39:41.041922,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.041973, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:39:41.042024, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: . - fnum 686683922
[2018/01/03 15:39:41.042077, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 25, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.042120,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:475(dptr_create)
  dptr_create dir=.
[2018/01/03 15:39:41.042179,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:657(dptr_create)
  creating new dirptr 0 for path ., expect_close = 0
[2018/01/03 15:39:41.042240,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<.> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:39:41.042306,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 0
[2018/01/03 15:39:41.042364,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.042409,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.042557,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.042618, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x5150449293587363976 key 3b:100:0
[2018/01/03 15:39:41.042669,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found . fname=. (.)
[2018/01/03 15:39:41.042721, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65527
[2018/01/03 15:39:41.042763, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.042813,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 2147483648
[2018/01/03 15:39:41.042865,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: ..
[2018/01/03 15:39:41.042908,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.042968,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.043045,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found .. fname=.. (..)
[2018/01/03 15:39:41.043091, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65415
[2018/01/03 15:39:41.043132, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.043210,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 26
[2018/01/03 15:39:41.043254,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: endless OS
[2018/01/03 15:39:41.043298,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.043354,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.043408,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found endless OS fname=endless OS (endless OS)
[2018/01/03 15:39:41.043452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65303
[2018/01/03 15:39:41.043510, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.043558, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: endless OS -> 3CA63D83 -> EGTT5D~V (cache=1)
[2018/01/03 15:39:41.043613,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 40
[2018/01/03 15:39:41.043656,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: androidstuff
[2018/01/03 15:39:41.043715,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.043773,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.043831,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found androidstuff fname=androidstuff (androidstuff)
[2018/01/03 15:39:41.043876, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65175
[2018/01/03 15:39:41.043916, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.043961, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: androidstuff -> 23DD2830 -> A9Y8FU~8 (cache=1)
[2018/01/03 15:39:41.044014,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 42
[2018/01/03 15:39:41.044057,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: gits
[2018/01/03 15:39:41.044099,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.044155,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x810): "d[compressed]"
[2018/01/03 15:39:41.044215,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found gits fname=gits (gits)
[2018/01/03 15:39:41.044259, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65047
[2018/01/03 15:39:41.044300, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.044414,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 56
[2018/01/03 15:39:41.044460,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.044514,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): ""
[2018/01/03 15:39:41.044568,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x80): ""
[2018/01/03 15:39:41.044625,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found broadcom-wl-6.30.163.46.wl_apsta.o fname=broadcom-wl-6.30.163.46.wl_apsta.o (broadcom-wl-6.30.163.46.wl_apsta.o)
[2018/01/03 15:39:41.044674, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64935
[2018/01/03 15:39:41.044715, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.044760, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: broadcom-wl-6.30.163.46.wl_apsta.o -> 7DBB65A5 -> BYVWH4~5.O (cache=1)
[2018/01/03 15:39:41.044830,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 57
[2018/01/03 15:39:41.044873,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: moms couch
[2018/01/03 15:39:41.044916,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.044972,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.045031,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found moms couch fname=moms couch (moms couch)
[2018/01/03 15:39:41.045075, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64759
[2018/01/03 15:39:41.045116, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.045160, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: moms couch -> 5072D3BB -> MMBKT6~J (cache=1)
[2018/01/03 15:39:41.045213,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 2147483647
[2018/01/03 15:39:41.045256,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:39:41.045298,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.045354,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.045407,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms fname=noperms (noperms)
[2018/01/03 15:39:41.045452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64631
[2018/01/03 15:39:41.045502, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.045554,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset -1
[2018/01/03 15:39:41.045606, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:184(smbd_smb2_request_find_done)
  smbd_smb2_request_find_done: out_output_buffer.length = 1014
[2018/01/03 15:39:41.045649, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:1014] at ../source3/smbd/smb2_query_directory.c:188
[2018/01/03 15:39:41.045695, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/26/512
[2018/01/03 15:39:41.048936, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.049071, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 26 (position 26) from bitmap
[2018/01/03 15:39:41.049177, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 26
[2018/01/03 15:39:41.049247,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.049316, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:39:41.049387, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: . - fnum 686683922
[2018/01/03 15:39:41.049462, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 26, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.049545,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<.> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:39:41.049632,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset -1
[2018/01/03 15:39:41.049707,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3120(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
[2018/01/03 15:39:41.049774, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[STATUS_NO_MORE_FILES] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:3168
[2018/01/03 15:39:41.049840, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/27/512
[2018/01/03 15:39:41.052636, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.052771, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 27 (position 27) from bitmap
[2018/01/03 15:39:41.052836, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 27
[2018/01/03 15:39:41.052908,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.052981, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 686683922
[2018/01/03 15:39:41.053056,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.053119, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.053191, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.053260, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6d0
[2018/01/03 15:39:41.053346, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.053421, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.053467,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x477a125821efb888 (5150449293587363976)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000018 (24)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.34542
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000004412fdc (71380956)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.054311, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.054362, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.054408,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x477a125821efb888 (5150449293587363976)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.054844, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x5150449293587363976 key 3b:100:0
[2018/01/03 15:39:41.054894, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.054945,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.054992, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.055045, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.055094,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:233(dptr_close_internal)
  closing dptr key 0
[2018/01/03 15:39:41.055191,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.055238, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.055289, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key F981333B
[2018/01/03 15:39:41.055337, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.055402, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key F981333B
[2018/01/03 15:39:41.055449,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.055508, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.055562,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 686683922 (0 used)
[2018/01/03 15:39:41.055617, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.055668, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/28/512
[2018/01/03 15:39:41.058302, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.058444, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 28 (position 28) from bitmap
[2018/01/03 15:39:41.058571, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 28
[2018/01/03 15:39:41.058650,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.058731, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.058802, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.058872,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.058949,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.059017, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.059100, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.059168,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.059239, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x10, 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 = .
[2018/01/03 15:39:41.059315, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.059391,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.059468, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.059621, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.059710, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.059786, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.059852, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.059926, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.059999, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.060098, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.060253, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.060321, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.060386, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.060464, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.060567,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.060635, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.060711, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key CE02904A
[2018/01/03 15:39:41.060781, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.060849, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.060959, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'CE02904A' stored
[2018/01/03 15:39:41.061033,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xce02904a (3456274506)
                  open_persistent_id       : 0x00000000ce02904a (3456274506)
                  open_volatile_id         : 0x00000000f817af24 (4162301732)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.061788, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key CE02904A
[2018/01/03 15:39:41.061857,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.061922, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.061989, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xce02904a) stored
[2018/01/03 15:39:41.062056,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xf817af24 (4162301732)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xce02904a (3456274506)
                          open_persistent_id       : 0x00000000ce02904a (3456274506)
                          open_volatile_id         : 0x00000000f817af24 (4162301732)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.063107,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4162301732 (1 used)
[2018/01/03 15:39:41.063185, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.063254, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.063352,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.063418, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.063515, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.063590, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45ec0
[2018/01/03 15:39:41.063670, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.063734,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3f1a8ba9978b1eb2 (4547100334292147890)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000001c (28)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.60554
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000001239c2e1 (305775329)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.064886, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x4547100334292147890 key 3b:100:0
[2018/01/03 15:39:41.064996,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.065064, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.065160, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.065227, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x4547100334292147891 key 3b:100:0
[2018/01/03 15:39:41.065302, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.065370, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.065434, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.065516,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.065588,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.065696,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.065765, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 4162301732
[2018/01/03 15:39:41.065848, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.065922, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/29/512
[2018/01/03 15:39:41.068502, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.068643, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 29 (position 29) from bitmap
[2018/01/03 15:39:41.068715, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 29
[2018/01/03 15:39:41.068792,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.068866, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 29, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.068937, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 4162301732
[2018/01/03 15:39:41.069028,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3456(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2018/01/03 15:39:41.069789, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:466(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(autofs)
[2018/01/03 15:39:41.069847, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas_linux.c:82(sys_get_vfs_quota)
  sys_get_vfs_quota: path[/srv/scratch] bdev[systemd-1] SMB_USER_FS_QUOTA_TYPE (uid[1000])
[2018/01/03 15:39:41.069892, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:491(sys_get_quota)
  sys_get_vfs_quota() called for mntpath[/srv/scratch] bdev[systemd-1] qtype[1] id[-1].
[2018/01/03 15:39:41.070139, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:466(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(autofs)
[2018/01/03 15:39:41.070179, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas_linux.c:95(sys_get_vfs_quota)
  sys_get_vfs_quota: path[/srv/scratch] bdev[systemd-1] SMB_GROUP_FS_QUOTA_TYPE (gid[0])
[2018/01/03 15:39:41.070221, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:491(sys_get_quota)
  sys_get_vfs_quota() called for mntpath[/srv/scratch] bdev[systemd-1] qtype[3] id[-1].
[2018/01/03 15:39:41.070261,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3701(smbd_do_qfsinfo)
  smbd_do_qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024, cSectorUnit=2, cBytesSector=512, cUnitTotal=1073739776, cUnitAvail=503830668
[2018/01/03 15:39:41.070314, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:32] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.070359, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/30/512
[2018/01/03 15:39:41.072936, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.073071, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 30 (position 30) from bitmap
[2018/01/03 15:39:41.073135, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 30
[2018/01/03 15:39:41.073206,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.073277, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 4162301732
[2018/01/03 15:39:41.073355,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.073415, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.073504, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.073571, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b566e0
[2018/01/03 15:39:41.073644, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x4547100334292147891 key 3b:100:0
[2018/01/03 15:39:41.073701, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.073743, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.073782,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3f1a8ba9978b1eb3 (4547100334292147891)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.074169, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x4547100334292147891 key 3b:100:0
[2018/01/03 15:39:41.074212, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.074254,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.074293, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.074338, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.074381,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.074420, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.074463, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key CE02904A
[2018/01/03 15:39:41.074516, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.074572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key CE02904A
[2018/01/03 15:39:41.074610,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.074648, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.074694,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4162301732 (0 used)
[2018/01/03 15:39:41.074742, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.074785, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/31/512
[2018/01/03 15:39:41.077705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.077841, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 31 (position 31) from bitmap
[2018/01/03 15:39:41.077946, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 31
[2018/01/03 15:39:41.078017,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.078097, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.078160, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.078221,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.078268,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.078309, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.078359, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.078399,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.078442, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x10, 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 = .
[2018/01/03 15:39:41.078503, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.078548,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.078594, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.078684, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.078736, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.078780, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.078819, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.078863, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.078906, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.078965, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.079057, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.079096, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.079135, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.079184, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.079238,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.079278, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.079322, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key D542D46D
[2018/01/03 15:39:41.079363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.079403, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.079495, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'D542D46D' stored
[2018/01/03 15:39:41.079538,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xd542d46d (3577926765)
                  open_persistent_id       : 0x00000000d542d46d (3577926765)
                  open_volatile_id         : 0x0000000062b85cc6 (1656249542)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.080126, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key D542D46D
[2018/01/03 15:39:41.080181,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.080234, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.080289, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xd542d46d) stored
[2018/01/03 15:39:41.080341,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x62b85cc6 (1656249542)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xd542d46d (3577926765)
                          open_persistent_id       : 0x00000000d542d46d (3577926765)
                          open_volatile_id         : 0x0000000062b85cc6 (1656249542)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.081186,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1656249542 (1 used)
[2018/01/03 15:39:41.081248, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.081318, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.081379,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.081430, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.081503, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.081558, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4e8e0
[2018/01/03 15:39:41.081624, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.081676,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xb9f8327e4a9b8486 (-5046227864469666682)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000001f (31)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.79226
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000011ddb901 (299743489)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.082601, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x13400516209239884934 key 3b:100:0
[2018/01/03 15:39:41.082690,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.082761, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.082821, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.082874, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x13400516209239884935 key 3b:100:0
[2018/01/03 15:39:41.082935, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.082986, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.083037, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.083088,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.083143,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.083230,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.083284, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 1656249542
[2018/01/03 15:39:41.083351, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.083408, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/32/512
[2018/01/03 15:39:41.086048, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.086183, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 32 (position 32) from bitmap
[2018/01/03 15:39:41.086248, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 32
[2018/01/03 15:39:41.086319,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.086388, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 32, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.086452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 1656249542
[2018/01/03 15:39:41.086555,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3456(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1005
[2018/01/03 15:39:41.086672, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:20] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.086739, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/33/512
[2018/01/03 15:39:41.089291, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.089428, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 33 (position 33) from bitmap
[2018/01/03 15:39:41.089512, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 33
[2018/01/03 15:39:41.089583,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.089654, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 1656249542
[2018/01/03 15:39:41.089731,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.089797, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.089861, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.089919, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b566e0
[2018/01/03 15:39:41.089982, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x13400516209239884935 key 3b:100:0
[2018/01/03 15:39:41.090042, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.090098, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.090151,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xb9f8327e4a9b8487 (-5046227864469666681)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.090645, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x13400516209239884935 key 3b:100:0
[2018/01/03 15:39:41.090702, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.090797,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.090849, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.090910, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.090969,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.091022, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.091080, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key D542D46D
[2018/01/03 15:39:41.091135, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.091207, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key D542D46D
[2018/01/03 15:39:41.091259,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.091312, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.091373,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1656249542 (0 used)
[2018/01/03 15:39:41.091435, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.091504, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/34/512
[2018/01/03 15:39:41.094605, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.094740, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 34 (position 34) from bitmap
[2018/01/03 15:39:41.094805, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 34
[2018/01/03 15:39:41.094877,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.094952, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.095014, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.095079,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.095150,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.095212, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.095328, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.095388,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.095452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.095550, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.095625,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.095679, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.095738, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key B7FB7068
[2018/01/03 15:39:41.095794, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.095848, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.095939, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'B7FB7068' stored
[2018/01/03 15:39:41.095996,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xb7fb7068 (3086708840)
                  open_persistent_id       : 0x00000000b7fb7068 (3086708840)
                  open_volatile_id         : 0x000000000be20840 (199362624)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.096579, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key B7FB7068
[2018/01/03 15:39:41.096652,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.096705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.096760, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xb7fb7068) stored
[2018/01/03 15:39:41.096812,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x0be20840 (199362624)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xb7fb7068 (3086708840)
                          open_persistent_id       : 0x00000000b7fb7068 (3086708840)
                          open_volatile_id         : 0x000000000be20840 (199362624)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.097654,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 199362624 (1 used)
[2018/01/03 15:39:41.097716, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.097776,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:41.097830, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.097911, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:41.097966,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.098023, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.098132, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.098201, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.098261, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.098314, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.098375, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.098434, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.098509, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.098632, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.098685, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.098739, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.098802, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.098860,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.098913, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.098973, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key B7FB7068
[2018/01/03 15:39:41.099026, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.099118, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key B7FB7068
[2018/01/03 15:39:41.099170,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.099223, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.099283,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 199362624 (0 used)
[2018/01/03 15:39:41.099336,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.099394, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.099488, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.099554, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.099612, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.099663, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.099723, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.099782, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.099844, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.099968, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.100022, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.100075, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.100136, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.100199,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.100269, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.100326, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 4AA026F9
[2018/01/03 15:39:41.100380, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.100433, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.100529, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '4AA026F9' stored
[2018/01/03 15:39:41.100585,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x4aa026f9 (1252009721)
                  open_persistent_id       : 0x000000004aa026f9 (1252009721)
                  open_volatile_id         : 0x0000000033bc7989 (867989897)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.101130, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 4AA026F9
[2018/01/03 15:39:41.101184,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.101237, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.101292, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x4aa026f9) stored
[2018/01/03 15:39:41.101345,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x33bc7989 (867989897)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x4aa026f9 (1252009721)
                          open_persistent_id       : 0x000000004aa026f9 (1252009721)
                          open_volatile_id         : 0x0000000033bc7989 (867989897)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.102064,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 867989897 (1 used)
[2018/01/03 15:39:41.102111, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.102153, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.102200,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.102240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.102290, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.102334, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4f1c0
[2018/01/03 15:39:41.102386, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.102427,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3d3cbade9bce3e53 (4412607200175734355)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000022 (34)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.100192
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000046052e31 (1174744625)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.103169, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x4412607200175734355 key 3b:100:0
[2018/01/03 15:39:41.103241,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.103283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.103331, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.103373, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x4412607200175734356 key 3b:100:0
[2018/01/03 15:39:41.103420, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.103461, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.103510, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.103550,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.103594,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.103666,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.103722, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 867989897
[2018/01/03 15:39:41.103776, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.103821, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/35/512
[2018/01/03 15:39:41.107361, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.107520, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 35 (position 35) from bitmap
[2018/01/03 15:39:41.107585, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 35
[2018/01/03 15:39:41.107664,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.107714, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 35, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.107758, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 867989897
[2018/01/03 15:39:41.107835, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x4412607200175734356 key 3b:100:0
[2018/01/03 15:39:41.107882, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.107927,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 867989897) level=65298 max_data=65535
[2018/01/03 15:39:41.107972,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.108018,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.108093,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.108140, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.108197, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.108244, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/36/512
[2018/01/03 15:39:41.110785, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.110901, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 36 (position 36) from bitmap
[2018/01/03 15:39:41.110979, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 36
[2018/01/03 15:39:41.111030,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.111083, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 867989897
[2018/01/03 15:39:41.111137,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.111179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.111232, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.111279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b456f0
[2018/01/03 15:39:41.111325, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.111392, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.111433,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3d3cbade9bce3e54 (4412607200175734356)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000022 (34)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.100192
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000046052e31 (1174744625)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.112444, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.112526, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.112580,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3d3cbade9bce3e54 (4412607200175734356)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.113060, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x4412607200175734356 key 3b:100:0
[2018/01/03 15:39:41.113120, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.113181,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.113235, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.113298, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.113357,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.113413, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.113485, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 4AA026F9
[2018/01/03 15:39:41.113543, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.113619, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 4AA026F9
[2018/01/03 15:39:41.113674,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.113729, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.113810,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 867989897 (0 used)
[2018/01/03 15:39:41.113874, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.113935, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/37/512
[2018/01/03 15:39:41.153497, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.153675, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 37 (position 37) from bitmap
[2018/01/03 15:39:41.153779, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 37
[2018/01/03 15:39:41.153892,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.154014, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.154115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.154216,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.154328,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.154427, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.154566, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.154665,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.154767, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.154879, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.155012,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.155114, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.155226, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 454E3A3A
[2018/01/03 15:39:41.155330, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.155511, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.155666, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '454E3A3A' stored
[2018/01/03 15:39:41.155775,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x454e3a3a (1162754618)
                  open_persistent_id       : 0x00000000454e3a3a (1162754618)
                  open_volatile_id         : 0x000000004c9d6f45 (1285386053)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.156848, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 454E3A3A
[2018/01/03 15:39:41.156952,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.157050, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.157152, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x454e3a3a) stored
[2018/01/03 15:39:41.157249,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x4c9d6f45 (1285386053)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x454e3a3a (1162754618)
                          open_persistent_id       : 0x00000000454e3a3a (1162754618)
                          open_volatile_id         : 0x000000004c9d6f45 (1285386053)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.158883,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1285386053 (1 used)
[2018/01/03 15:39:41.158998, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.159110,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:41.159216, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.159332, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:41.159434,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.159559, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.159744, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.159871, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.159985, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.160081, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.160193, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.160302, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.160451, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.160703, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.160804, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.160901, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.161014, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.161126,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.161225, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.161333, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 454E3A3A
[2018/01/03 15:39:41.161433, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.161582, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 454E3A3A
[2018/01/03 15:39:41.161680,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.161777, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.161886,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1285386053 (0 used)
[2018/01/03 15:39:41.161983,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.162089, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.162243, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.162363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.162469, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.162618, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.162703, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.162746, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.162792, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.162883, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.162922, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.162961, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.163006, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.163053,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.163092, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.163134, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 52219667
[2018/01/03 15:39:41.163174, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.163212, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.163277, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '52219667' stored
[2018/01/03 15:39:41.163318,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x52219667 (1377932903)
                  open_persistent_id       : 0x0000000052219667 (1377932903)
                  open_volatile_id         : 0x000000000ab08840 (179341376)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.163745, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 52219667
[2018/01/03 15:39:41.163785,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.163824, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.163864, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x52219667) stored
[2018/01/03 15:39:41.163902,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x0ab08840 (179341376)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x52219667 (1377932903)
                          open_persistent_id       : 0x0000000052219667 (1377932903)
                          open_volatile_id         : 0x000000000ab08840 (179341376)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.164535,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 179341376 (1 used)
[2018/01/03 15:39:41.164580, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.164619, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.164663,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.164701, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.164747, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.164789, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4f1c0
[2018/01/03 15:39:41.164839, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.164877,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xc1f2bb6e863dd972 (-4471305396652484238)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000025 (37)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.163047
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000008ddaabf4 (2379918324)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.165574, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x13975438677057067378 key 3b:100:0
[2018/01/03 15:39:41.165641,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.165681, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.165725, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.165764, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x13975438677057067379 key 3b:100:0
[2018/01/03 15:39:41.165809, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.165847, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.165885, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.165923,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.165964,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.166032,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.166073, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 179341376
[2018/01/03 15:39:41.166124, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.166166, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/38/512
[2018/01/03 15:39:41.168911, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.169045, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 38 (position 38) from bitmap
[2018/01/03 15:39:41.169109, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 38
[2018/01/03 15:39:41.169180,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.169246, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 38, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.169312, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 179341376
[2018/01/03 15:39:41.169453, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x13975438677057067379 key 3b:100:0
[2018/01/03 15:39:41.169540, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.169604,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 179341376) level=65298 max_data=65535
[2018/01/03 15:39:41.169667,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.169731,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.169830,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.169895, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.169970, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.170014, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/39/512
[2018/01/03 15:39:41.172435, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.172594, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 39 (position 39) from bitmap
[2018/01/03 15:39:41.172659, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 39
[2018/01/03 15:39:41.172728,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.172799, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 179341376
[2018/01/03 15:39:41.172877,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.172936, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.172995, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.173038, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b451e0
[2018/01/03 15:39:41.173081, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.173147, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.173184,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xc1f2bb6e863dd973 (-4471305396652484237)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000025 (37)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.163047
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000008ddaabf4 (2379918324)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.174062, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.174117, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.174167,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xc1f2bb6e863dd973 (-4471305396652484237)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.174637, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x13975438677057067379 key 3b:100:0
[2018/01/03 15:39:41.174693, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.174748,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.174798, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.174856, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.174910,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.174961, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.175017, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 52219667
[2018/01/03 15:39:41.175070, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.175140, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 52219667
[2018/01/03 15:39:41.175190,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.175240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.175297,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 179341376 (0 used)
[2018/01/03 15:39:41.175357, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.175413, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/40/512
[2018/01/03 15:39:41.178156, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.178290, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 40 (position 40) from bitmap
[2018/01/03 15:39:41.178352, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 40
[2018/01/03 15:39:41.178420,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.178527, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.178588, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.178686,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.178747,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.178799, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.178862, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.178914,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.178968, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.179027, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.179083,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x3 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.179142, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.179251, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.179317, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.179375, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.179425, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.179495, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.179553, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.179612, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.179730, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.179799, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.179850, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.179913, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2018/01/03 15:39:41.179982,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.180034, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.180092, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key BEB46A19
[2018/01/03 15:39:41.180145, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.180197, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.180285, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'BEB46A19' stored
[2018/01/03 15:39:41.180340,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xbeb46a19 (3199494681)
                  open_persistent_id       : 0x00000000beb46a19 (3199494681)
                  open_volatile_id         : 0x000000002a18059b (706217371)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.180896, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key BEB46A19
[2018/01/03 15:39:41.180948,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.180999, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.181069, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xbeb46a19) stored
[2018/01/03 15:39:41.181118,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x2a18059b (706217371)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xbeb46a19 (3199494681)
                          open_persistent_id       : 0x00000000beb46a19 (3199494681)
                          open_volatile_id         : 0x000000002a18059b (706217371)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.181924,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 706217371 (1 used)
[2018/01/03 15:39:41.181985, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.182061, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.182122, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.182173,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.182241, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:767(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 34. 
[2018/01/03 15:39:41.182299,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.182366, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.182426, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.182490, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b50570
[2018/01/03 15:39:41.182555, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.182604,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x29b2b08c0342b268 (3004658016806154856)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000028 (40)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.179970
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000007e10dc89 (2115034249)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.183513, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x3004658016806154856 key 3b:100:0
[2018/01/03 15:39:41.183592,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.183636, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.183703, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.183747, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x3004658016806154857 key 3b:100:0
[2018/01/03 15:39:41.183795, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.183836, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.183877, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.183918,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.183964,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.184035,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.184079, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 706217371
[2018/01/03 15:39:41.184133, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.184179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/41/512
[2018/01/03 15:39:41.186501, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.186632, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 41 (position 41) from bitmap
[2018/01/03 15:39:41.186695, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 41
[2018/01/03 15:39:41.186765,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.186835, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:39:41.186905, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: . - fnum 706217371
[2018/01/03 15:39:41.186980, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 41, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.187045,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:475(dptr_create)
  dptr_create dir=.
[2018/01/03 15:39:41.187122,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:657(dptr_create)
  creating new dirptr 0 for path ., expect_close = 0
[2018/01/03 15:39:41.187218,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<.> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:39:41.187345,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 0
[2018/01/03 15:39:41.187430,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.187485,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.187565,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.187624, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x3004658016806154857 key 3b:100:0
[2018/01/03 15:39:41.187673,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found . fname=. (.)
[2018/01/03 15:39:41.187723, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65527
[2018/01/03 15:39:41.187765, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.187813,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 2147483648
[2018/01/03 15:39:41.187865,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: ..
[2018/01/03 15:39:41.187906,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.187964,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.188010,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found .. fname=.. (..)
[2018/01/03 15:39:41.188055, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65415
[2018/01/03 15:39:41.188095, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.188173,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 26
[2018/01/03 15:39:41.188217,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: endless OS
[2018/01/03 15:39:41.188260,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.188316,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.188361,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found endless OS fname=endless OS (endless OS)
[2018/01/03 15:39:41.188406, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65303
[2018/01/03 15:39:41.188446, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.188524, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: endless OS -> 3CA63D83 -> EGTT5D~V (cache=1)
[2018/01/03 15:39:41.188578,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 40
[2018/01/03 15:39:41.188621,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: androidstuff
[2018/01/03 15:39:41.188664,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.188720,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.188765,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found androidstuff fname=androidstuff (androidstuff)
[2018/01/03 15:39:41.188809, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65175
[2018/01/03 15:39:41.188850, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.188893, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: androidstuff -> 23DD2830 -> A9Y8FU~8 (cache=1)
[2018/01/03 15:39:41.188946,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 42
[2018/01/03 15:39:41.188991,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: gits
[2018/01/03 15:39:41.189034,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.189089,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x810): "d[compressed]"
[2018/01/03 15:39:41.189135,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found gits fname=gits (gits)
[2018/01/03 15:39:41.189179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65047
[2018/01/03 15:39:41.189220, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.189271,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 56
[2018/01/03 15:39:41.189315,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.189358,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): ""
[2018/01/03 15:39:41.189410,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x80): ""
[2018/01/03 15:39:41.189455,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found broadcom-wl-6.30.163.46.wl_apsta.o fname=broadcom-wl-6.30.163.46.wl_apsta.o (broadcom-wl-6.30.163.46.wl_apsta.o)
[2018/01/03 15:39:41.189527, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64935
[2018/01/03 15:39:41.189569, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.189613, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: broadcom-wl-6.30.163.46.wl_apsta.o -> 7DBB65A5 -> BYVWH4~5.O (cache=1)
[2018/01/03 15:39:41.189667,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 57
[2018/01/03 15:39:41.189710,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: moms couch
[2018/01/03 15:39:41.189753,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.189810,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.189855,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found moms couch fname=moms couch (moms couch)
[2018/01/03 15:39:41.189899, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64759
[2018/01/03 15:39:41.189940, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.189983, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: moms couch -> 5072D3BB -> MMBKT6~J (cache=1)
[2018/01/03 15:39:41.190034,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset 2147483647
[2018/01/03 15:39:41.190078,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:39:41.190120,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.190176,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.190220,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms fname=noperms (noperms)
[2018/01/03 15:39:41.190265, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64631
[2018/01/03 15:39:41.190306, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.190357,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset -1
[2018/01/03 15:39:41.190408, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:184(smbd_smb2_request_find_done)
  smbd_smb2_request_find_done: out_output_buffer.length = 1014
[2018/01/03 15:39:41.190451, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:1014] at ../source3/smbd/smb2_query_directory.c:188
[2018/01/03 15:39:41.190520, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/42/512
[2018/01/03 15:39:41.193324, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.193458, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 42 (position 42) from bitmap
[2018/01/03 15:39:41.193537, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 42
[2018/01/03 15:39:41.193606,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.193675, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:39:41.193744, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: . - fnum 706217371
[2018/01/03 15:39:41.193819, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 42, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.193886,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<.> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:39:41.193972,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b50570 now at offset -1
[2018/01/03 15:39:41.194047,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3120(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
[2018/01/03 15:39:41.194116, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[STATUS_NO_MORE_FILES] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:3168
[2018/01/03 15:39:41.194180, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/43/512
[2018/01/03 15:39:41.196674, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.196813, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 43 (position 43) from bitmap
[2018/01/03 15:39:41.196868, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 43
[2018/01/03 15:39:41.196929,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.196992, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 706217371
[2018/01/03 15:39:41.197056,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.197143, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.197208, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.197264, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6d0
[2018/01/03 15:39:41.197319, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.197398, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.197447,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x29b2b08c0342b269 (3004658016806154857)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000028 (40)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.179970
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000007e10dc89 (2115034249)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.198358, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.198414, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.198463,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x29b2b08c0342b269 (3004658016806154857)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.198928, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x3004658016806154857 key 3b:100:0
[2018/01/03 15:39:41.198983, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.199038,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.199088, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.199146, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.199199,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:233(dptr_close_internal)
  closing dptr key 0
[2018/01/03 15:39:41.199272,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.199323, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.199378, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key BEB46A19
[2018/01/03 15:39:41.199430, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.199512, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key BEB46A19
[2018/01/03 15:39:41.199562,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.199612, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.199671,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 706217371 (0 used)
[2018/01/03 15:39:41.199731, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.199786, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/44/512
[2018/01/03 15:39:41.202343, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.202492, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 44 (position 44) from bitmap
[2018/01/03 15:39:41.202558, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 44
[2018/01/03 15:39:41.202629,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.202703, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.202766, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.202828,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.202899,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.202960, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.203036, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.203098,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.203164, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x10, 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 = .
[2018/01/03 15:39:41.203233, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.203305,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.203373, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.203508, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.203576, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.203635, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.203685, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.203778, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.203836, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.203895, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.204013, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.204065, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.204116, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.204179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.204248,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.204300, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.204357, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 837C3B0F
[2018/01/03 15:39:41.204410, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.204462, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.204575, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '837C3B0F' stored
[2018/01/03 15:39:41.204632,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x837c3b0f (2205956879)
                  open_persistent_id       : 0x00000000837c3b0f (2205956879)
                  open_volatile_id         : 0x000000003f791a2d (1064901165)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.205216, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 837C3B0F
[2018/01/03 15:39:41.205271,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.205323, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.205379, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x837c3b0f) stored
[2018/01/03 15:39:41.205431,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x3f791a2d (1064901165)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x837c3b0f (2205956879)
                          open_persistent_id       : 0x00000000837c3b0f (2205956879)
                          open_volatile_id         : 0x000000003f791a2d (1064901165)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.206301,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1064901165 (1 used)
[2018/01/03 15:39:41.206363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.206416, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.206485,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.206539, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.206601, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.206656, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b463f0
[2018/01/03 15:39:41.206721, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.206772,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x0f39d47c8757353c (1097141615553099068)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000002c (44)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.204235
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000007c89cdc4 (2089405892)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.207715, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x1097141615553099068 key 3b:100:0
[2018/01/03 15:39:41.207804,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.207859, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.207919, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.207972, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x1097141615553099069 key 3b:100:0
[2018/01/03 15:39:41.208033, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.208085, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.208136, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.208188,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.208243,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.208331,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.208386, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 1064901165
[2018/01/03 15:39:41.208452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.208524, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/45/512
[2018/01/03 15:39:41.211175, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.211317, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 45 (position 45) from bitmap
[2018/01/03 15:39:41.211375, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 45
[2018/01/03 15:39:41.211438,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.211516, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 45, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.211574, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 1064901165
[2018/01/03 15:39:41.211651,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3456(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2018/01/03 15:39:41.212152, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:466(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(autofs)
[2018/01/03 15:39:41.212213, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas_linux.c:82(sys_get_vfs_quota)
  sys_get_vfs_quota: path[/srv/scratch] bdev[systemd-1] SMB_USER_FS_QUOTA_TYPE (uid[1000])
[2018/01/03 15:39:41.212273, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:491(sys_get_quota)
  sys_get_vfs_quota() called for mntpath[/srv/scratch] bdev[systemd-1] qtype[1] id[-1].
[2018/01/03 15:39:41.212574, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:466(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(autofs)
[2018/01/03 15:39:41.212630, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas_linux.c:95(sys_get_vfs_quota)
  sys_get_vfs_quota: path[/srv/scratch] bdev[systemd-1] SMB_GROUP_FS_QUOTA_TYPE (gid[0])
[2018/01/03 15:39:41.212687, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:491(sys_get_quota)
  sys_get_vfs_quota() called for mntpath[/srv/scratch] bdev[systemd-1] qtype[3] id[-1].
[2018/01/03 15:39:41.212740,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3701(smbd_do_qfsinfo)
  smbd_do_qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024, cSectorUnit=2, cBytesSector=512, cUnitTotal=1073739776, cUnitAvail=503830668
[2018/01/03 15:39:41.212809, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:32] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.212868, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/46/512
[2018/01/03 15:39:41.216851, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.216999, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 46 (position 46) from bitmap
[2018/01/03 15:39:41.217062, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 46
[2018/01/03 15:39:41.217130,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.217203, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 1064901165
[2018/01/03 15:39:41.217278,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.217338, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.217407, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.217488, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b566e0
[2018/01/03 15:39:41.217563, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x1097141615553099069 key 3b:100:0
[2018/01/03 15:39:41.217629, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.217734, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.217793,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x0f39d47c8757353d (1097141615553099069)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.218329, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x1097141615553099069 key 3b:100:0
[2018/01/03 15:39:41.218392, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.218457,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.218528, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.218596, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.218659,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.218719, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.218785, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 837C3B0F
[2018/01/03 15:39:41.218846, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.218925, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 837C3B0F
[2018/01/03 15:39:41.218984,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.219042, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.219111,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1064901165 (0 used)
[2018/01/03 15:39:41.219180, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.219266, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/47/512
[2018/01/03 15:39:41.222373, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.222531, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 47 (position 47) from bitmap
[2018/01/03 15:39:41.222594, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 47
[2018/01/03 15:39:41.222662,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.222740, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.222801, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.222861,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.222930,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.222989, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.223061, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.223121,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.223183, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x10, 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 = .
[2018/01/03 15:39:41.223252, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.223317,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.223385, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.223525, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.223602, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.223668, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.223766, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.223834, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.223899, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.223967, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.224103, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.224162, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.224219, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.224291, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.224368,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.224429, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.224509, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key DD65108D
[2018/01/03 15:39:41.224571, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.224631, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.224729, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'DD65108D' stored
[2018/01/03 15:39:41.224792,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xdd65108d (3714388109)
                  open_persistent_id       : 0x00000000dd65108d (3714388109)
                  open_volatile_id         : 0x000000001273f488 (309589128)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.225429, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key DD65108D
[2018/01/03 15:39:41.225508,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.225566, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.225627, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xdd65108d) stored
[2018/01/03 15:39:41.225684,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x1273f488 (309589128)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xdd65108d (3714388109)
                          open_persistent_id       : 0x00000000dd65108d (3714388109)
                          open_volatile_id         : 0x000000001273f488 (309589128)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.226636,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 309589128 (1 used)
[2018/01/03 15:39:41.226705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.226764, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.226830,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.226886, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.226955, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.227015, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4e8e0
[2018/01/03 15:39:41.227086, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.227142,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x60a0db9a90b71ddc (6962806480814153180)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000002f (47)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.224355
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000088fd3f35 (2298298165)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.228018, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x6962806480814153180 key 3b:100:0
[2018/01/03 15:39:41.228093,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.228137, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.228185, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.228229, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x6962806480814153181 key 3b:100:0
[2018/01/03 15:39:41.228279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.228321, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.228363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.228404,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.228450,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.228535,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.228580, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 309589128
[2018/01/03 15:39:41.228635, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.228683, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/48/512
[2018/01/03 15:39:41.231862, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.231995, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 48 (position 48) from bitmap
[2018/01/03 15:39:41.232058, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 48
[2018/01/03 15:39:41.232126,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.232192, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 48, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.232254, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 309589128
[2018/01/03 15:39:41.232373,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3456(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1005
[2018/01/03 15:39:41.232501, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:20] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.232567, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/49/512
[2018/01/03 15:39:41.232684,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:41.232730,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:39:41.232772,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:39:41.232857,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:39:41.236174, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.236306, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 49 (position 49) from bitmap
[2018/01/03 15:39:41.236369, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 49
[2018/01/03 15:39:41.236449,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:39:41.236536,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:39:41.236833,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:39:41.237008,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:39:41.237064, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 309589128
[2018/01/03 15:39:41.237118,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.237162, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.237213, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.237260, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b56750
[2018/01/03 15:39:41.237346, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x6962806480814153181 key 3b:100:0
[2018/01/03 15:39:41.237395, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.237444, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.237506,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x60a0db9a90b71ddd (6962806480814153181)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.237896, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x6962806480814153181 key 3b:100:0
[2018/01/03 15:39:41.237943, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.237990,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.238033, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.238083, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.238130,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.238174, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.238222, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key DD65108D
[2018/01/03 15:39:41.238267, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.238328, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key DD65108D
[2018/01/03 15:39:41.238371,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.238413, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.238488,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 309589128 (0 used)
[2018/01/03 15:39:41.238540, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.238587, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/50/512
[2018/01/03 15:39:41.253992, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.254205, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 50 (position 50) from bitmap
[2018/01/03 15:39:41.254339, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 50
[2018/01/03 15:39:41.254519,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.254670, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.254802, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.254931,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.255077,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.255202, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.255350, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.255501,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.255636, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.255781, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.255927,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x81, share_access = 0x3 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.256071, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.256306, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.256554, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.256698, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.256825, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.256970, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.257115, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.257266, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.257600, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.257731, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.257862, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.258015, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2018/01/03 15:39:41.258173,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.258304, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.258450, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 37A11272
[2018/01/03 15:39:41.258605, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.258737, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.258932, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '37A11272' stored
[2018/01/03 15:39:41.259070,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x37a11272 (933302898)
                  open_persistent_id       : 0x0000000037a11272 (933302898)
                  open_volatile_id         : 0x00000000bcc3f428 (3166958632)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.260524, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 37A11272
[2018/01/03 15:39:41.260658,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.260786, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.260921, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x37a11272) stored
[2018/01/03 15:39:41.261047,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xbcc3f428 (3166958632)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x37a11272 (933302898)
                          open_persistent_id       : 0x0000000037a11272 (933302898)
                          open_volatile_id         : 0x00000000bcc3f428 (3166958632)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.263174,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3166958632 (1 used)
[2018/01/03 15:39:41.263321, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.263525, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.263678, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.263806,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.263967, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:767(fd_open)
  fd_open: name ., flags = 0200000 mode = 00, fd = 34. 
[2018/01/03 15:39:41.264112,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.264240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.264388, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.264549, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4f1c0
[2018/01/03 15:39:41.264665, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.264702,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x99883c0a0ae89271 (-7383585575243574671)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000032 (50)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.258152
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b516eeac (3038178988)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.265392, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x11063158498465976945 key 3b:100:0
[2018/01/03 15:39:41.265458,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.265506, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.265550, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.265589, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x11063158498465976946 key 3b:100:0
[2018/01/03 15:39:41.265634, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.265672, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.265710, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.265748,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.265790,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.265854,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.265894, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 3166958632
[2018/01/03 15:39:41.265945, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.265988, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/51/512
[2018/01/03 15:39:41.269456, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.269625, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 51 (position 51) from bitmap
[2018/01/03 15:39:41.269669, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 51
[2018/01/03 15:39:41.269717,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.269763, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:39:41.269811, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: . - fnum 3166958632
[2018/01/03 15:39:41.269860, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 51, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.269901,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:475(dptr_create)
  dptr_create dir=.
[2018/01/03 15:39:41.269957,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:657(dptr_create)
  creating new dirptr 0 for path ., expect_close = 0
[2018/01/03 15:39:41.269998,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<.> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:39:41.270061,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 0
[2018/01/03 15:39:41.270115,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.270157,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.270226,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.270281, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x11063158498465976946 key 3b:100:0
[2018/01/03 15:39:41.270327,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found . fname=. (.)
[2018/01/03 15:39:41.270375, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65527
[2018/01/03 15:39:41.270414, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.270459,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 2147483648
[2018/01/03 15:39:41.270520,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: ..
[2018/01/03 15:39:41.270559,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.270612,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.270669,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found .. fname=.. (..)
[2018/01/03 15:39:41.270711, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65415
[2018/01/03 15:39:41.270749, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.270822,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 26
[2018/01/03 15:39:41.270864,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: endless OS
[2018/01/03 15:39:41.270904,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.270956,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.270999,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found endless OS fname=endless OS (endless OS)
[2018/01/03 15:39:41.271040, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65303
[2018/01/03 15:39:41.271078, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.271123, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: endless OS -> 3CA63D83 -> EGTT5D~V (cache=1)
[2018/01/03 15:39:41.271174,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 40
[2018/01/03 15:39:41.271214,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: androidstuff
[2018/01/03 15:39:41.271254,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.271306,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.271348,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found androidstuff fname=androidstuff (androidstuff)
[2018/01/03 15:39:41.271390, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65175
[2018/01/03 15:39:41.271427, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.271468, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: androidstuff -> 23DD2830 -> A9Y8FU~8 (cache=1)
[2018/01/03 15:39:41.271533,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 42
[2018/01/03 15:39:41.271575,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: gits
[2018/01/03 15:39:41.271615,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.271682,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x810): "d[compressed]"
[2018/01/03 15:39:41.271724,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found gits fname=gits (gits)
[2018/01/03 15:39:41.271766, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65047
[2018/01/03 15:39:41.271804, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.271853,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 56
[2018/01/03 15:39:41.271894,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.271933,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): ""
[2018/01/03 15:39:41.271982,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x80): ""
[2018/01/03 15:39:41.272024,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found broadcom-wl-6.30.163.46.wl_apsta.o fname=broadcom-wl-6.30.163.46.wl_apsta.o (broadcom-wl-6.30.163.46.wl_apsta.o)
[2018/01/03 15:39:41.272069, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64935
[2018/01/03 15:39:41.272108, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.272149, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: broadcom-wl-6.30.163.46.wl_apsta.o -> 7DBB65A5 -> BYVWH4~5.O (cache=1)
[2018/01/03 15:39:41.272200,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 57
[2018/01/03 15:39:41.272240,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: moms couch
[2018/01/03 15:39:41.272280,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.272334,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.272376,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found moms couch fname=moms couch (moms couch)
[2018/01/03 15:39:41.272417, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64759
[2018/01/03 15:39:41.272455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.272504, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/mangle_hash2.c:791(hash2_name_to_8_3)
  hash2_name_to_8_3: moms couch -> 5072D3BB -> MMBKT6~J (cache=1)
[2018/01/03 15:39:41.272555,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset 2147483647
[2018/01/03 15:39:41.272613,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:39:41.272654,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.272712,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.272755,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms fname=noperms (noperms)
[2018/01/03 15:39:41.272798, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64631
[2018/01/03 15:39:41.272836, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:39:41.272887,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset -1
[2018/01/03 15:39:41.272935, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:184(smbd_smb2_request_find_done)
  smbd_smb2_request_find_done: out_output_buffer.length = 1014
[2018/01/03 15:39:41.272975, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:1014] at ../source3/smbd/smb2_query_directory.c:188
[2018/01/03 15:39:41.273019, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/52/512
[2018/01/03 15:39:41.275872, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.276008, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 52 (position 52) from bitmap
[2018/01/03 15:39:41.276073, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 52
[2018/01/03 15:39:41.276144,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.276211, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:39:41.276280, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: . - fnum 3166958632
[2018/01/03 15:39:41.276355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 52, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.276425,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<.> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:39:41.276528,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b4f1c0 now at offset -1
[2018/01/03 15:39:41.276601,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3120(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
[2018/01/03 15:39:41.276710, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[STATUS_NO_MORE_FILES] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:3168
[2018/01/03 15:39:41.276764, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/53/512
[2018/01/03 15:39:41.279537, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.279675, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 53 (position 53) from bitmap
[2018/01/03 15:39:41.279740, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 53
[2018/01/03 15:39:41.279809,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.279885, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 3166958632
[2018/01/03 15:39:41.279960,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.280020, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.280094, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.280160, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6d0
[2018/01/03 15:39:41.280226, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.280318, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.280378,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x99883c0a0ae89272 (-7383585575243574670)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000032 (50)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.258152
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b516eeac (3038178988)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.281428, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.281497, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.281547,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x99883c0a0ae89272 (-7383585575243574670)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.281983, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x11063158498465976946 key 3b:100:0
[2018/01/03 15:39:41.282038, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.282094,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.282144, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.282202, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.282255,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:233(dptr_close_internal)
  closing dptr key 0
[2018/01/03 15:39:41.282347,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.282398, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.282453, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 37A11272
[2018/01/03 15:39:41.282517, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.282587, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 37A11272
[2018/01/03 15:39:41.282638,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.282694, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.282752,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3166958632 (0 used)
[2018/01/03 15:39:41.282811, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.282867, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/54/512
[2018/01/03 15:39:41.285627, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.285751, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 54 (position 54) from bitmap
[2018/01/03 15:39:41.285806, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 54
[2018/01/03 15:39:41.285867,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.285933, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[endless OS]
[2018/01/03 15:39:41.285987, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.286039,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "endless OS"
[2018/01/03 15:39:41.286099, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [ENDLESS OS]
[2018/01/03 15:39:41.286152,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = endless OS, dirpath = , start = endless OS
[2018/01/03 15:39:41.286220,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b4f3c0:size a) ENDLESS OS -> endless OS
[2018/01/03 15:39:41.286271,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished endless OS -> endless OS
[2018/01/03 15:39:41.286325, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [endless OS] [/srv/scratch]
[2018/01/03 15:39:41.286436, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [endless OS] -> [/srv/scratch/endless OS]
[2018/01/03 15:39:41.286514,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: endless OS reduced to /srv/scratch/endless OS
[2018/01/03 15:39:41.286572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = endless OS
[2018/01/03 15:39:41.286635, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = endless OS
[2018/01/03 15:39:41.286712,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.286768, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.286831, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9570DC71
[2018/01/03 15:39:41.286889, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b124b0
[2018/01/03 15:39:41.286947, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.287040, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '9570DC71' stored
[2018/01/03 15:39:41.287099,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x9570dc71 (2507201649)
                  open_persistent_id       : 0x000000009570dc71 (2507201649)
                  open_volatile_id         : 0x00000000d7e07dfe (3621813758)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.287727, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9570DC71
[2018/01/03 15:39:41.287785,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.287841, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.287898, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x9570dc71) stored
[2018/01/03 15:39:41.287953,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xd7e07dfe (3621813758)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x9570dc71 (2507201649)
                          open_persistent_id       : 0x000000009570dc71 (2507201649)
                          open_volatile_id         : 0x00000000d7e07dfe (3621813758)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.288835,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3621813758 (1 used)
[2018/01/03 15:39:41.288900, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/endless OS hash 0x7e1a68d6
[2018/01/03 15:39:41.288963,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(endless OS) returning 0744
[2018/01/03 15:39:41.289037, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=endless OS, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.289105, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=endless OS, after mapping access_mask=0x80
[2018/01/03 15:39:41.289162,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.289222, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file endless OS
[2018/01/03 15:39:41.289338, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.289409, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.289486, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.289541, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.289604, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.289666, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.289732, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 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 ---
[2018/01/03 15:39:41.289862, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.289918, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.289974, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.290041, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file endless OS requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.290102,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.290158, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.290219, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9570DC71
[2018/01/03 15:39:41.290295, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.290373, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9570DC71
[2018/01/03 15:39:41.290428,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.290494, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.290559,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3621813758 (0 used)
[2018/01/03 15:39:41.290614,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory endless OS, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.290675, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file endless OS
[2018/01/03 15:39:41.290768, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.290836, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.290896, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.290950, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.291014, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.291076, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.291141, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 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 ---
[2018/01/03 15:39:41.291272, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.291327, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.291383, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.291447, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file endless OS requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.291543,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.291600, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.291660, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 51D01368
[2018/01/03 15:39:41.291716, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47090
[2018/01/03 15:39:41.291771, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.291862, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '51D01368' stored
[2018/01/03 15:39:41.291921,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x51d01368 (1372590952)
                  open_persistent_id       : 0x0000000051d01368 (1372590952)
                  open_volatile_id         : 0x00000000d14bdfa1 (3511410593)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.292511, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 51D01368
[2018/01/03 15:39:41.292569,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.292624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.292682, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x51d01368) stored
[2018/01/03 15:39:41.292737,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xd14bdfa1 (3511410593)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x51d01368 (1372590952)
                          open_persistent_id       : 0x0000000051d01368 (1372590952)
                          open_volatile_id         : 0x00000000d14bdfa1 (3511410593)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.293637,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3511410593 (1 used)
[2018/01/03 15:39:41.293699, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/endless OS hash 0x7e1a68d6
[2018/01/03 15:39:41.293755, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory endless OS
[2018/01/03 15:39:41.293820,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.293874, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.293939, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000101
[2018/01/03 15:39:41.293998, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b48390
[2018/01/03 15:39:41.294066, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.294119,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x25755e60438ae623 (2699167319221528099)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'endless OS'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000036 (54)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.291534
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000101 (257)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000045f4f6d8 (1173681880)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x7e1a68d6 (2115659990)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000101 (257)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.295108, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file endless OS seq 0x2699167319221528099 key 3b:101:0
[2018/01/03 15:39:41.295236,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.295293, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.295358, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000101
[2018/01/03 15:39:41.295415, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file endless OS seq 0x2699167319221528100 key 3b:101:0
[2018/01/03 15:39:41.295489, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.295546, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.295600, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.295656,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: endless OS
[2018/01/03 15:39:41.295716,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.295834,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.295892, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: endless OS - fnum 3511410593
[2018/01/03 15:39:41.295963, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.296026, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/55/512
[2018/01/03 15:39:41.298934, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.299068, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 55 (position 55) from bitmap
[2018/01/03 15:39:41.299136, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 55
[2018/01/03 15:39:41.299208,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.299279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 55, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.299344, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: endless OS - fnum 3511410593
[2018/01/03 15:39:41.299449, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file endless OS seq 0x2699167319221528100 key 3b:101:0
[2018/01/03 15:39:41.299533, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x7e1a68d6
[2018/01/03 15:39:41.299599,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: endless OS (fnum 3511410593) level=65298 max_data=65535
[2018/01/03 15:39:41.299663,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: endless OS
[2018/01/03 15:39:41.299733,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.299807,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.299853, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.299906, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:122] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.299950, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/56/512
[2018/01/03 15:39:41.302904, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.303041, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 56 (position 56) from bitmap
[2018/01/03 15:39:41.303107, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 56
[2018/01/03 15:39:41.303180,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.303254, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: endless OS - fnum 3511410593
[2018/01/03 15:39:41.303331,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.303393, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.303468, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000101
[2018/01/03 15:39:41.303553, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45170
[2018/01/03 15:39:41.303620, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:101:0
[2018/01/03 15:39:41.303715, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.303775,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x25755e60438ae624 (2699167319221528100)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'endless OS'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000036 (54)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.291534
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000101 (257)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000045f4f6d8 (1173681880)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x7e1a68d6 (2115659990)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000101 (257)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.304646, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x7e1a68d6
[2018/01/03 15:39:41.304690, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.304729,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x25755e60438ae624 (2699167319221528100)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'endless OS'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000101 (257)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.305074, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file endless OS seq 0x2699167319221528100 key 3b:101:0
[2018/01/03 15:39:41.305117, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.305159,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.305198, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.305243, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000101
[2018/01/03 15:39:41.305286,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.305326, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.305369, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 51D01368
[2018/01/03 15:39:41.305410, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.305467, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 51D01368
[2018/01/03 15:39:41.305527,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.305567, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.305613,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3511410593 (0 used)
[2018/01/03 15:39:41.305661, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.305705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/57/512
[2018/01/03 15:39:41.308877, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.309013, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 57 (position 57) from bitmap
[2018/01/03 15:39:41.309077, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 57
[2018/01/03 15:39:41.309150,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.309229, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[androidstuff]
[2018/01/03 15:39:41.309293, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.309359,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "androidstuff"
[2018/01/03 15:39:41.309428, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [ANDROIDSTUFF]
[2018/01/03 15:39:41.309515,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = androidstuff, dirpath = , start = androidstuff
[2018/01/03 15:39:41.309597,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b22960:size c) ANDROIDSTUFF -> androidstuff
[2018/01/03 15:39:41.309659,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished androidstuff -> androidstuff
[2018/01/03 15:39:41.309721, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [androidstuff] [/srv/scratch]
[2018/01/03 15:39:41.309808, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [androidstuff] -> [/srv/scratch/androidstuff]
[2018/01/03 15:39:41.309868,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: androidstuff reduced to /srv/scratch/androidstuff
[2018/01/03 15:39:41.309933, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = androidstuff
[2018/01/03 15:39:41.310040, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = androidstuff
[2018/01/03 15:39:41.310128,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.310192, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.310261, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9F964FAC
[2018/01/03 15:39:41.310325, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47090
[2018/01/03 15:39:41.310387, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.310506, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '9F964FAC' stored
[2018/01/03 15:39:41.310574,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x9f964fac (2677428140)
                  open_persistent_id       : 0x000000009f964fac (2677428140)
                  open_volatile_id         : 0x00000000b853e09f (3092504735)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.311235, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9F964FAC
[2018/01/03 15:39:41.311299,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.311357, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.311419, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x9f964fac) stored
[2018/01/03 15:39:41.311516,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xb853e09f (3092504735)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x9f964fac (2677428140)
                          open_persistent_id       : 0x000000009f964fac (2677428140)
                          open_volatile_id         : 0x00000000b853e09f (3092504735)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.312487,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3092504735 (1 used)
[2018/01/03 15:39:41.312560, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/androidstuff hash 0xe3cff30
[2018/01/03 15:39:41.312630,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(androidstuff) returning 0744
[2018/01/03 15:39:41.312696, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=androidstuff, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.312769, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=androidstuff, after mapping access_mask=0x80
[2018/01/03 15:39:41.312832,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.312896, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file androidstuff
[2018/01/03 15:39:41.313042, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.313123, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.313193, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.313253, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.313322, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.313388, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.313459, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.313616, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.313679, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.313739, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.313813, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file androidstuff requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.313883,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.313947, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.314015, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9F964FAC
[2018/01/03 15:39:41.314078, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.314160, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9F964FAC
[2018/01/03 15:39:41.314219,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.314277, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.314365,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3092504735 (0 used)
[2018/01/03 15:39:41.314427,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory androidstuff, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.314507, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file androidstuff
[2018/01/03 15:39:41.314607, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.314680, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.314747, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.314805, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.314871, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.314938, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.315008, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.315149, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.315208, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.315267, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.315337, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file androidstuff requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.315410,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.315469, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.315547, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key BC8B8DD6
[2018/01/03 15:39:41.315609, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47390
[2018/01/03 15:39:41.315690, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.315784, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'BC8B8DD6' stored
[2018/01/03 15:39:41.315852,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xbc8b8dd6 (3163262422)
                  open_persistent_id       : 0x00000000bc8b8dd6 (3163262422)
                  open_volatile_id         : 0x00000000fb5d8b0f (4217211663)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.316494, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key BC8B8DD6
[2018/01/03 15:39:41.316554,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.316613, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.316675, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xbc8b8dd6) stored
[2018/01/03 15:39:41.316733,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xfb5d8b0f (4217211663)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xbc8b8dd6 (3163262422)
                          open_persistent_id       : 0x00000000bc8b8dd6 (3163262422)
                          open_volatile_id         : 0x00000000fb5d8b0f (4217211663)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.317681,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4217211663 (1 used)
[2018/01/03 15:39:41.317726, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/androidstuff hash 0xe3cff30
[2018/01/03 15:39:41.317766, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory androidstuff
[2018/01/03 15:39:41.317813,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.317851, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.317898, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000F01
[2018/01/03 15:39:41.317940, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4f1c0
[2018/01/03 15:39:41.317990, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.318028,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x1a37a61c90e845da (1889161210325648858)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'androidstuff'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000039 (57)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.315401
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x000000000000010f (271)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000e100b22e (3774919214)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x0e3cff30 (238878512)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x000000000000010f (271)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.318739, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file androidstuff seq 0x1889161210325648858 key 3b:10f:0
[2018/01/03 15:39:41.318835,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.318874, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.318919, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000F01
[2018/01/03 15:39:41.318958, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file androidstuff seq 0x1889161210325648859 key 3b:10f:0
[2018/01/03 15:39:41.319002, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.319041, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.319078, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.319117,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: androidstuff
[2018/01/03 15:39:41.319159,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.319229,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.319269, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: androidstuff - fnum 4217211663
[2018/01/03 15:39:41.319319, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.319377, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/58/512
[2018/01/03 15:39:41.321974, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.322106, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 58 (position 58) from bitmap
[2018/01/03 15:39:41.322173, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 58
[2018/01/03 15:39:41.322244,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.322313, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 58, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.322377, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: androidstuff - fnum 4217211663
[2018/01/03 15:39:41.322494, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file androidstuff seq 0x1889161210325648859 key 3b:10f:0
[2018/01/03 15:39:41.322564, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xe3cff30
[2018/01/03 15:39:41.322630,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: androidstuff (fnum 4217211663) level=65298 max_data=65535
[2018/01/03 15:39:41.322695,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: androidstuff
[2018/01/03 15:39:41.322761,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.322863,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.322929, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.323007, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:126] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.323075, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/59/512
[2018/01/03 15:39:41.325453, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.325602, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 59 (position 59) from bitmap
[2018/01/03 15:39:41.325668, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 59
[2018/01/03 15:39:41.325737,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.325851, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: androidstuff - fnum 4217211663
[2018/01/03 15:39:41.325927,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.325996, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.326044, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000F01
[2018/01/03 15:39:41.326087, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6e0
[2018/01/03 15:39:41.326130, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:10f:0
[2018/01/03 15:39:41.326195, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.326233,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x1a37a61c90e845db (1889161210325648859)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'androidstuff'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000039 (57)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.315401
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x000000000000010f (271)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000e100b22e (3774919214)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x0e3cff30 (238878512)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x000000000000010f (271)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.326939, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xe3cff30
[2018/01/03 15:39:41.326996, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.327034,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x1a37a61c90e845db (1889161210325648859)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'androidstuff'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x000000000000010f (271)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.327371, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file androidstuff seq 0x1889161210325648859 key 3b:10f:0
[2018/01/03 15:39:41.327414, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.327456,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.327503, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.327548, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000F01
[2018/01/03 15:39:41.327590,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.327629, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.327671, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key BC8B8DD6
[2018/01/03 15:39:41.327712, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.327768, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key BC8B8DD6
[2018/01/03 15:39:41.327806,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.327845, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.327890,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4217211663 (0 used)
[2018/01/03 15:39:41.327937, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.327993, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/60/512
[2018/01/03 15:39:41.330766, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.330901, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 60 (position 60) from bitmap
[2018/01/03 15:39:41.330968, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 60
[2018/01/03 15:39:41.331037,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.331115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[gits]
[2018/01/03 15:39:41.331179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.331242,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "gits"
[2018/01/03 15:39:41.331311, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [GITS]
[2018/01/03 15:39:41.331375,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = gits, dirpath = , start = gits
[2018/01/03 15:39:41.331453,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b46fa0:size 4) GITS -> gits
[2018/01/03 15:39:41.331529,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished gits -> gits
[2018/01/03 15:39:41.331591, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [gits] [/srv/scratch]
[2018/01/03 15:39:41.331678, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [gits] -> [/srv/scratch/gits]
[2018/01/03 15:39:41.331735,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: gits reduced to /srv/scratch/gits
[2018/01/03 15:39:41.331799, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = gits
[2018/01/03 15:39:41.331868, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = gits
[2018/01/03 15:39:41.331940,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.331991, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.332083, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 1AD686B8
[2018/01/03 15:39:41.332137, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47090
[2018/01/03 15:39:41.332189, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.332276, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '1AD686B8' stored
[2018/01/03 15:39:41.332331,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x1ad686b8 (450266808)
                  open_persistent_id       : 0x000000001ad686b8 (450266808)
                  open_volatile_id         : 0x00000000a41a489f (2753185951)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.332895, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 1AD686B8
[2018/01/03 15:39:41.332948,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.332999, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.333051, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x1ad686b8) stored
[2018/01/03 15:39:41.333101,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xa41a489f (2753185951)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x1ad686b8 (450266808)
                          open_persistent_id       : 0x000000001ad686b8 (450266808)
                          open_volatile_id         : 0x00000000a41a489f (2753185951)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.333931,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2753185951 (1 used)
[2018/01/03 15:39:41.333991, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/gits hash 0x2f545dca
[2018/01/03 15:39:41.334048,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(gits) returning 0744
[2018/01/03 15:39:41.334101, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=gits, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.334162, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=gits, after mapping access_mask=0x80
[2018/01/03 15:39:41.334215,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.334268, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file gits
[2018/01/03 15:39:41.334376, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.334441, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.334511, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.334561, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.334619, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.334694, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.334754, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 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 ---
[2018/01/03 15:39:41.334873, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.334925, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.334976, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.335038, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file gits requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.335094,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.335145, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.335201, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 1AD686B8
[2018/01/03 15:39:41.335253, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.335325, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 1AD686B8
[2018/01/03 15:39:41.335375,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.335426, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.335495,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2753185951 (0 used)
[2018/01/03 15:39:41.335546,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory gits, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.335603, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file gits
[2018/01/03 15:39:41.335686, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.335749, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.335822, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.335872, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.335930, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.335986, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.336046, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 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 ---
[2018/01/03 15:39:41.336164, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.336215, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.336266, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.336324, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file gits requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.336386,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.336436, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.336508, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E1EC6A6E
[2018/01/03 15:39:41.336561, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47090
[2018/01/03 15:39:41.336611, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.336696, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E1EC6A6E' stored
[2018/01/03 15:39:41.336750,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe1ec6a6e (3790367342)
                  open_persistent_id       : 0x00000000e1ec6a6e (3790367342)
                  open_volatile_id         : 0x000000009b3990d9 (2604241113)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.337296, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E1EC6A6E
[2018/01/03 15:39:41.337349,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.337399, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.337452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe1ec6a6e) stored
[2018/01/03 15:39:41.337514,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x9b3990d9 (2604241113)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe1ec6a6e (3790367342)
                          open_persistent_id       : 0x00000000e1ec6a6e (3790367342)
                          open_volatile_id         : 0x000000009b3990d9 (2604241113)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.338327,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2604241113 (1 used)
[2018/01/03 15:39:41.338385, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/gits hash 0x2f545dca
[2018/01/03 15:39:41.338436, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory gits
[2018/01/03 15:39:41.338506,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.338556, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.338616, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3C000000000000000001
[2018/01/03 15:39:41.338669, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4f1c0
[2018/01/03 15:39:41.338732, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.338782,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x8e928710ae92017d (-8173321868005998211)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'gits'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000003c (60)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.336377
                  id: struct file_id
                      devid                    : 0x000000000000003c (60)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000834350de (2202226910)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x2f545dca (794058186)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003c (60)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.339648, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file gits seq 0x10273422205703553405 key 3c:100:0
[2018/01/03 15:39:41.339744,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.339784, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.339829, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3C000000000000000001
[2018/01/03 15:39:41.339868, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file gits seq 0x10273422205703553406 key 3c:100:0
[2018/01/03 15:39:41.339913, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.339951, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.339989, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.340027,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: gits
[2018/01/03 15:39:41.340069,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.340138,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x810): "d[compressed]"
[2018/01/03 15:39:41.340179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: gits - fnum 2604241113
[2018/01/03 15:39:41.340230, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.340273, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/61/512
[2018/01/03 15:39:41.342969, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.343104, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 61 (position 61) from bitmap
[2018/01/03 15:39:41.343169, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 61
[2018/01/03 15:39:41.343240,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.343348, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 61, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.343416, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: gits - fnum 2604241113
[2018/01/03 15:39:41.343539, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file gits seq 0x10273422205703553406 key 3c:100:0
[2018/01/03 15:39:41.343584, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x2f545dca
[2018/01/03 15:39:41.343627,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: gits (fnum 2604241113) level=65298 max_data=65535
[2018/01/03 15:39:41.343668,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: gits
[2018/01/03 15:39:41.343711,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.343785,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x810): "d[compressed]"
[2018/01/03 15:39:41.343831, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.343884, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:110] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.343928, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/62/512
[2018/01/03 15:39:41.346597, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.346732, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 62 (position 62) from bitmap
[2018/01/03 15:39:41.346799, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 62
[2018/01/03 15:39:41.346869,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.346941, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: gits - fnum 2604241113
[2018/01/03 15:39:41.347016,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.347079, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.347152, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3C000000000000000001
[2018/01/03 15:39:41.347216, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45160
[2018/01/03 15:39:41.347281, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3c:100:0
[2018/01/03 15:39:41.347414, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.347488,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x8e928710ae92017e (-8173321868005998210)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'gits'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000003c (60)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.336377
                  id: struct file_id
                      devid                    : 0x000000000000003c (60)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000834350de (2202226910)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x2f545dca (794058186)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003c (60)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.348303, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x2f545dca
[2018/01/03 15:39:41.348346, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.348384,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x8e928710ae92017e (-8173321868005998210)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'gits'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003c (60)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.348756, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file gits seq 0x10273422205703553406 key 3c:100:0
[2018/01/03 15:39:41.348798, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.348841,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.348880, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.348924, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3C000000000000000001
[2018/01/03 15:39:41.348967,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.349007, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.349049, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E1EC6A6E
[2018/01/03 15:39:41.349090, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.349146, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E1EC6A6E
[2018/01/03 15:39:41.349184,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.349223, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.349268,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2604241113 (0 used)
[2018/01/03 15:39:41.349315, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.349359, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/63/512
[2018/01/03 15:39:41.352965, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.353099, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 63 (position 63) from bitmap
[2018/01/03 15:39:41.353164, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 63
[2018/01/03 15:39:41.353235,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.353358, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[broadcom-wl-6.30.163.46.wl_apsta.o]
[2018/01/03 15:39:41.353425, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.353508,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "broadcom-wl-6.30.163.46.wl_apsta.o"
[2018/01/03 15:39:41.353579, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [BROADCOM-WL-6.30.163.46.WL_APSTA.O]
[2018/01/03 15:39:41.353645,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = broadcom-wl-6.30.163.46.wl_apsta.o, dirpath = , start = broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.353727,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b504e0:size 22) BROADCOM-WL-6.30.163.46.WL_APSTA.O -> broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.353788,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished broadcom-wl-6.30.163.46.wl_apsta.o -> broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.353850, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [broadcom-wl-6.30.163.46.wl_apsta.o] [/srv/scratch]
[2018/01/03 15:39:41.353938, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [broadcom-wl-6.30.163.46.wl_apsta.o] -> [/srv/scratch/broadcom-wl-6.30.163.46.wl_apsta.o]
[2018/01/03 15:39:41.353999,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: broadcom-wl-6.30.163.46.wl_apsta.o reduced to /srv/scratch/broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.354062, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.354132, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.354216,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.354277, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.354346, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 4CBD1584
[2018/01/03 15:39:41.354411, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47090
[2018/01/03 15:39:41.354487, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.354589, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '4CBD1584' stored
[2018/01/03 15:39:41.354678,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x4cbd1584 (1287460228)
                  open_persistent_id       : 0x000000004cbd1584 (1287460228)
                  open_volatile_id         : 0x00000000c5971439 (3315012665)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.355325, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 4CBD1584
[2018/01/03 15:39:41.355387,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.355445, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.355521, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x4cbd1584) stored
[2018/01/03 15:39:41.355581,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xc5971439 (3315012665)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x4cbd1584 (1287460228)
                          open_persistent_id       : 0x000000004cbd1584 (1287460228)
                          open_volatile_id         : 0x00000000c5971439 (3315012665)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.356546,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3315012665 (1 used)
[2018/01/03 15:39:41.356617, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/broadcom-wl-6.30.163.46.wl_apsta.o hash 0xe220772
[2018/01/03 15:39:41.356688,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(broadcom-wl-6.30.163.46.wl_apsta.o) returning 0744
[2018/01/03 15:39:41.356754, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=broadcom-wl-6.30.163.46.wl_apsta.o, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.356827, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=broadcom-wl-6.30.163.46.wl_apsta.o, after mapping access_mask=0x80
[2018/01/03 15:39:41.356889,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.356950, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.357065, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.357146, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.357216, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.357275, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.357344, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
[2018/01/03 15:39:41.357410, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rw-
[2018/01/03 15:39:41.357518, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rw-
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms r--
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.357661, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 180 to (NT) 12019f
[2018/01/03 15:39:41.357722, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 100 to (NT) 120089
[2018/01/03 15:39:41.357781, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.357860, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file broadcom-wl-6.30.163.46.wl_apsta.o requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.357925,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:1404(open_file)
  chris opened file broadcom-wl-6.30.163.46.wl_apsta.o read=No write=No (numopen=1)
[2018/01/03 15:39:41.357991,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.358053, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.358125, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000001901
[2018/01/03 15:39:41.358188, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4eb50
[2018/01/03 15:39:41.358280, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:39:41.358403,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/smbd/oplock.c:88(set_file_oplock)
  set_file_oplock: granted oplock on file broadcom-wl-6.30.163.46.wl_apsta.o, 3b:119:0/1688695816, tv_sec = 5a4d5bad, tv_usec = 5679b
[2018/01/03 15:39:41.358489, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:39:41.358551, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2273(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.358615, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.358675,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x79853c523919c557 (8756471374334772567)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'broadcom-wl-6.30.163.46.wl_apsta.o'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000003f (63)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.354203
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000119 (281)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000064a77408 (1688695816)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x0e220772 (237111154)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Mon Jul 29 09:27:41 AM 2013 MDT.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000119 (281)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.359747, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file broadcom-wl-6.30.163.46.wl_apsta.o seq 0x8756471374334772567 key 3b:119:0
[2018/01/03 15:39:41.359881,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.359943, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.360012, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000001901
[2018/01/03 15:39:41.360073, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file broadcom-wl-6.30.163.46.wl_apsta.o seq 0x8756471374334772568 key 3b:119:0
[2018/01/03 15:39:41.360143, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.360204, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.360263, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.360323,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.360388,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): ""
[2018/01/03 15:39:41.360490,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x80): ""
[2018/01/03 15:39:41.360575, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: broadcom-wl-6.30.163.46.wl_apsta.o - fnum 3315012665
[2018/01/03 15:39:41.360651, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.360718, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/64/512
[2018/01/03 15:39:41.363543, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.363677, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 64 (position 64) from bitmap
[2018/01/03 15:39:41.363742, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 64
[2018/01/03 15:39:41.363813,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.363881, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 64, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.363945, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: broadcom-wl-6.30.163.46.wl_apsta.o - fnum 3315012665
[2018/01/03 15:39:41.364048, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file broadcom-wl-6.30.163.46.wl_apsta.o seq 0x8756471374334772568 key 3b:119:0
[2018/01/03 15:39:41.364094, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xe220772
[2018/01/03 15:39:41.364138,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: broadcom-wl-6.30.163.46.wl_apsta.o (fnum 3315012665) level=65298 max_data=65535
[2018/01/03 15:39:41.364183,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: broadcom-wl-6.30.163.46.wl_apsta.o
[2018/01/03 15:39:41.364226,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x0): ""
[2018/01/03 15:39:41.364292,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x80): ""
[2018/01/03 15:39:41.364344, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.364399, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:170] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.364444, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/65/512
[2018/01/03 15:39:41.367358, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.367551, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 65 (position 65) from bitmap
[2018/01/03 15:39:41.367616, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 65
[2018/01/03 15:39:41.367687,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.367758, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: broadcom-wl-6.30.163.46.wl_apsta.o - fnum 3315012665
[2018/01/03 15:39:41.367833,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.367896, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.367971, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000001901
[2018/01/03 15:39:41.368039, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d710
[2018/01/03 15:39:41.368107, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:119:0
[2018/01/03 15:39:41.368200, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.368259,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x79853c523919c558 (8756471374334772568)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'broadcom-wl-6.30.163.46.wl_apsta.o'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000003f (63)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.354203
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000119 (281)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000064a77408 (1688695816)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x0e220772 (237111154)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Mon Jul 29 09:27:41 AM 2013 MDT.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000119 (281)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.369013, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xe220772
[2018/01/03 15:39:41.369057, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.369097,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x79853c523919c558 (8756471374334772568)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'broadcom-wl-6.30.163.46.wl_apsta.o'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Mon Jul 29 09:27:41 AM 2013 MDT.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000119 (281)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.369448, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file broadcom-wl-6.30.163.46.wl_apsta.o seq 0x8756471374334772568 key 3b:119:0
[2018/01/03 15:39:41.369511, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.369554,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.369594, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.369641, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000001901
[2018/01/03 15:39:41.369689,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/close.c:789(close_normal_file)
  chris closed file broadcom-wl-6.30.163.46.wl_apsta.o (numopen=0) NT_STATUS_OK
[2018/01/03 15:39:41.369734,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.369775, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.369819, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 4CBD1584
[2018/01/03 15:39:41.369862, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.369936, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 4CBD1584
[2018/01/03 15:39:41.369976,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.370017, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.370064,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3315012665 (0 used)
[2018/01/03 15:39:41.370113, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.370157, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/66/512
[2018/01/03 15:39:41.374079, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.374224, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 66 (position 66) from bitmap
[2018/01/03 15:39:41.374292, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 66
[2018/01/03 15:39:41.374367,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.374449, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[moms couch]
[2018/01/03 15:39:41.374537, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.374605,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "moms couch"
[2018/01/03 15:39:41.374685, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [MOMS COUCH]
[2018/01/03 15:39:41.374754,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = moms couch, dirpath = , start = moms couch
[2018/01/03 15:39:41.374836,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b35ac0:size a) MOMS COUCH -> moms couch
[2018/01/03 15:39:41.374898,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished moms couch -> moms couch
[2018/01/03 15:39:41.374963, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [moms couch] [/srv/scratch]
[2018/01/03 15:39:41.375054, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [moms couch] -> [/srv/scratch/moms couch]
[2018/01/03 15:39:41.375116,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: moms couch reduced to /srv/scratch/moms couch
[2018/01/03 15:39:41.375182, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = moms couch
[2018/01/03 15:39:41.375292, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = moms couch
[2018/01/03 15:39:41.375380,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.375447, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.375537, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9E60217A
[2018/01/03 15:39:41.375606, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47090
[2018/01/03 15:39:41.375672, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.375777, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '9E60217A' stored
[2018/01/03 15:39:41.375848,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x9e60217a (2657100154)
                  open_persistent_id       : 0x000000009e60217a (2657100154)
                  open_volatile_id         : 0x0000000078385992 (2016958866)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.376539, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9E60217A
[2018/01/03 15:39:41.376604,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.376667, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.376752, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x9e60217a) stored
[2018/01/03 15:39:41.376816,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x78385992 (2016958866)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x9e60217a (2657100154)
                          open_persistent_id       : 0x000000009e60217a (2657100154)
                          open_volatile_id         : 0x0000000078385992 (2016958866)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.377828,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2016958866 (1 used)
[2018/01/03 15:39:41.377902, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/moms couch hash 0xe49b65b6
[2018/01/03 15:39:41.377975,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(moms couch) returning 0744
[2018/01/03 15:39:41.378042, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=moms couch, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.378120, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=moms couch, after mapping access_mask=0x80
[2018/01/03 15:39:41.378185,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.378274, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file moms couch
[2018/01/03 15:39:41.378405, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.378507, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.378583, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.378645, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.378717, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.378786, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.378860, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.379008, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.379073, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.379134, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.379208, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file moms couch requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.379282,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.379348, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.379417, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 9E60217A
[2018/01/03 15:39:41.379497, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.379584, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 9E60217A
[2018/01/03 15:39:41.379647,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.379728, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.379799,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2016958866 (0 used)
[2018/01/03 15:39:41.379863,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory moms couch, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.379933, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file moms couch
[2018/01/03 15:39:41.380038, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.380115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.380186, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.380246, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.380315, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.380384, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.380458, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms r-x
[2018/01/03 15:39:41.380619, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.380681, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.380743, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 140 to (NT) 1200a9
[2018/01/03 15:39:41.380815, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file moms couch requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.380889,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.380950, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.381020, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 6B0C5626
[2018/01/03 15:39:41.381102, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47900
[2018/01/03 15:39:41.381166, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.381266, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '6B0C5626' stored
[2018/01/03 15:39:41.381335,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x6b0c5626 (1795970598)
                  open_persistent_id       : 0x000000006b0c5626 (1795970598)
                  open_volatile_id         : 0x00000000f2eb08bf (4075489471)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.381994, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 6B0C5626
[2018/01/03 15:39:41.382057,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.382118, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.382182, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x6b0c5626) stored
[2018/01/03 15:39:41.382242,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xf2eb08bf (4075489471)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x6b0c5626 (1795970598)
                          open_persistent_id       : 0x000000006b0c5626 (1795970598)
                          open_volatile_id         : 0x00000000f2eb08bf (4075489471)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.383245,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4075489471 (1 used)
[2018/01/03 15:39:41.383318, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/moms couch hash 0xe49b65b6
[2018/01/03 15:39:41.383384, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory moms couch
[2018/01/03 15:39:41.383458,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.383537, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.383610, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000002701
[2018/01/03 15:39:41.383676, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b48390
[2018/01/03 15:39:41.383751, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.383814,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xf217066bb175ae16 (-1002325332458099178)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'moms couch'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000042 (66)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.380880
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000127 (295)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000cea0a156 (3466633558)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0xe49b65b6 (3835389366)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000127 (295)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.384826, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file moms couch seq 0x17444418741251452438 key 3b:127:0
[2018/01/03 15:39:41.384896,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.384935, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.384979, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000002701
[2018/01/03 15:39:41.385019, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file moms couch seq 0x17444418741251452439 key 3b:127:0
[2018/01/03 15:39:41.385063, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.385101, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.385139, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.385177,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: moms couch
[2018/01/03 15:39:41.385218,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.385287,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.385328, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: moms couch - fnum 4075489471
[2018/01/03 15:39:41.385378, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.385436, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/67/512
[2018/01/03 15:39:41.388119, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.388253, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 67 (position 67) from bitmap
[2018/01/03 15:39:41.388316, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 67
[2018/01/03 15:39:41.388386,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.388455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 67, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.388536, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: moms couch - fnum 4075489471
[2018/01/03 15:39:41.388641, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file moms couch seq 0x17444418741251452439 key 3b:127:0
[2018/01/03 15:39:41.388707, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xe49b65b6
[2018/01/03 15:39:41.388750,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: moms couch (fnum 4075489471) level=65298 max_data=65535
[2018/01/03 15:39:41.388792,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: moms couch
[2018/01/03 15:39:41.388835,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.388909,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.388955, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.389008, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:122] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.389051, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/68/512
[2018/01/03 15:39:41.391555, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.391688, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 68 (position 68) from bitmap
[2018/01/03 15:39:41.391753, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 68
[2018/01/03 15:39:41.391861,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.391937, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: moms couch - fnum 4075489471
[2018/01/03 15:39:41.392012,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.392076, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.392149, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000002701
[2018/01/03 15:39:41.392216, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45170
[2018/01/03 15:39:41.392281, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:127:0
[2018/01/03 15:39:41.392375, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.392433,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xf217066bb175ae17 (-1002325332458099177)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'moms couch'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000042 (66)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.380880
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000127 (295)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000cea0a156 (3466633558)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0xe49b65b6 (3835389366)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000127 (295)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.393363, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xe49b65b6
[2018/01/03 15:39:41.393406, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.393444,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xf217066bb175ae17 (-1002325332458099177)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'moms couch'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000127 (295)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.393794, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file moms couch seq 0x17444418741251452439 key 3b:127:0
[2018/01/03 15:39:41.393839, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.393883,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.393921, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.393966, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000002701
[2018/01/03 15:39:41.394011,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.394050, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.394093, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 6B0C5626
[2018/01/03 15:39:41.394134, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.394190, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 6B0C5626
[2018/01/03 15:39:41.394228,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.394267, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.394313,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4075489471 (0 used)
[2018/01/03 15:39:41.394360, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.394421, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/69/512
[2018/01/03 15:39:41.398376, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.398538, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 69 (position 69) from bitmap
[2018/01/03 15:39:41.398603, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 69
[2018/01/03 15:39:41.398675,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.398758, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms]
[2018/01/03 15:39:41.398824, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.398886,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms"
[2018/01/03 15:39:41.398956, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS]
[2018/01/03 15:39:41.399025,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms, dirpath = , start = noperms
[2018/01/03 15:39:41.399098,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b46c30:size 7) NOPERMS -> noperms
[2018/01/03 15:39:41.399154,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms -> noperms
[2018/01/03 15:39:41.399211, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms] [/srv/scratch]
[2018/01/03 15:39:41.399292, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms] -> [/srv/scratch/noperms]
[2018/01/03 15:39:41.399347,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms reduced to /srv/scratch/noperms
[2018/01/03 15:39:41.399405, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:39:41.399469, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:39:41.399562,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.399618, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.399718, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key D674552B
[2018/01/03 15:39:41.399776, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47900
[2018/01/03 15:39:41.399834, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.399928, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'D674552B' stored
[2018/01/03 15:39:41.399988,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xd674552b (3597948203)
                  open_persistent_id       : 0x00000000d674552b (3597948203)
                  open_volatile_id         : 0x00000000af00ffa2 (2936078242)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.400593, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key D674552B
[2018/01/03 15:39:41.400651,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.400707, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.400764, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xd674552b) stored
[2018/01/03 15:39:41.400819,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xaf00ffa2 (2936078242)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xd674552b (3597948203)
                          open_persistent_id       : 0x00000000d674552b (3597948203)
                          open_volatile_id         : 0x00000000af00ffa2 (2936078242)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.401725,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2936078242 (1 used)
[2018/01/03 15:39:41.401790, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:39:41.401854,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms) returning 0744
[2018/01/03 15:39:41.401912, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.401979, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, after mapping access_mask=0x80
[2018/01/03 15:39:41.402037,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.402096, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:39:41.402211, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.402283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.402346, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.402401, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.402502, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.402566, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.402633, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.402764, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.402820, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.402876, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.402943, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.403005,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.403061, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.403122, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key D674552B
[2018/01/03 15:39:41.403180, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.403258, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key D674552B
[2018/01/03 15:39:41.403316,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.403371, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.403435,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2936078242 (0 used)
[2018/01/03 15:39:41.403502,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.403565, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:39:41.403655, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.403740, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:39:41.403802, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.403856, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.403919, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.403982, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.404047, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.404177, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.404233, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.404289, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.404353, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.404421,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.404487, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.404549, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E77D1AD8
[2018/01/03 15:39:41.404605, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b479b0
[2018/01/03 15:39:41.404661, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.404753, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E77D1AD8' stored
[2018/01/03 15:39:41.404812,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe77d1ad8 (3883735768)
                  open_persistent_id       : 0x00000000e77d1ad8 (3883735768)
                  open_volatile_id         : 0x000000007e415c5c (2118212700)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.405403, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E77D1AD8
[2018/01/03 15:39:41.405460,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.405526, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.405584, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe77d1ad8) stored
[2018/01/03 15:39:41.405639,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x7e415c5c (2118212700)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe77d1ad8 (3883735768)
                          open_persistent_id       : 0x00000000e77d1ad8 (3883735768)
                          open_volatile_id         : 0x000000007e415c5c (2118212700)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.406533,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2118212700 (1 used)
[2018/01/03 15:39:41.406580, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:39:41.406623, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms
[2018/01/03 15:39:41.406671,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.406712, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.406760, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:39:41.406804, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b484c0
[2018/01/03 15:39:41.406856, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.406897,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x270d8a716abb0c7e (2814057561903008894)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000045 (69)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.404411
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000514cea7d (1363995261)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.407641, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x2814057561903008894 key 3b:143:0
[2018/01/03 15:39:41.407744,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.407787, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.407833, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:39:41.407875, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms seq 0x2814057561903008895 key 3b:143:0
[2018/01/03 15:39:41.407923, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.407964, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.408005, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.408046,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:39:41.408091,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.408163,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.408206, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms - fnum 2118212700
[2018/01/03 15:39:41.408260, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.408307, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/70/512
[2018/01/03 15:39:41.411817, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.411951, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 70 (position 70) from bitmap
[2018/01/03 15:39:41.412016, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 70
[2018/01/03 15:39:41.412124,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.412193, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 70, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.412257, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms - fnum 2118212700
[2018/01/03 15:39:41.412360, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms seq 0x2814057561903008895 key 3b:143:0
[2018/01/03 15:39:41.412428, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:39:41.412522,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms (fnum 2118212700) level=65298 max_data=65535
[2018/01/03 15:39:41.412586,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:39:41.412650,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.412753,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.412821, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.412898, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:116] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.412967, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/71/512
[2018/01/03 15:39:41.416734, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.416930, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 71 (position 71) from bitmap
[2018/01/03 15:39:41.417043, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 71
[2018/01/03 15:39:41.417163,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.417283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms - fnum 2118212700
[2018/01/03 15:39:41.417410,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.417543, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.417677, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:39:41.417792, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6d0
[2018/01/03 15:39:41.417971, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:143:0
[2018/01/03 15:39:41.418124, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.418228,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x270d8a716abb0c7f (2814057561903008895)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000045 (69)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.404411
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000514cea7d (1363995261)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.420191, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:39:41.420307, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.420411,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x270d8a716abb0c7f (2814057561903008895)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.421398, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x2814057561903008895 key 3b:143:0
[2018/01/03 15:39:41.421544, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.421662,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.421814, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.421909, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:39:41.422021,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.422128, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.422246, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E77D1AD8
[2018/01/03 15:39:41.422356, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.422519, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E77D1AD8
[2018/01/03 15:39:41.422625,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.422726, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.422846,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2118212700 (0 used)
[2018/01/03 15:39:41.422967, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.423087, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/72/512
[2018/01/03 15:39:41.430002, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.430191, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 72 (position 72) from bitmap
[2018/01/03 15:39:41.430304, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 72
[2018/01/03 15:39:41.430513,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.430646, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.430729, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.430796,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.430870,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.430934, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.431014, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.431078,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.431144, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.431218, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.431308,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.431374, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.431447, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key C46D432E
[2018/01/03 15:39:41.431530, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b479b0
[2018/01/03 15:39:41.431596, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.431704, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'C46D432E' stored
[2018/01/03 15:39:41.431775,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xc46d432e (3295494958)
                  open_persistent_id       : 0x00000000c46d432e (3295494958)
                  open_volatile_id         : 0x0000000086d17579 (2261874041)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.432499, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key C46D432E
[2018/01/03 15:39:41.432563,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.432628, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.432692, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xc46d432e) stored
[2018/01/03 15:39:41.432756,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x86d17579 (2261874041)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xc46d432e (3295494958)
                          open_persistent_id       : 0x00000000c46d432e (3295494958)
                          open_volatile_id         : 0x0000000086d17579 (2261874041)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.433780,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2261874041 (1 used)
[2018/01/03 15:39:41.433855, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.433928,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:41.433993, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.434069, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:41.434134,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.434200, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.434328, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.434411, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.434499, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.434564, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.434637, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.434706, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.434780, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.434927, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.434991, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.435073, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.435149, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.435219,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.435285, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.435355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key C46D432E
[2018/01/03 15:39:41.435419, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.435518, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key C46D432E
[2018/01/03 15:39:41.435579,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.435641, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.435712,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2261874041 (0 used)
[2018/01/03 15:39:41.435774,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.435844, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.435945, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.436019, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.436088, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.436148, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.436217, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.436286, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.436359, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.436541, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.436604, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.436664, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.436736, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.436809,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.436873, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.436941, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 985C5881
[2018/01/03 15:39:41.437005, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b479b0
[2018/01/03 15:39:41.437067, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.437167, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '985C5881' stored
[2018/01/03 15:39:41.437236,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x985c5881 (2556188801)
                  open_persistent_id       : 0x00000000985c5881 (2556188801)
                  open_volatile_id         : 0x00000000198032f6 (427832054)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.437901, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 985C5881
[2018/01/03 15:39:41.437969,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.438055, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.438120, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x985c5881) stored
[2018/01/03 15:39:41.438180,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x198032f6 (427832054)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x985c5881 (2556188801)
                          open_persistent_id       : 0x00000000985c5881 (2556188801)
                          open_volatile_id         : 0x00000000198032f6 (427832054)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.439158,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 427832054 (1 used)
[2018/01/03 15:39:41.439230, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.439295, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.439365,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.439427, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.439516, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.439603, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b484c0
[2018/01/03 15:39:41.439681, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.439744,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x4ff6f8528a8a2006 (5762065806662443014)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000048 (72)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.436801
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000406d8ca2 (1080921250)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.440846, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x5762065806662443014 key 3b:100:0
[2018/01/03 15:39:41.440948,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.441011, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.441080, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.441144, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x5762065806662443015 key 3b:100:0
[2018/01/03 15:39:41.441238, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.441300, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.441361, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.441424,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.441507,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.441606,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.441656, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 427832054
[2018/01/03 15:39:41.441706, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.441749, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/73/512
[2018/01/03 15:39:41.445624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.445758, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 73 (position 73) from bitmap
[2018/01/03 15:39:41.445823, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 73
[2018/01/03 15:39:41.445891,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.445960, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 73, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.446024, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 427832054
[2018/01/03 15:39:41.446127, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x5762065806662443015 key 3b:100:0
[2018/01/03 15:39:41.446196, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.446262,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 427832054) level=65298 max_data=65535
[2018/01/03 15:39:41.446327,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.446392,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.446521,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.446626, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.446706, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.446775, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/74/512
[2018/01/03 15:39:41.450317, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.450452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 74 (position 74) from bitmap
[2018/01/03 15:39:41.450531, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 74
[2018/01/03 15:39:41.450599,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.450670, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 427832054
[2018/01/03 15:39:41.450743,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.450803, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.450873, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.450938, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45160
[2018/01/03 15:39:41.451001, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.451094, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.451151,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x4ff6f8528a8a2007 (5762065806662443015)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000048 (72)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.436801
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000406d8ca2 (1080921250)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.452559, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.452648, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.452725,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x4ff6f8528a8a2007 (5762065806662443015)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.453405, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x5762065806662443015 key 3b:100:0
[2018/01/03 15:39:41.453507, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.453594,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.453670, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.453760, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.453842,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.453957, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.454047, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 985C5881
[2018/01/03 15:39:41.454129, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.454234, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 985C5881
[2018/01/03 15:39:41.454311,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.454388, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.454493,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 427832054 (0 used)
[2018/01/03 15:39:41.454586, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.454680, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/75/512
[2018/01/03 15:39:41.458660, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.458819, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 75 (position 75) from bitmap
[2018/01/03 15:39:41.458907, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 75
[2018/01/03 15:39:41.458998,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.459099, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:39:41.459188, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:39:41.459270,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:39:41.459361,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:39:41.459442, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:39:41.459565, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:39:41.459646,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:39:41.459727, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.459861, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:39:41.459970,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.460054, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.460146, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 233F4F57
[2018/01/03 15:39:41.460231, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b479b0
[2018/01/03 15:39:41.460313, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.460442, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '233F4F57' stored
[2018/01/03 15:39:41.460548,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x233f4f57 (591351639)
                  open_persistent_id       : 0x00000000233f4f57 (591351639)
                  open_volatile_id         : 0x000000002b419ff6 (725721078)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.461393, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 233F4F57
[2018/01/03 15:39:41.461491,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.461573, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.461653, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x233f4f57) stored
[2018/01/03 15:39:41.461734,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x2b419ff6 (725721078)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x233f4f57 (591351639)
                          open_persistent_id       : 0x00000000233f4f57 (591351639)
                          open_volatile_id         : 0x000000002b419ff6 (725721078)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.462941,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 725721078 (1 used)
[2018/01/03 15:39:41.462996, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.463050,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(.) returning 0744
[2018/01/03 15:39:41.463098, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=., dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:39:41.463156, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=., after mapping access_mask=0x80
[2018/01/03 15:39:41.463204,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:39:41.463255, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.463371, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.463432, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.463497, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.463543, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.463597, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.463650, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.463705, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.463815, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.463863, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.463909, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.463966, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.464018,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.464065, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.464117, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 233F4F57
[2018/01/03 15:39:41.464165, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.464231, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 233F4F57
[2018/01/03 15:39:41.464278,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.464324, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.464377,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 725721078 (0 used)
[2018/01/03 15:39:41.464440,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:39:41.464502, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:39:41.464578, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:39:41.464636, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:39:41.464687, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:39:41.464732, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.464785, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.464837, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:39:41.464892, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:39:41.465002, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.465049, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:39:41.465096, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:39:41.465150, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:39:41.465207,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.465254, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.465306, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 90545E85
[2018/01/03 15:39:41.465354, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b479b0
[2018/01/03 15:39:41.465401, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:39:41.465502, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '90545E85' stored
[2018/01/03 15:39:41.465552,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x90545e85 (2421448325)
                  open_persistent_id       : 0x0000000090545e85 (2421448325)
                  open_volatile_id         : 0x0000000065188a8b (1696107147)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:39:41.466034, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 90545E85
[2018/01/03 15:39:41.466082,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.466128, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.466177, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x90545e85) stored
[2018/01/03 15:39:41.466223,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x65188a8b (1696107147)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x90545e85 (2421448325)
                          open_persistent_id       : 0x0000000090545e85 (2421448325)
                          open_volatile_id         : 0x0000000065188a8b (1696107147)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:39:41 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:39:41 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:39:41.466981,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1696107147 (1 used)
[2018/01/03 15:39:41.467034, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:39:41.467081, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:39:41.467134,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.467179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.467234, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.467283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47a60
[2018/01/03 15:39:41.467342, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.467388,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd69120801da61513 (-2985569343344601837)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000004b (75)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.465200
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000d8e780b5 (3639050421)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.468224, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x15461174730364949779 key 3b:100:0
[2018/01/03 15:39:41.468303,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.468351, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.468403, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.468451, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x15461174730364949780 key 3b:100:0
[2018/01/03 15:39:41.468513, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:39:41.468559, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:39:41.468604, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:39:41.468650,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.468699,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.468778,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.468826, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 1696107147
[2018/01/03 15:39:41.468885, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:39:41.468936, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/76/512
[2018/01/03 15:39:41.472196, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.472330, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 76 (position 76) from bitmap
[2018/01/03 15:39:41.472393, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 76
[2018/01/03 15:39:41.472463,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.472549, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 76, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:39:41.472615, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 1696107147
[2018/01/03 15:39:41.472716, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x15461174730364949780 key 3b:100:0
[2018/01/03 15:39:41.472786, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.472852,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: . (fnum 1696107147) level=65298 max_data=65535
[2018/01/03 15:39:41.472916,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:39:41.472981,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:39:41.473082,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:39:41.473148, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:39:41.473225, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:102] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:39:41.473294, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/77/512
[2018/01/03 15:39:41.477046, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:39:41.477180, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 77 (position 77) from bitmap
[2018/01/03 15:39:41.477245, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 77
[2018/01/03 15:39:41.477316,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:39:41.477388, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 1696107147
[2018/01/03 15:39:41.477461,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.477593, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.477667, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:39:41.477733, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6d0
[2018/01/03 15:39:41.477792, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:100:0
[2018/01/03 15:39:41.477862, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:39:41.477905,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd69120801da61514 (-2985569343344601836)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000004b (75)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:39:41 PM 2018 MST.465200
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000d8e780b5 (3639050421)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.478687, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:39:41.478736, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:39:41.478778,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd69120801da61514 (-2985569343344601836)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:39:41.479169, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x15461174730364949780 key 3b:100:0
[2018/01/03 15:39:41.479216, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:39:41.479264,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:39:41.479307, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.479357, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:39:41.479403,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.479447, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:39:41.479504, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 90545E85
[2018/01/03 15:39:41.479549, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:39:41.479610, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 90545E85
[2018/01/03 15:39:41.479653,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:39:41.479696, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:39:41.479746,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1696107147 (0 used)
[2018/01/03 15:39:41.479798, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:39:41.479845, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/78/512
[2018/01/03 15:40:40.393139, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:42(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) called
[2018/01/03 15:40:40.393410, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:53(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) rescheduled
[2018/01/03 15:40:40.393619, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:42(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) called
[2018/01/03 15:40:40.393747,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/process.c:2897(housekeeping_fn)
  housekeeping
[2018/01/03 15:40:40.393873,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:40:40.394002,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:40:40.394127,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:40:40.394333,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:40:40.394549, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:53(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) rescheduled
[2018/01/03 15:41:27.419657, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.419924, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 78 (position 78) from bitmap
[2018/01/03 15:41:27.420125, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_KEEPALIVE] mid = 78
[2018/01/03 15:41:27.420321,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:41:27.420555,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:41:27.420740,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:41:27.421023,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:41:27.421220, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[4] dyn[no:0] at ../source3/smbd/smb2_keepalive.c:46
[2018/01/03 15:41:27.421423, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/79/512
[2018/01/03 15:41:27.425630, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.425900, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 79 (position 79) from bitmap
[2018/01/03 15:41:27.426101, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 79
[2018/01/03 15:41:27.426328,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:41:27.426693,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:41:27.427724,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:41:27.428238,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:41:27.428467, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms]
[2018/01/03 15:41:27.428711, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.428904,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms"
[2018/01/03 15:41:27.429110, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.429340, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms] [/srv/scratch]
[2018/01/03 15:41:27.429641, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.429757,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.429808, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.429864, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.429933,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.429981, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.430035, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 090727C7
[2018/01/03 15:41:27.430115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b479b0
[2018/01/03 15:41:27.430164, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.430293, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '090727C7' stored
[2018/01/03 15:41:27.430350,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x090727c7 (151463879)
                  open_persistent_id       : 0x00000000090727c7 (151463879)
                  open_volatile_id         : 0x00000000ca563cc3 (3394649283)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.430889, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 090727C7
[2018/01/03 15:41:27.430940,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.430989, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.431040, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x090727c7) stored
[2018/01/03 15:41:27.431089,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xca563cc3 (3394649283)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x090727c7 (151463879)
                          open_persistent_id       : 0x00000000090727c7 (151463879)
                          open_volatile_id         : 0x00000000ca563cc3 (3394649283)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.431893,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3394649283 (1 used)
[2018/01/03 15:41:27.431950, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.432007,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms) returning 0744
[2018/01/03 15:41:27.432057, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.432117, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, after mapping access_mask=0x80
[2018/01/03 15:41:27.432169,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.432222, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.432344, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.432419, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.432487, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.432535, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.432592, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.432647, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.432721, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.432838, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.432887, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.432937, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.432996, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.433052,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.433100, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.433155, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 090727C7
[2018/01/03 15:41:27.433206, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.433275, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 090727C7
[2018/01/03 15:41:27.433323,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.433372, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.433428,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3394649283 (0 used)
[2018/01/03 15:41:27.433487,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.433542, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.433622, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.433683, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.433737, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.433785, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.433855, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.433912, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.433969, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.434085, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.434134, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.434184, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.434240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.434301,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.434350, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.434405, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B8749D7
[2018/01/03 15:41:27.434455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47f10
[2018/01/03 15:41:27.434521, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.434605, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '3B8749D7' stored
[2018/01/03 15:41:27.434658,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x3b8749d7 (998722007)
                  open_persistent_id       : 0x000000003b8749d7 (998722007)
                  open_volatile_id         : 0x000000007c91e695 (2089936533)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.435182, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B8749D7
[2018/01/03 15:41:27.435235,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.435284, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.435333, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x3b8749d7) stored
[2018/01/03 15:41:27.435381,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x7c91e695 (2089936533)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x3b8749d7 (998722007)
                          open_persistent_id       : 0x000000003b8749d7 (998722007)
                          open_volatile_id         : 0x000000007c91e695 (2089936533)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.436176,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2089936533 (1 used)
[2018/01/03 15:41:27.436232, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.436281, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms
[2018/01/03 15:41:27.436339,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.436386, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.436443, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.436525, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46e50
[2018/01/03 15:41:27.436586, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.436635,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd404fcba2b1359cc (-3169130361245181492)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000004f (79)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.434292
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b7a8d40b (3081294859)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.437519, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x15277613712464370124 key 3b:143:0
[2018/01/03 15:41:27.437627,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.437676, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.437732, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.437782, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms seq 0x15277613712464370125 key 3b:143:0
[2018/01/03 15:41:27.437838, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.437887, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.437934, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.437983,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.438035,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.438117,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.438168, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms - fnum 2089936533
[2018/01/03 15:41:27.438230, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.438284, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/80/512
[2018/01/03 15:41:27.441619, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.441802, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 80 (position 80) from bitmap
[2018/01/03 15:41:27.441928, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 80
[2018/01/03 15:41:27.442061,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.442189, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 80, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.442314, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms - fnum 2089936533
[2018/01/03 15:41:27.442524, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms seq 0x15277613712464370125 key 3b:143:0
[2018/01/03 15:41:27.442715, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.442809,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms (fnum 2089936533) level=65298 max_data=65535
[2018/01/03 15:41:27.442938,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.443064,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.443245,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.443377, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.443546, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:116] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.443677, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/81/512
[2018/01/03 15:41:27.446964, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.447166, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 81 (position 81) from bitmap
[2018/01/03 15:41:27.447291, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 81
[2018/01/03 15:41:27.447423,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.447589, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms - fnum 2089936533
[2018/01/03 15:41:27.447731,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.447851, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.447993, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.448119, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45160
[2018/01/03 15:41:27.448244, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:143:0
[2018/01/03 15:41:27.448408, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.448561,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd404fcba2b1359cd (-3169130361245181491)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000004f (79)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.434292
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b7a8d40b (3081294859)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.450049, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.450134, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.450212,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd404fcba2b1359cd (-3169130361245181491)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.450947, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x15277613712464370125 key 3b:143:0
[2018/01/03 15:41:27.451033, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.451117,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.451198, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.451287, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.451369,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.451450, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.451558, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B8749D7
[2018/01/03 15:41:27.451641, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.451745, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B8749D7
[2018/01/03 15:41:27.451821,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.451900, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.451988,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2089936533 (0 used)
[2018/01/03 15:41:27.452080, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.452168, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/82/512
[2018/01/03 15:41:27.472867, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.473069, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 82 (position 82) from bitmap
[2018/01/03 15:41:27.473194, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 82
[2018/01/03 15:41:27.473327,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.473507, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms]
[2018/01/03 15:41:27.473632, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.473811,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms"
[2018/01/03 15:41:27.473944, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.474091, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms] [/srv/scratch]
[2018/01/03 15:41:27.474253, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.474371,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.474518, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.474655, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.474810,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.474932, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.475064, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 902DD8D0
[2018/01/03 15:41:27.475190, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b47f10
[2018/01/03 15:41:27.475310, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.475519, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '902DD8D0' stored
[2018/01/03 15:41:27.475649,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x902dd8d0 (2418923728)
                  open_persistent_id       : 0x00000000902dd8d0 (2418923728)
                  open_volatile_id         : 0x0000000005011f9a (83959706)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.476977, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 902DD8D0
[2018/01/03 15:41:27.477104,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.477226, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.477350, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x902dd8d0) stored
[2018/01/03 15:41:27.477469,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x05011f9a (83959706)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x902dd8d0 (2418923728)
                          open_persistent_id       : 0x00000000902dd8d0 (2418923728)
                          open_volatile_id         : 0x0000000005011f9a (83959706)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.479363,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 83959706 (1 used)
[2018/01/03 15:41:27.479559, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.479692,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms) returning 0744
[2018/01/03 15:41:27.479815, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.479954, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, after mapping access_mask=0x80
[2018/01/03 15:41:27.480077,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.480202, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.480425, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.480604, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.480740, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.480857, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.480994, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.481125, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.481264, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.481568, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.481689, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.481808, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.481947, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.482080,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.482242, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.482375, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 902DD8D0
[2018/01/03 15:41:27.482522, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.482679, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 902DD8D0
[2018/01/03 15:41:27.482796,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.482912, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.483046,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 83959706 (0 used)
[2018/01/03 15:41:27.483163,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.483296, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.483514, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.483664, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.483747, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.483785, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.483830, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.483873, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.483919, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.484011, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.484050, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.484103, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.484149, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.484198,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.484237, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.484279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 064C5E6E
[2018/01/03 15:41:27.484319, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.484358, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.484422, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '064C5E6E' stored
[2018/01/03 15:41:27.484463,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x064c5e6e (105668206)
                  open_persistent_id       : 0x00000000064c5e6e (105668206)
                  open_volatile_id         : 0x00000000a58fd9e2 (2777668066)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.484876, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 064C5E6E
[2018/01/03 15:41:27.484916,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.484954, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.484995, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x064c5e6e) stored
[2018/01/03 15:41:27.485046,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xa58fd9e2 (2777668066)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x064c5e6e (105668206)
                          open_persistent_id       : 0x00000000064c5e6e (105668206)
                          open_volatile_id         : 0x00000000a58fd9e2 (2777668066)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:27 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:27 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.485672,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2777668066 (1 used)
[2018/01/03 15:41:27.485715, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.485755, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms
[2018/01/03 15:41:27.485800,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.485838, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.485884, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.485925, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b502b0
[2018/01/03 15:41:27.485975, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.486026,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x32369f9dabe72dc5 (3618254850181508549)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000052 (82)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.484191
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000054fcfca7 (1425865895)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.486715, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x3618254850181508549 key 3b:143:0
[2018/01/03 15:41:27.486783,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.486822, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.486866, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.486906, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms seq 0x3618254850181508550 key 3b:143:0
[2018/01/03 15:41:27.486950, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.486989, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.487026, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.487078,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.487119,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.487188,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.487229, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms - fnum 2777668066
[2018/01/03 15:41:27.487280, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.487325, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/83/512
[2018/01/03 15:41:27.490093, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.490228, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 83 (position 83) from bitmap
[2018/01/03 15:41:27.490295, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 83
[2018/01/03 15:41:27.490367,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.490436, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 83, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.490515, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms - fnum 2777668066
[2018/01/03 15:41:27.490619, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms seq 0x3618254850181508550 key 3b:143:0
[2018/01/03 15:41:27.490688, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.490753,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms (fnum 2777668066) level=65298 max_data=65535
[2018/01/03 15:41:27.490818,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.490884,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.490985,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.491052, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.491130, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:116] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.491236, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/84/512
[2018/01/03 15:41:27.493882, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.494018, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 84 (position 84) from bitmap
[2018/01/03 15:41:27.494082, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 84
[2018/01/03 15:41:27.494153,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.494225, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms - fnum 2777668066
[2018/01/03 15:41:27.494300,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.494361, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.494442, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.494514, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45160
[2018/01/03 15:41:27.494572, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:143:0
[2018/01/03 15:41:27.494655, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.494707,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x32369f9dabe72dc6 (3618254850181508550)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000052 (82)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.484191
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000054fcfca7 (1425865895)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.495714, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.495772, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.495825,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x32369f9dabe72dc6 (3618254850181508550)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.496289, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x3618254850181508550 key 3b:143:0
[2018/01/03 15:41:27.496347, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.496405,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.496458, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.496531, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.496587,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.496641, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.496701, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 064C5E6E
[2018/01/03 15:41:27.496780, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.496854, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 064C5E6E
[2018/01/03 15:41:27.496907,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.496960, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.497020,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2777668066 (0 used)
[2018/01/03 15:41:27.497086, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.497145, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/85/512
[2018/01/03 15:41:27.499973, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.500109, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 85 (position 85) from bitmap
[2018/01/03 15:41:27.500174, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 85
[2018/01/03 15:41:27.500245,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.500326, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms]
[2018/01/03 15:41:27.500390, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.500455,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms"
[2018/01/03 15:41:27.500550, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.500620, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms] [/srv/scratch]
[2018/01/03 15:41:27.500698, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.500751,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.500807, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.500868, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.500965,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms, access_mask = 0x81, share_access = 0x3 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.501028, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.501141, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.501211, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.501271, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.501324, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.501385, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.501445, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.501523, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.501647, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.501701, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.501754, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.501820, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2018/01/03 15:41:27.501890,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.501944, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.502004, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B4FE8DB
[2018/01/03 15:41:27.502059, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.502132, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.502224, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '3B4FE8DB' stored
[2018/01/03 15:41:27.502281,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x3b4fe8db (995092699)
                  open_persistent_id       : 0x000000003b4fe8db (995092699)
                  open_volatile_id         : 0x000000006da6f6d0 (1839658704)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.502864, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B4FE8DB
[2018/01/03 15:41:27.502919,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.502972, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.503027, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x3b4fe8db) stored
[2018/01/03 15:41:27.503080,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x6da6f6d0 (1839658704)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x3b4fe8db (995092699)
                          open_persistent_id       : 0x000000003b4fe8db (995092699)
                          open_volatile_id         : 0x000000006da6f6d0 (1839658704)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.503951,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1839658704 (1 used)
[2018/01/03 15:41:27.504013, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.504090,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to noperms
[2018/01/03 15:41:27.504173,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch/noperms
[2018/01/03 15:41:27.504227, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:41:27.504286, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.504340,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.504410,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /srv/scratch
[2018/01/03 15:41:27.504495,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch
[2018/01/03 15:41:27.504548, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:767(fd_open)
  fd_open: name noperms, flags = 0200000 mode = 00, fd = 34. 
[2018/01/03 15:41:27.504597,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.504639, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.504688, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.504733, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b501f0
[2018/01/03 15:41:27.504787, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.504843,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x47e77e679feec77d (5181248879843002237)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000055 (85)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.501878
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000008018208f (2149064847)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.505586, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x5181248879843002237 key 3b:143:0
[2018/01/03 15:41:27.505656,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.505698, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.505745, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.505788, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms seq 0x5181248879843002238 key 3b:143:0
[2018/01/03 15:41:27.505834, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.505875, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.505929, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.505971,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.506016,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.506084,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.506127, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms - fnum 1839658704
[2018/01/03 15:41:27.506181, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.506229, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/86/512
[2018/01/03 15:41:27.509125, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.509259, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 86 (position 86) from bitmap
[2018/01/03 15:41:27.509324, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 86
[2018/01/03 15:41:27.509394,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.509463, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:41:27.509545, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: noperms - fnum 1839658704
[2018/01/03 15:41:27.509620, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 86, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.509685,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:475(dptr_create)
  dptr_create dir=noperms
[2018/01/03 15:41:27.509764,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:657(dptr_create)
  creating new dirptr 0 for path noperms, expect_close = 0
[2018/01/03 15:41:27.509827,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<noperms> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:41:27.509917,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 0
[2018/01/03 15:41:27.510001,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/.
[2018/01/03 15:41:27.510068,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.510185,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.510301, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms seq 0x5181248879843002238 key 3b:143:0
[2018/01/03 15:41:27.510376,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/. fname=. (.)
[2018/01/03 15:41:27.510449, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65527
[2018/01/03 15:41:27.510524, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.510573,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 2147483648
[2018/01/03 15:41:27.510624,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/..
[2018/01/03 15:41:27.510665,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.510724,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.510792,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/.. fname=.. (..)
[2018/01/03 15:41:27.510838, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65415
[2018/01/03 15:41:27.510880, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.510955,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 8
[2018/01/03 15:41:27.510998,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test2
[2018/01/03 15:41:27.511041,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.511096,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.511150,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test2 fname=test2 (test2)
[2018/01/03 15:41:27.511195, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65303
[2018/01/03 15:41:27.511236, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.511287,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 9
[2018/01/03 15:41:27.511331,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test3
[2018/01/03 15:41:27.511374,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.511430,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.511514,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test3 fname=test3 (test3)
[2018/01/03 15:41:27.511559, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65183
[2018/01/03 15:41:27.511600, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.511650,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 10
[2018/01/03 15:41:27.511694,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test4
[2018/01/03 15:41:27.511736,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.511793,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.511847,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test4 fname=test4 (test4)
[2018/01/03 15:41:27.511892, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65063
[2018/01/03 15:41:27.511933, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.511984,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 2147483647
[2018/01/03 15:41:27.512027,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:41:27.512070,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.512127,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.512187,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1 fname=test1 (test1)
[2018/01/03 15:41:27.512232, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64943
[2018/01/03 15:41:27.512273, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.512324,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset -1
[2018/01/03 15:41:27.512375, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:184(smbd_smb2_request_find_done)
  smbd_smb2_request_find_done: out_output_buffer.length = 698
[2018/01/03 15:41:27.512416, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:698] at ../source3/smbd/smb2_query_directory.c:188
[2018/01/03 15:41:27.512464, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/87/512
[2018/01/03 15:41:27.515171, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.515308, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 87 (position 87) from bitmap
[2018/01/03 15:41:27.515373, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 87
[2018/01/03 15:41:27.515444,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.515532, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:41:27.515603, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: noperms - fnum 1839658704
[2018/01/03 15:41:27.515677, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 87, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.515744,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<noperms> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:41:27.515833,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset -1
[2018/01/03 15:41:27.515909,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3120(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
[2018/01/03 15:41:27.515977, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[STATUS_NO_MORE_FILES] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:3168
[2018/01/03 15:41:27.516043, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/88/512
[2018/01/03 15:41:27.518425, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.518575, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 88 (position 88) from bitmap
[2018/01/03 15:41:27.518640, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 88
[2018/01/03 15:41:27.518711,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.518784, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms - fnum 1839658704
[2018/01/03 15:41:27.518860,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.518923, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.519040, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.519106, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45160
[2018/01/03 15:41:27.519173, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:143:0
[2018/01/03 15:41:27.519267, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.519326,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x47e77e679feec77e (5181248879843002238)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000055 (85)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.501878
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000008018208f (2149064847)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.520291, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.520349, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.520401,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x47e77e679feec77e (5181248879843002238)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.520894, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x5181248879843002238 key 3b:143:0
[2018/01/03 15:41:27.520953, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.521010,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.521062, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.521123, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.521178,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:233(dptr_close_internal)
  closing dptr key 0
[2018/01/03 15:41:27.521249,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.521303, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.521360, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B4FE8DB
[2018/01/03 15:41:27.521415, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.521500, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B4FE8DB
[2018/01/03 15:41:27.521553,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.521606, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.521666,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1839658704 (0 used)
[2018/01/03 15:41:27.521728, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.521787, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/89/512
[2018/01/03 15:41:27.524496, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.524634, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 89 (position 89) from bitmap
[2018/01/03 15:41:27.524700, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 89
[2018/01/03 15:41:27.524771,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.524845, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:41:27.524908, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.524970,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:41:27.525039,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:41:27.525107, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:41:27.525180, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:41:27.525234,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:41:27.525291, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x10, 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 = .
[2018/01/03 15:41:27.525352, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:41:27.525413,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.525487, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:41:27.525600, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.525700, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:41:27.525761, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.525814, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:41:27.525875, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.525971, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.526033, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:41:27.526158, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.526212, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.526264, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:41:27.526329, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.526399,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.526454, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.526531, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key A10B459F
[2018/01/03 15:41:27.526587, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.526642, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.526734, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'A10B459F' stored
[2018/01/03 15:41:27.526791,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xa10b459f (2701870495)
                  open_persistent_id       : 0x00000000a10b459f (2701870495)
                  open_volatile_id         : 0x000000004a850eb8 (1250234040)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.527387, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key A10B459F
[2018/01/03 15:41:27.527443,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.527510, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.527567, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xa10b459f) stored
[2018/01/03 15:41:27.527620,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x4a850eb8 (1250234040)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xa10b459f (2701870495)
                          open_persistent_id       : 0x00000000a10b459f (2701870495)
                          open_volatile_id         : 0x000000004a850eb8 (1250234040)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.528463,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1250234040 (1 used)
[2018/01/03 15:41:27.528554, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:41:27.528608, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:41:27.528669,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.528720, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.528783, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:41:27.528839, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4e8e0
[2018/01/03 15:41:27.528904, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.528955,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x164f9f6ed0f15a11 (1607678890295253521)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000059 (89)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.526387
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000e1469364 (3779498852)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.529896, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x1607678890295253521 key 3b:100:0
[2018/01/03 15:41:27.530028,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.530083, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.530143, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:41:27.530196, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x1607678890295253522 key 3b:100:0
[2018/01/03 15:41:27.530257, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.530309, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.530360, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.530412,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:41:27.530469,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.530568,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.530624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 1250234040
[2018/01/03 15:41:27.530691, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.530749, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/90/512
[2018/01/03 15:41:27.533830, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.533965, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 90 (position 90) from bitmap
[2018/01/03 15:41:27.534031, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 90
[2018/01/03 15:41:27.534101,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.534169, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 90, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.534234, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 1250234040
[2018/01/03 15:41:27.534318,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3456(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1007
[2018/01/03 15:41:27.534868, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:466(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(autofs)
[2018/01/03 15:41:27.534972, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas_linux.c:82(sys_get_vfs_quota)
  sys_get_vfs_quota: path[/srv/scratch] bdev[systemd-1] SMB_USER_FS_QUOTA_TYPE (uid[1000])
[2018/01/03 15:41:27.535040, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:491(sys_get_quota)
  sys_get_vfs_quota() called for mntpath[/srv/scratch] bdev[systemd-1] qtype[1] id[-1].
[2018/01/03 15:41:27.535352, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:466(sys_get_quota)
  sys_get_quota() uid(1000, 1000), fs(autofs)
[2018/01/03 15:41:27.535407, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas_linux.c:95(sys_get_vfs_quota)
  sys_get_vfs_quota: path[/srv/scratch] bdev[systemd-1] SMB_GROUP_FS_QUOTA_TYPE (gid[0])
[2018/01/03 15:41:27.535464, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=quota] ../source3/lib/sysquotas.c:491(sys_get_quota)
  sys_get_vfs_quota() called for mntpath[/srv/scratch] bdev[systemd-1] qtype[3] id[-1].
[2018/01/03 15:41:27.535541,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3701(smbd_do_qfsinfo)
  smbd_do_qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024, cSectorUnit=2, cBytesSector=512, cUnitTotal=1073739776, cUnitAvail=503830668
[2018/01/03 15:41:27.535600, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:32] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.535648, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/91/512
[2018/01/03 15:41:27.538857, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.538994, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 91 (position 91) from bitmap
[2018/01/03 15:41:27.539059, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 91
[2018/01/03 15:41:27.539130,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.539203, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 1250234040
[2018/01/03 15:41:27.539279,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.539342, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.539417, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:41:27.539500, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b57e10
[2018/01/03 15:41:27.539572, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x1607678890295253522 key 3b:100:0
[2018/01/03 15:41:27.539638, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:41:27.539746, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.539789,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x164f9f6ed0f15a12 (1607678890295253522)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.540184, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x1607678890295253522 key 3b:100:0
[2018/01/03 15:41:27.540231, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.540279,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.540322, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.540372, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:41:27.540420,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.540463, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.540523, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key A10B459F
[2018/01/03 15:41:27.540569, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.540630, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key A10B459F
[2018/01/03 15:41:27.540673,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.540715, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.540766,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1250234040 (0 used)
[2018/01/03 15:41:27.540817, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.540865, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/92/512
[2018/01/03 15:41:27.544133, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.544269, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 92 (position 92) from bitmap
[2018/01/03 15:41:27.544335, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 92
[2018/01/03 15:41:27.544407,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.544496, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[]
[2018/01/03 15:41:27.544561, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.544625,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file ""
[2018/01/03 15:41:27.544696,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:495(unix_convert)
  conversion finished "" -> .
[2018/01/03 15:41:27.544758, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:41:27.544831, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch]
[2018/01/03 15:41:27.544893,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch
[2018/01/03 15:41:27.544956, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x10, 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 = .
[2018/01/03 15:41:27.545026, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = .
[2018/01/03 15:41:27.545094,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory ., access_mask = 0x80, share_access = 0x7 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.545163, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file .
[2018/01/03 15:41:27.545287, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.545371, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1001 -> sid S-1-22-2-1001
[2018/01/03 15:41:27.545439, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.545515, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:41:27.545598, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.545647, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.545698, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1001 gid 1001 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms ---
[2018/01/03 15:41:27.545800, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.545844, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.545887, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 0 to (NT) 0
[2018/01/03 15:41:27.545940, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file . requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.545999,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.546044, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.546094, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 6DD9C061
[2018/01/03 15:41:27.546139, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.546184, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.546261, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '6DD9C061' stored
[2018/01/03 15:41:27.546308,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x6dd9c061 (1842987105)
                  open_persistent_id       : 0x000000006dd9c061 (1842987105)
                  open_volatile_id         : 0x000000001fd511b2 (534057394)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.546929, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 6DD9C061
[2018/01/03 15:41:27.546992,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.547052, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.547115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x6dd9c061) stored
[2018/01/03 15:41:27.547175,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x1fd511b2 (534057394)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x6dd9c061 (1842987105)
                          open_persistent_id       : 0x000000006dd9c061 (1842987105)
                          open_volatile_id         : 0x000000001fd511b2 (534057394)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.548164,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 534057394 (1 used)
[2018/01/03 15:41:27.548237, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/. hash 0xc7e821
[2018/01/03 15:41:27.548300, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory .
[2018/01/03 15:41:27.548368,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.548426, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.548517, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:41:27.548580, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4e8e0
[2018/01/03 15:41:27.548655, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.548715,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x150397bdd3755000 (1514220741278912512)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000005c (92)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.545987
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000100 (256)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000007a1c1330 (2048660272)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00c7e821 (13101089)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.549797, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x1514220741278912512 key 3b:100:0
[2018/01/03 15:41:27.549898,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.549961, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.550028, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:41:27.550088, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file . seq 0x1514220741278912513 key 3b:100:0
[2018/01/03 15:41:27.550159, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.550220, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.550279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.550339,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: .
[2018/01/03 15:41:27.550403,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.550508,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.550573, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: . - fnum 534057394
[2018/01/03 15:41:27.550648, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.550715, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/93/512
[2018/01/03 15:41:27.553710, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.553848, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 93 (position 93) from bitmap
[2018/01/03 15:41:27.553912, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 93
[2018/01/03 15:41:27.553983,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.554050, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 93, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.554115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: . - fnum 534057394
[2018/01/03 15:41:27.554200,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:3456(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1005
[2018/01/03 15:41:27.554357, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:20] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.554425, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/94/512
[2018/01/03 15:41:27.557441, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.557595, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 94 (position 94) from bitmap
[2018/01/03 15:41:27.557664, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 94
[2018/01/03 15:41:27.557736,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.557813, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: . - fnum 534057394
[2018/01/03 15:41:27.557892,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.557959, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.558036, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000000001
[2018/01/03 15:41:27.558106, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b59ca0
[2018/01/03 15:41:27.558183, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file . seq 0x1514220741278912513 key 3b:100:0
[2018/01/03 15:41:27.558255, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc7e821
[2018/01/03 15:41:27.558322, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.558385,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x150397bdd3755001 (1514220741278912513)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : '.'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000100 (256)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.558991, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file . seq 0x1514220741278912513 key 3b:100:0
[2018/01/03 15:41:27.559085, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.559154,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.559217, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.559289, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000000001
[2018/01/03 15:41:27.559356,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.559419, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.559506, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 6DD9C061
[2018/01/03 15:41:27.559571, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.559657, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 6DD9C061
[2018/01/03 15:41:27.559719,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.559780, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.559853,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 534057394 (0 used)
[2018/01/03 15:41:27.559927, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.559998, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/95/512
[2018/01/03 15:41:27.577995, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.578174, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 95 (position 95) from bitmap
[2018/01/03 15:41:27.578278, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 95
[2018/01/03 15:41:27.578390,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.578546, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms]
[2018/01/03 15:41:27.578652, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.578804,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms"
[2018/01/03 15:41:27.578918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.579042, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms] [/srv/scratch]
[2018/01/03 15:41:27.579173, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.579272,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.579375, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.579508, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.579624,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms, access_mask = 0x81, share_access = 0x3 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.579738, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.579929, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.580059, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.580171, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.580268, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.580381, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.580512, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.580629, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.580865, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.581002, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.581099, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.581215, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2018/01/03 15:41:27.581341,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.581444, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.581584, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B3665B2
[2018/01/03 15:41:27.581687, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.581789, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.581945, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '3B3665B2' stored
[2018/01/03 15:41:27.582055,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x3b3665b2 (993420722)
                  open_persistent_id       : 0x000000003b3665b2 (993420722)
                  open_volatile_id         : 0x00000000529f6c6b (1386179691)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.583136, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B3665B2
[2018/01/03 15:41:27.583237,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.583334, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.583501, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x3b3665b2) stored
[2018/01/03 15:41:27.583601,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x529f6c6b (1386179691)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x3b3665b2 (993420722)
                          open_persistent_id       : 0x000000003b3665b2 (993420722)
                          open_volatile_id         : 0x00000000529f6c6b (1386179691)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.585204,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1386179691 (1 used)
[2018/01/03 15:41:27.585320, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.585459,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to noperms
[2018/01/03 15:41:27.585611,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch/noperms
[2018/01/03 15:41:27.585706, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:41:27.585824, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.585957,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.586082,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /srv/scratch
[2018/01/03 15:41:27.586213,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch
[2018/01/03 15:41:27.586306, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:767(fd_open)
  fd_open: name noperms, flags = 0200000 mode = 00, fd = 34. 
[2018/01/03 15:41:27.586420,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.586542, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.586658, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.586764, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b502b0
[2018/01/03 15:41:27.586886, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.586979,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xbce767c33aaaf61c (-4834781586758371812)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000005f (95)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.581324
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000006c3cae15 (1815916053)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.588788, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x13611962486951179804 key 3b:143:0
[2018/01/03 15:41:27.588941,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.589040, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.589152, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.589251, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms seq 0x13611962486951179805 key 3b:143:0
[2018/01/03 15:41:27.589364, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.589462, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.589584, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.589673,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.589716,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.589780,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.589821, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms - fnum 1386179691
[2018/01/03 15:41:27.589872, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.589916, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/96/512
[2018/01/03 15:41:27.593660, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.593796, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 96 (position 96) from bitmap
[2018/01/03 15:41:27.593860, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 96
[2018/01/03 15:41:27.593931,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.594000, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:41:27.594068, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: noperms - fnum 1386179691
[2018/01/03 15:41:27.594181, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 96, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.594243,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:475(dptr_create)
  dptr_create dir=noperms
[2018/01/03 15:41:27.594322,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:657(dptr_create)
  creating new dirptr 0 for path noperms, expect_close = 0
[2018/01/03 15:41:27.594386,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<noperms> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:41:27.594504,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset 0
[2018/01/03 15:41:27.594589,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/.
[2018/01/03 15:41:27.594654,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.594753,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.594831, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms seq 0x13611962486951179805 key 3b:143:0
[2018/01/03 15:41:27.594904,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/. fname=. (.)
[2018/01/03 15:41:27.594975, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65527
[2018/01/03 15:41:27.595038, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.595105,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset 2147483648
[2018/01/03 15:41:27.595168,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/..
[2018/01/03 15:41:27.595205,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.595258,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.595301,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/.. fname=.. (..)
[2018/01/03 15:41:27.595344, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65415
[2018/01/03 15:41:27.595382, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.595453,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset 8
[2018/01/03 15:41:27.595503,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test2
[2018/01/03 15:41:27.595544,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.595612,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.595655,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test2 fname=test2 (test2)
[2018/01/03 15:41:27.595697, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65303
[2018/01/03 15:41:27.595735, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.595782,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset 9
[2018/01/03 15:41:27.595823,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test3
[2018/01/03 15:41:27.595862,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.595915,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.595957,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test3 fname=test3 (test3)
[2018/01/03 15:41:27.595999, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65183
[2018/01/03 15:41:27.596037, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.596084,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset 10
[2018/01/03 15:41:27.596125,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test4
[2018/01/03 15:41:27.596165,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.596217,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.596260,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test4 fname=test4 (test4)
[2018/01/03 15:41:27.596302, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65063
[2018/01/03 15:41:27.596340, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.596387,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset 2147483647
[2018/01/03 15:41:27.596428,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:41:27.596468,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.596542,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.596584,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1 fname=test1 (test1)
[2018/01/03 15:41:27.596627, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64943
[2018/01/03 15:41:27.596664, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:41:27.596713,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset -1
[2018/01/03 15:41:27.596761, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:184(smbd_smb2_request_find_done)
  smbd_smb2_request_find_done: out_output_buffer.length = 698
[2018/01/03 15:41:27.596800, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:698] at ../source3/smbd/smb2_query_directory.c:188
[2018/01/03 15:41:27.596844, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/97/512
[2018/01/03 15:41:27.599866, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.600008, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 97 (position 97) from bitmap
[2018/01/03 15:41:27.600075, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 97
[2018/01/03 15:41:27.600146,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.600218, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:41:27.600289, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: noperms - fnum 1386179691
[2018/01/03 15:41:27.600363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 97, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.600432,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<noperms> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:41:27.600545,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b502b0 now at offset -1
[2018/01/03 15:41:27.600620,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3120(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
[2018/01/03 15:41:27.600688, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[STATUS_NO_MORE_FILES] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:3168
[2018/01/03 15:41:27.600794, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/98/512
[2018/01/03 15:41:27.603846, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.603985, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 98 (position 98) from bitmap
[2018/01/03 15:41:27.604053, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 98
[2018/01/03 15:41:27.604125,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.604200, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms - fnum 1386179691
[2018/01/03 15:41:27.604279,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.604343, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.604423, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.604508, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6d0
[2018/01/03 15:41:27.604578, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:143:0
[2018/01/03 15:41:27.604671, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.604734,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xbce767c33aaaf61d (-4834781586758371811)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000005f (95)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.581324
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000006c3cae15 (1815916053)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.605922, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.605991, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.606053,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xbce767c33aaaf61d (-4834781586758371811)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.606610, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x13611962486951179805 key 3b:143:0
[2018/01/03 15:41:27.606677, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.606744,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.606805, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.606875, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.606939,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:233(dptr_close_internal)
  closing dptr key 0
[2018/01/03 15:41:27.607022,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.607086, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.607178, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B3665B2
[2018/01/03 15:41:27.607243, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.607327, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B3665B2
[2018/01/03 15:41:27.607387,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.607449, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.607536,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1386179691 (0 used)
[2018/01/03 15:41:27.607611, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.607679, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/99/512
[2018/01/03 15:41:27.607810,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:41:27.607877,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:41:27.607940,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:41:27.608060,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:41:27.611811, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.611952, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 99 (position 99) from bitmap
[2018/01/03 15:41:27.612021, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 99
[2018/01/03 15:41:27.612110,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:41:27.612181,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:41:27.612535,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:41:27.612722,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:41:27.612846, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test2]
[2018/01/03 15:41:27.612916, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.612983,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test2"
[2018/01/03 15:41:27.613056, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST2]
[2018/01/03 15:41:27.613122, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.613201,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test2, dirpath = noperms, start = test2
[2018/01/03 15:41:27.613278,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b4f840:size d) NOPERMS/TEST2 -> noperms/test2
[2018/01/03 15:41:27.613343,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test2 -> noperms/test2
[2018/01/03 15:41:27.613410, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test2] [/srv/scratch]
[2018/01/03 15:41:27.613522, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test2] -> [/srv/scratch/noperms/test2]
[2018/01/03 15:41:27.613586,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test2 reduced to /srv/scratch/noperms/test2
[2018/01/03 15:41:27.613654, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test2
[2018/01/03 15:41:27.613729, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test2
[2018/01/03 15:41:27.613818,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.613884, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.613957, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 2131CF98
[2018/01/03 15:41:27.614026, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.614092, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.614198, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '2131CF98' stored
[2018/01/03 15:41:27.614268,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x2131cf98 (556912536)
                  open_persistent_id       : 0x000000002131cf98 (556912536)
                  open_volatile_id         : 0x00000000ef7f19c0 (4018084288)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.615001, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 2131CF98
[2018/01/03 15:41:27.615069,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.615135, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.615203, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x2131cf98) stored
[2018/01/03 15:41:27.615269,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xef7f19c0 (4018084288)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x2131cf98 (556912536)
                          open_persistent_id       : 0x000000002131cf98 (556912536)
                          open_volatile_id         : 0x00000000ef7f19c0 (4018084288)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.616344,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4018084288 (1 used)
[2018/01/03 15:41:27.616419, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test2 hash 0x2b2d7f37
[2018/01/03 15:41:27.616505,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test2) returning 0744
[2018/01/03 15:41:27.616573, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test2, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.616651, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test2, after mapping access_mask=0x80
[2018/01/03 15:41:27.616719,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.616788, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test2
[2018/01/03 15:41:27.616921, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.617005, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.617078, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.617143, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.617217, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.617290, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.617367, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.617557, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.617623, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.617689, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.617767, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test2 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.617840,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.617905, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.617978, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 2131CF98
[2018/01/03 15:41:27.618045, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.618134, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 2131CF98
[2018/01/03 15:41:27.618199,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.618264, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.618338,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4018084288 (0 used)
[2018/01/03 15:41:27.618402,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test2, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.618488, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test2
[2018/01/03 15:41:27.618598, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.618678, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.618750, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.618813, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.618887, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.618982, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.619059, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.619212, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.619278, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.619343, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.619419, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test2 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.619514,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.619579, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.619650, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 380CF9E6
[2018/01/03 15:41:27.619716, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.619782, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.619890, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '380CF9E6' stored
[2018/01/03 15:41:27.619959,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x380cf9e6 (940374502)
                  open_persistent_id       : 0x00000000380cf9e6 (940374502)
                  open_volatile_id         : 0x00000000900a5107 (2416595207)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.620678, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 380CF9E6
[2018/01/03 15:41:27.620746,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.620811, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.620879, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x380cf9e6) stored
[2018/01/03 15:41:27.620944,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x900a5107 (2416595207)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x380cf9e6 (940374502)
                          open_persistent_id       : 0x00000000380cf9e6 (940374502)
                          open_volatile_id         : 0x00000000900a5107 (2416595207)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.621988,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2416595207 (1 used)
[2018/01/03 15:41:27.622081, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test2 hash 0x2b2d7f37
[2018/01/03 15:41:27.622147, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms/test2
[2018/01/03 15:41:27.622223,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.622287, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.622363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004901
[2018/01/03 15:41:27.622430, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b502b0
[2018/01/03 15:41:27.622525, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.622590,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x7576ca795f2bd73e (8464175172325988158)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test2'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000063 (99)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.619504
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000149 (329)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000010c7debb (281534139)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x2b2d7f37 (724401975)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000149 (329)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.623282, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test2 seq 0x8464175172325988158 key 3b:149:0
[2018/01/03 15:41:27.623401,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.623441, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.623495, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004901
[2018/01/03 15:41:27.623535, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test2 seq 0x8464175172325988159 key 3b:149:0
[2018/01/03 15:41:27.623580, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.623618, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.623656, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.623696,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test2
[2018/01/03 15:41:27.623739,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.623808,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.623849, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test2 - fnum 2416595207
[2018/01/03 15:41:27.623900, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.623944, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/100/512
[2018/01/03 15:41:27.627572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.627692, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 100 (position 100) from bitmap
[2018/01/03 15:41:27.627735, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 100
[2018/01/03 15:41:27.627783,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.627830, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 100, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.627873, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test2 - fnum 2416595207
[2018/01/03 15:41:27.627949, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test2 seq 0x8464175172325988159 key 3b:149:0
[2018/01/03 15:41:27.628025, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x2b2d7f37
[2018/01/03 15:41:27.628069,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test2 (fnum 2416595207) level=65298 max_data=65535
[2018/01/03 15:41:27.628110,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test2
[2018/01/03 15:41:27.628154,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.628228,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.628274, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.628328, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:128] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.628372, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/101/512
[2018/01/03 15:41:27.631469, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.631624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 101 (position 101) from bitmap
[2018/01/03 15:41:27.631678, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 101
[2018/01/03 15:41:27.631726,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.631778, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test2 - fnum 2416595207
[2018/01/03 15:41:27.631829,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.631869, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.631917, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004901
[2018/01/03 15:41:27.631961, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45170
[2018/01/03 15:41:27.632005, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:149:0
[2018/01/03 15:41:27.632070, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.632109,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x7576ca795f2bd73f (8464175172325988159)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test2'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000063 (99)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.619504
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000149 (329)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000010c7debb (281534139)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x2b2d7f37 (724401975)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000149 (329)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.632999, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x2b2d7f37
[2018/01/03 15:41:27.633063, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.633120,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x7576ca795f2bd73f (8464175172325988159)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test2'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000149 (329)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.633644, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test2 seq 0x8464175172325988159 key 3b:149:0
[2018/01/03 15:41:27.633728, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.633791,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.633849, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.633916, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004901
[2018/01/03 15:41:27.633979,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.634037, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.634102, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 380CF9E6
[2018/01/03 15:41:27.634163, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.634243, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 380CF9E6
[2018/01/03 15:41:27.634300,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.634358, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.634425,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2416595207 (0 used)
[2018/01/03 15:41:27.634506, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.634570, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/102/512
[2018/01/03 15:41:27.638510, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.638645, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 102 (position 102) from bitmap
[2018/01/03 15:41:27.638707, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 102
[2018/01/03 15:41:27.638776,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.638857, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test3]
[2018/01/03 15:41:27.638918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.638979,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test3"
[2018/01/03 15:41:27.639086, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST3]
[2018/01/03 15:41:27.639146, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.639218,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test3, dirpath = noperms, start = test3
[2018/01/03 15:41:27.639289,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b47e90:size d) NOPERMS/TEST3 -> noperms/test3
[2018/01/03 15:41:27.639347,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test3 -> noperms/test3
[2018/01/03 15:41:27.639408, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test3] [/srv/scratch]
[2018/01/03 15:41:27.639511, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test3] -> [/srv/scratch/noperms/test3]
[2018/01/03 15:41:27.639570,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test3 reduced to /srv/scratch/noperms/test3
[2018/01/03 15:41:27.639632, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test3
[2018/01/03 15:41:27.639699, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test3
[2018/01/03 15:41:27.639780,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.639839, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.639904, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E8F8E4DC
[2018/01/03 15:41:27.639966, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.640026, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.640123, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E8F8E4DC' stored
[2018/01/03 15:41:27.640186,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe8f8e4dc (3908625628)
                  open_persistent_id       : 0x00000000e8f8e4dc (3908625628)
                  open_volatile_id         : 0x00000000d3eebfe7 (3555639271)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.640847, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E8F8E4DC
[2018/01/03 15:41:27.640908,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.640966, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.641028, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe8f8e4dc) stored
[2018/01/03 15:41:27.641085,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xd3eebfe7 (3555639271)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe8f8e4dc (3908625628)
                          open_persistent_id       : 0x00000000e8f8e4dc (3908625628)
                          open_volatile_id         : 0x00000000d3eebfe7 (3555639271)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.642050,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3555639271 (1 used)
[2018/01/03 15:41:27.642119, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test3 hash 0xc06cde2d
[2018/01/03 15:41:27.642185,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test3) returning 0744
[2018/01/03 15:41:27.642245, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test3, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.642317, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test3, after mapping access_mask=0x80
[2018/01/03 15:41:27.642377,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.642439, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test3
[2018/01/03 15:41:27.642573, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.642649, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.642715, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.642772, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.642839, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.642906, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.642976, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.643113, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.643191, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.643252, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.643322, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test3 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.643387,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.643446, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.643526, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E8F8E4DC
[2018/01/03 15:41:27.643574, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.643641, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E8F8E4DC
[2018/01/03 15:41:27.643688,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.643734, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.643788,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3555639271 (0 used)
[2018/01/03 15:41:27.643835,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test3, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.643887, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test3
[2018/01/03 15:41:27.643965, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.644022, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.644074, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.644120, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.644172, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.644225, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.644279, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.644406, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.644453, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.644509, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.644563, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test3 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.644621,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.644668, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.644720, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 60A0B037
[2018/01/03 15:41:27.644768, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.644815, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.644893, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '60A0B037' stored
[2018/01/03 15:41:27.644942,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x60a0b037 (1621143607)
                  open_persistent_id       : 0x0000000060a0b037 (1621143607)
                  open_volatile_id         : 0x00000000fb7a08f3 (4219078899)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.645442, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 60A0B037
[2018/01/03 15:41:27.645501,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.645548, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.645597, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x60a0b037) stored
[2018/01/03 15:41:27.645643,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xfb7a08f3 (4219078899)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x60a0b037 (1621143607)
                          open_persistent_id       : 0x0000000060a0b037 (1621143607)
                          open_volatile_id         : 0x00000000fb7a08f3 (4219078899)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.646382,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4219078899 (1 used)
[2018/01/03 15:41:27.646435, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test3 hash 0xc06cde2d
[2018/01/03 15:41:27.646489, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms/test3
[2018/01/03 15:41:27.646545,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.646606, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.646662, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004E01
[2018/01/03 15:41:27.646712, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b502b0
[2018/01/03 15:41:27.646771, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.646816,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xde7f7169910965e3 (-2414086177028479517)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test3'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000066 (102)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.644613
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x000000000000014e (334)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000009d96ea78 (2643913336)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0xc06cde2d (3228360237)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x000000000000014e (334)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.647639, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test3 seq 0x16032657896681072099 key 3b:14e:0
[2018/01/03 15:41:27.647753,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.647801, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.647869, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004E01
[2018/01/03 15:41:27.647917, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test3 seq 0x16032657896681072100 key 3b:14e:0
[2018/01/03 15:41:27.647971, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.648017, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.648062, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.648109,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test3
[2018/01/03 15:41:27.648158,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.648237,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.648286, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test3 - fnum 4219078899
[2018/01/03 15:41:27.648346, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.648398, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/103/512
[2018/01/03 15:41:27.651704, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.651838, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 103 (position 103) from bitmap
[2018/01/03 15:41:27.651901, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 103
[2018/01/03 15:41:27.651969,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.652036, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 103, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.652100, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test3 - fnum 4219078899
[2018/01/03 15:41:27.652186, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test3 seq 0x16032657896681072100 key 3b:14e:0
[2018/01/03 15:41:27.652239, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc06cde2d
[2018/01/03 15:41:27.652289,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test3 (fnum 4219078899) level=65298 max_data=65535
[2018/01/03 15:41:27.652340,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test3
[2018/01/03 15:41:27.652432,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.652528,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.652584, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.652647, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:128] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.652699, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/104/512
[2018/01/03 15:41:27.655724, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.655853, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 104 (position 104) from bitmap
[2018/01/03 15:41:27.655911, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 104
[2018/01/03 15:41:27.655973,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.656041, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test3 - fnum 4219078899
[2018/01/03 15:41:27.656109,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.656162, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.656227, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004E01
[2018/01/03 15:41:27.656290, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6e0
[2018/01/03 15:41:27.656348, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:14e:0
[2018/01/03 15:41:27.656430, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.656495,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xde7f7169910965e4 (-2414086177028479516)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test3'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000066 (102)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.644613
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x000000000000014e (334)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000009d96ea78 (2643913336)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0xc06cde2d (3228360237)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x000000000000014e (334)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.657495, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xc06cde2d
[2018/01/03 15:41:27.657553, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.657605,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xde7f7169910965e4 (-2414086177028479516)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test3'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x000000000000014e (334)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.658068, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test3 seq 0x16032657896681072100 key 3b:14e:0
[2018/01/03 15:41:27.658127, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.658185,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.658256, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.658317, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004E01
[2018/01/03 15:41:27.658374,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.658428, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.658498, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 60A0B037
[2018/01/03 15:41:27.658556, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.658630, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 60A0B037
[2018/01/03 15:41:27.658682,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.658735, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.658797,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4219078899 (0 used)
[2018/01/03 15:41:27.658859, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.658919, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/105/512
[2018/01/03 15:41:27.662923, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.663060, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 105 (position 105) from bitmap
[2018/01/03 15:41:27.663127, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 105
[2018/01/03 15:41:27.663198,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.663277, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test4]
[2018/01/03 15:41:27.663341, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.663404,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test4"
[2018/01/03 15:41:27.663494, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST4]
[2018/01/03 15:41:27.663556, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.663629,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test4, dirpath = noperms, start = test4
[2018/01/03 15:41:27.663749,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b4f840:size d) NOPERMS/TEST4 -> noperms/test4
[2018/01/03 15:41:27.663804,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test4 -> noperms/test4
[2018/01/03 15:41:27.663860, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test4] [/srv/scratch]
[2018/01/03 15:41:27.663941, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test4] -> [/srv/scratch/noperms/test4]
[2018/01/03 15:41:27.663994,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test4 reduced to /srv/scratch/noperms/test4
[2018/01/03 15:41:27.664051, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test4
[2018/01/03 15:41:27.664112, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test4
[2018/01/03 15:41:27.664186,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.664240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.664299, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 8DA4BC37
[2018/01/03 15:41:27.664355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.664409, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.664512, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '8DA4BC37' stored
[2018/01/03 15:41:27.664570,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x8da4bc37 (2376383543)
                  open_persistent_id       : 0x000000008da4bc37 (2376383543)
                  open_volatile_id         : 0x00000000f53d483f (4114434111)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.665163, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 8DA4BC37
[2018/01/03 15:41:27.665218,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.665271, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.665326, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x8da4bc37) stored
[2018/01/03 15:41:27.665378,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xf53d483f (4114434111)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x8da4bc37 (2376383543)
                          open_persistent_id       : 0x000000008da4bc37 (2376383543)
                          open_volatile_id         : 0x00000000f53d483f (4114434111)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.666251,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4114434111 (1 used)
[2018/01/03 15:41:27.666314, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test4 hash 0x4bd27638
[2018/01/03 15:41:27.666375,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test4) returning 0744
[2018/01/03 15:41:27.666429, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test4, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.666506, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test4, after mapping access_mask=0x80
[2018/01/03 15:41:27.666562,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.666620, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test4
[2018/01/03 15:41:27.666731, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.666792, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.666846, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.666892, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.666946, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.666998, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.667054, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.667164, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.667211, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.667258, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.667316, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test4 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.667384,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.667431, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.667492, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 8DA4BC37
[2018/01/03 15:41:27.667541, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.667607, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 8DA4BC37
[2018/01/03 15:41:27.667654,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.667700, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.667755,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4114434111 (0 used)
[2018/01/03 15:41:27.667802,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test4, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.667854, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test4
[2018/01/03 15:41:27.667932, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.667990, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.668041, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.668087, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.668140, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.668193, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.668248, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.668358, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.668420, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.668467, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.668530, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test4 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.668588,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.668635, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.668686, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key C2549825
[2018/01/03 15:41:27.668739, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.668787, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.668868, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'C2549825' stored
[2018/01/03 15:41:27.668918,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xc2549825 (3260323877)
                  open_persistent_id       : 0x00000000c2549825 (3260323877)
                  open_volatile_id         : 0x00000000c52dc717 (3308111639)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.669405, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key C2549825
[2018/01/03 15:41:27.669453,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.669510, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.669575, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xc2549825) stored
[2018/01/03 15:41:27.669621,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xc52dc717 (3308111639)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xc2549825 (3260323877)
                          open_persistent_id       : 0x00000000c2549825 (3260323877)
                          open_volatile_id         : 0x00000000c52dc717 (3308111639)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.670359,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3308111639 (1 used)
[2018/01/03 15:41:27.670413, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test4 hash 0x4bd27638
[2018/01/03 15:41:27.670460, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms/test4
[2018/01/03 15:41:27.670526,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.670572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.670628, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000005301
[2018/01/03 15:41:27.670677, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b502b0
[2018/01/03 15:41:27.670751, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.670796,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x9c36936ae5c960dc (-7190397667719421732)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test4'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000069 (105)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.668580
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000153 (339)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b0ecc3ab (2968306603)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x4bd27638 (1272084024)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000153 (339)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.671618, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test4 seq 0x11256346405990129884 key 3b:153:0
[2018/01/03 15:41:27.671730,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.671777, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.671830, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000005301
[2018/01/03 15:41:27.671877, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test4 seq 0x11256346405990129885 key 3b:153:0
[2018/01/03 15:41:27.671930, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.671992, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.672038, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.672085,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test4
[2018/01/03 15:41:27.672135,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.672214,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.672262, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test4 - fnum 3308111639
[2018/01/03 15:41:27.672323, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.672375, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/106/512
[2018/01/03 15:41:27.675759, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.675896, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 106 (position 106) from bitmap
[2018/01/03 15:41:27.675960, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 106
[2018/01/03 15:41:27.676030,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.676099, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 106, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.676164, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test4 - fnum 3308111639
[2018/01/03 15:41:27.676268, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test4 seq 0x11256346405990129885 key 3b:153:0
[2018/01/03 15:41:27.676340, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x4bd27638
[2018/01/03 15:41:27.676405,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test4 (fnum 3308111639) level=65298 max_data=65535
[2018/01/03 15:41:27.676470,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test4
[2018/01/03 15:41:27.676552,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.676655,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.676724, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.676833, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:128] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.676883, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/107/512
[2018/01/03 15:41:27.679833, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.679969, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 107 (position 107) from bitmap
[2018/01/03 15:41:27.680036, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 107
[2018/01/03 15:41:27.680105,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.680181, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test4 - fnum 3308111639
[2018/01/03 15:41:27.680258,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.680320, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.680393, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000005301
[2018/01/03 15:41:27.680460, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45170
[2018/01/03 15:41:27.680543, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:153:0
[2018/01/03 15:41:27.680637, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.680697,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x9c36936ae5c960dd (-7190397667719421731)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test4'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000069 (105)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.668580
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000153 (339)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000b0ecc3ab (2968306603)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x4bd27638 (1272084024)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000153 (339)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.681667, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x4bd27638
[2018/01/03 15:41:27.681717, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.681760,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x9c36936ae5c960dd (-7190397667719421731)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test4'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000153 (339)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.682151, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test4 seq 0x11256346405990129885 key 3b:153:0
[2018/01/03 15:41:27.682200, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.682249,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.682294, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.682346, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000005301
[2018/01/03 15:41:27.682395,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.682455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.682516, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key C2549825
[2018/01/03 15:41:27.682563, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.682626, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key C2549825
[2018/01/03 15:41:27.682671,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.682716, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.682768,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3308111639 (0 used)
[2018/01/03 15:41:27.682821, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.682871, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/108/512
[2018/01/03 15:41:27.687673, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.687820, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 108 (position 108) from bitmap
[2018/01/03 15:41:27.687895, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 108
[2018/01/03 15:41:27.687977,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.688071, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1]
[2018/01/03 15:41:27.688147, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.688220,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1"
[2018/01/03 15:41:27.688301, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST1]
[2018/01/03 15:41:27.688374, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.688458,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test1, dirpath = noperms, start = test1
[2018/01/03 15:41:27.688569,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b35ac0:size d) NOPERMS/TEST1 -> noperms/test1
[2018/01/03 15:41:27.688640,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test1 -> noperms/test1
[2018/01/03 15:41:27.688762, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1] [/srv/scratch]
[2018/01/03 15:41:27.688869, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:41:27.688939,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1 reduced to /srv/scratch/noperms/test1
[2018/01/03 15:41:27.689012, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:41:27.689094, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:41:27.689191,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.689264, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.689346, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E40A728F
[2018/01/03 15:41:27.689422, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.689513, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.689630, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E40A728F' stored
[2018/01/03 15:41:27.689709,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe40a728f (3825889935)
                  open_persistent_id       : 0x00000000e40a728f (3825889935)
                  open_volatile_id         : 0x00000000474e5fa7 (1196318631)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.690522, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E40A728F
[2018/01/03 15:41:27.690596,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.690667, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.690740, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe40a728f) stored
[2018/01/03 15:41:27.690811,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x474e5fa7 (1196318631)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe40a728f (3825889935)
                          open_persistent_id       : 0x00000000e40a728f (3825889935)
                          open_volatile_id         : 0x00000000474e5fa7 (1196318631)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.691936,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1196318631 (1 used)
[2018/01/03 15:41:27.692019, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:41:27.692098,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1) returning 0744
[2018/01/03 15:41:27.692197, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.692282, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, after mapping access_mask=0x80
[2018/01/03 15:41:27.692356,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.692429, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:41:27.692588, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.692684, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.692765, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.692835, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.692915, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.692992, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.693077, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.693242, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.693314, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.693383, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.693466, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.693559,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.693631, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.693734, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E40A728F
[2018/01/03 15:41:27.693807, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.693904, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E40A728F
[2018/01/03 15:41:27.693972,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.694041, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.694120,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1196318631 (0 used)
[2018/01/03 15:41:27.694191,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test1, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.694269, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:41:27.694386, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.694485, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.694565, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.694632, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.694709, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.694787, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.694868, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.695032, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.695101, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.695170, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.695250, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.695359,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.695429, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.695519, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 8AE918A6
[2018/01/03 15:41:27.695590, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.695662, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.695774, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '8AE918A6' stored
[2018/01/03 15:41:27.695848,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x8ae918a6 (2330532006)
                  open_persistent_id       : 0x000000008ae918a6 (2330532006)
                  open_volatile_id         : 0x00000000a925feb3 (2837839539)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.696591, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 8AE918A6
[2018/01/03 15:41:27.696665,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.696734, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.696805, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x8ae918a6) stored
[2018/01/03 15:41:27.696874,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xa925feb3 (2837839539)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x8ae918a6 (2330532006)
                          open_persistent_id       : 0x000000008ae918a6 (2330532006)
                          open_volatile_id         : 0x00000000a925feb3 (2837839539)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.698001,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2837839539 (1 used)
[2018/01/03 15:41:27.698081, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:41:27.698156, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms/test1
[2018/01/03 15:41:27.698240,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.698310, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.698391, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:41:27.698465, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b502b0
[2018/01/03 15:41:27.698567, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.698634,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xe8f75d913e6e21ec (-1659755059263692308)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000006c (108)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.695350
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000002aa2fdd7 (715324887)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.699377, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x16786989014445859308 key 3b:148:0
[2018/01/03 15:41:27.699447,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.699495, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.699540, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:41:27.699579, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1 seq 0x16786989014445859309 key 3b:148:0
[2018/01/03 15:41:27.699624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.699663, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.699701, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.699739,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:41:27.699793,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.699861,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.699901, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1 - fnum 2837839539
[2018/01/03 15:41:27.699953, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.699996, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/109/512
[2018/01/03 15:41:27.703215, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.703352, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 109 (position 109) from bitmap
[2018/01/03 15:41:27.703417, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 109
[2018/01/03 15:41:27.703499,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.703569, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 109, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.703633, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1 - fnum 2837839539
[2018/01/03 15:41:27.703739, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1 seq 0x16786989014445859309 key 3b:148:0
[2018/01/03 15:41:27.703808, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:41:27.703872,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1 (fnum 2837839539) level=65298 max_data=65535
[2018/01/03 15:41:27.703937,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:41:27.704003,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.704102,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.704172, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.704249, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:128] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.704318, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/110/512
[2018/01/03 15:41:27.707721, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.707857, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 110 (position 110) from bitmap
[2018/01/03 15:41:27.707920, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 110
[2018/01/03 15:41:27.707992,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.708066, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1 - fnum 2837839539
[2018/01/03 15:41:27.708141,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.708204, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.708276, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:41:27.708343, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45170
[2018/01/03 15:41:27.708409, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:148:0
[2018/01/03 15:41:27.708524, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.708587,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xe8f75d913e6e21ed (-1659755059263692307)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000006c (108)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.695350
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000002aa2fdd7 (715324887)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.709839, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:41:27.709912, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.709977,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xe8f75d913e6e21ed (-1659755059263692307)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.710564, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x16786989014445859309 key 3b:148:0
[2018/01/03 15:41:27.710638, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.710709,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.710774, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.710851, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:41:27.710921,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.710987, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.711060, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 8AE918A6
[2018/01/03 15:41:27.711129, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.711240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 8AE918A6
[2018/01/03 15:41:27.711306,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.711370, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.711447,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2837839539 (0 used)
[2018/01/03 15:41:27.711540, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.711615, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/111/512
[2018/01/03 15:41:27.717455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.717623, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 111 (position 111) from bitmap
[2018/01/03 15:41:27.717695, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 111
[2018/01/03 15:41:27.717772,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.717864, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms]
[2018/01/03 15:41:27.717937, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.718007,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms"
[2018/01/03 15:41:27.718085, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.718171, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms] [/srv/scratch]
[2018/01/03 15:41:27.718266, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.718333,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.718402, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.718495, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.718636,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.718708, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.718784, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 0FE587F5
[2018/01/03 15:41:27.718856, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.718927, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.719038, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '0FE587F5' stored
[2018/01/03 15:41:27.719116,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x0fe587f5 (266700789)
                  open_persistent_id       : 0x000000000fe587f5 (266700789)
                  open_volatile_id         : 0x00000000e41adf43 (3826966339)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.719850, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 0FE587F5
[2018/01/03 15:41:27.719916,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.719979, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.720045, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x0fe587f5) stored
[2018/01/03 15:41:27.720107,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xe41adf43 (3826966339)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x0fe587f5 (266700789)
                          open_persistent_id       : 0x000000000fe587f5 (266700789)
                          open_volatile_id         : 0x00000000e41adf43 (3826966339)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.721155,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3826966339 (1 used)
[2018/01/03 15:41:27.721231, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.721304,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms) returning 0744
[2018/01/03 15:41:27.721370, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.721447, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, after mapping access_mask=0x80
[2018/01/03 15:41:27.721534,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.721599, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.721727, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.721813, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.721888, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.721973, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.722045, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.722114, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.722190, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.722337, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.722403, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.722465, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.722556, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.722628,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.722694, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.722766, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 0FE587F5
[2018/01/03 15:41:27.722831, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.722918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 0FE587F5
[2018/01/03 15:41:27.722980,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.723042, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.723115,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3826966339 (0 used)
[2018/01/03 15:41:27.723179,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.723251, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.723380, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.723459, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.723543, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.723604, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.723674, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.723743, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.723816, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.723964, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.724027, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.724089, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.724162, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.724238,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.724304, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.724373, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 4A2050DC
[2018/01/03 15:41:27.724435, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.724514, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.724617, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '4A2050DC' stored
[2018/01/03 15:41:27.724686,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x4a2050dc (1243631836)
                  open_persistent_id       : 0x000000004a2050dc (1243631836)
                  open_volatile_id         : 0x00000000a2de8c2d (2732493869)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.725362, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 4A2050DC
[2018/01/03 15:41:27.725426,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.725502, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.725567, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x4a2050dc) stored
[2018/01/03 15:41:27.725629,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xa2de8c2d (2732493869)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x4a2050dc (1243631836)
                          open_persistent_id       : 0x000000004a2050dc (1243631836)
                          open_volatile_id         : 0x00000000a2de8c2d (2732493869)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.726635,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2732493869 (1 used)
[2018/01/03 15:41:27.726708, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.726774, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms
[2018/01/03 15:41:27.726846,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.726907, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.726981, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.727046, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b56630
[2018/01/03 15:41:27.727124, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.727186,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xbad7d9fb53edebb7 (-4983274789194044489)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000006f (111)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.724228
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000902b9fc6 (2418778054)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.728318, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x13463469284515507127 key 3b:143:0
[2018/01/03 15:41:27.728423,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.728498, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.728569, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.728632, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms seq 0x13463469284515507128 key 3b:143:0
[2018/01/03 15:41:27.728705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.728770, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.728831, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.728894,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.728961,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.729061,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.729126, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms - fnum 2732493869
[2018/01/03 15:41:27.729205, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.729279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/112/512
[2018/01/03 15:41:27.732760, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.732897, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 112 (position 112) from bitmap
[2018/01/03 15:41:27.733001, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 112
[2018/01/03 15:41:27.733075,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.733142, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 112, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.733206, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms - fnum 2732493869
[2018/01/03 15:41:27.733311, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms seq 0x13463469284515507128 key 3b:143:0
[2018/01/03 15:41:27.733383, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.733449,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms (fnum 2732493869) level=65298 max_data=65535
[2018/01/03 15:41:27.733539,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.733605,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.733693,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.733740, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.733794, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:116] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.733838, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/113/512
[2018/01/03 15:41:27.736938, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.737074, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 113 (position 113) from bitmap
[2018/01/03 15:41:27.737137, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 113
[2018/01/03 15:41:27.737209,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.737281, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms - fnum 2732493869
[2018/01/03 15:41:27.737357,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.737420, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.737552, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.737620, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6d0
[2018/01/03 15:41:27.737685, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:143:0
[2018/01/03 15:41:27.737778, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.737836,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xbad7d9fb53edebb8 (-4983274789194044488)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000006f (111)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.724228
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000902b9fc6 (2418778054)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.738639, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.738682, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.738720,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xbad7d9fb53edebb8 (-4983274789194044488)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.739074, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x13463469284515507128 key 3b:143:0
[2018/01/03 15:41:27.739117, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.739160,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.739198, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.739243, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.739286,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.739325, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.739368, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 4A2050DC
[2018/01/03 15:41:27.739409, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.739465, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 4A2050DC
[2018/01/03 15:41:27.739513,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.739552, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.739597,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2732493869 (0 used)
[2018/01/03 15:41:27.739645, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.739688, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/114/512
[2018/01/03 15:41:27.744053, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.744192, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 114 (position 114) from bitmap
[2018/01/03 15:41:27.744302, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 114
[2018/01/03 15:41:27.744377,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.744458, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms]
[2018/01/03 15:41:27.744543, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:41:27.744611,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms"
[2018/01/03 15:41:27.744686, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS] -> [noperms]
[2018/01/03 15:41:27.744769, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms] [/srv/scratch]
[2018/01/03 15:41:27.744858, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms] -> [/srv/scratch/noperms]
[2018/01/03 15:41:27.744921,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms reduced to /srv/scratch/noperms
[2018/01/03 15:41:27.744987, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.745062, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms
[2018/01/03 15:41:27.745151,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.745216, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.745289, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 51C9DCF2
[2018/01/03 15:41:27.745357, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.745423, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.745546, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '51C9DCF2' stored
[2018/01/03 15:41:27.745616,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x51c9dcf2 (1372183794)
                  open_persistent_id       : 0x0000000051c9dcf2 (1372183794)
                  open_volatile_id         : 0x000000004ee4dd41 (1323621697)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.746329, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 51C9DCF2
[2018/01/03 15:41:27.746393,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.746455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.746536, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x51c9dcf2) stored
[2018/01/03 15:41:27.746600,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x4ee4dd41 (1323621697)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x51c9dcf2 (1372183794)
                          open_persistent_id       : 0x0000000051c9dcf2 (1372183794)
                          open_volatile_id         : 0x000000004ee4dd41 (1323621697)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.747640,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1323621697 (1 used)
[2018/01/03 15:41:27.747715, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.747789,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms) returning 0744
[2018/01/03 15:41:27.747855, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:41:27.747934, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms, after mapping access_mask=0x80
[2018/01/03 15:41:27.748000,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:41:27.748067, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.748195, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.748281, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.748357, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.748419, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.748506, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.748576, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.748651, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.748821, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.748887, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.748949, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.749024, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.749095,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.749160, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.749230, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 51C9DCF2
[2018/01/03 15:41:27.749297, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.749385, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 51C9DCF2
[2018/01/03 15:41:27.749446,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.749520, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.749591,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1323621697 (0 used)
[2018/01/03 15:41:27.749655,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:41:27.749727, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms
[2018/01/03 15:41:27.749831, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:41:27.749910, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:41:27.749981, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:41:27.750041, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.750114, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.750184, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.750257, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:41:27.750427, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.750506, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.750569, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:41:27.750641, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:41:27.750716,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.750779, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.750846, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 56454829
[2018/01/03 15:41:27.750910, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:41:27.750972, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:41:27.751076, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '56454829' stored
[2018/01/03 15:41:27.751144,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x56454829 (1447381033)
                  open_persistent_id       : 0x0000000056454829 (1447381033)
                  open_volatile_id         : 0x0000000050f7d026 (1358417958)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:41:27.751784, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 56454829
[2018/01/03 15:41:27.751831,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.751876, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.751923, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x56454829) stored
[2018/01/03 15:41:27.751967,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x50f7d026 (1358417958)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x56454829 (1447381033)
                          open_persistent_id       : 0x0000000056454829 (1447381033)
                          open_volatile_id         : 0x0000000050f7d026 (1358417958)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:41:28 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:41:28 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:41:27.752686,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1358417958 (1 used)
[2018/01/03 15:41:27.752737, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms hash 0x6914d4b2
[2018/01/03 15:41:27.752783, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms
[2018/01/03 15:41:27.752850,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.752893, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.752946, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.752994, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b569a0
[2018/01/03 15:41:27.753051, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.753095,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3aefadb7be48cdea (4246803978316729834)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000072 (114)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.750708
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000ae2a2d1c (2921999644)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.753888, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x4246803978316729834 key 3b:143:0
[2018/01/03 15:41:27.753966,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.754031, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.754083, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.754129, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms seq 0x4246803978316729835 key 3b:143:0
[2018/01/03 15:41:27.754181, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:41:27.754227, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:41:27.754271, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:41:27.754316,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.754363,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.754440,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.754504, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms - fnum 1358417958
[2018/01/03 15:41:27.754563, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:41:27.754613, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/115/512
[2018/01/03 15:41:27.757461, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.757608, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 115 (position 115) from bitmap
[2018/01/03 15:41:27.757677, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 115
[2018/01/03 15:41:27.757749,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.757820, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 115, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:41:27.757884, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms - fnum 1358417958
[2018/01/03 15:41:27.757988, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms seq 0x4246803978316729835 key 3b:143:0
[2018/01/03 15:41:27.758057, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.758124,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms (fnum 1358417958) level=65298 max_data=65535
[2018/01/03 15:41:27.758226,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms
[2018/01/03 15:41:27.758292,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:41:27.758392,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:41:27.758455, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:41:27.758528, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:116] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:41:27.758578, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/116/512
[2018/01/03 15:41:27.761749, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:41:27.761890, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 116 (position 116) from bitmap
[2018/01/03 15:41:27.761955, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 116
[2018/01/03 15:41:27.762026,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:41:27.762097, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms - fnum 1358417958
[2018/01/03 15:41:27.762171,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.762231, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.762303, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004301
[2018/01/03 15:41:27.762369, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45160
[2018/01/03 15:41:27.762436, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:143:0
[2018/01/03 15:41:27.762541, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:41:27.762602,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3aefadb7be48cdeb (4246803978316729835)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000072 (114)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:41:27 PM 2018 MST.750708
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000143 (323)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000ae2a2d1c (2921999644)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x6914d4b2 (1762972850)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.763728, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x6914d4b2
[2018/01/03 15:41:27.763794, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:41:27.763853,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x3aefadb7be48cdeb (4246803978316729835)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000143 (323)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:41:27.764367, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms seq 0x4246803978316729835 key 3b:143:0
[2018/01/03 15:41:27.764432, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:41:27.764514,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:41:27.764595, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.764667, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004301
[2018/01/03 15:41:27.764730,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.764789, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:41:27.764856, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 56454829
[2018/01/03 15:41:27.764918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:41:27.764998, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 56454829
[2018/01/03 15:41:27.765056,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:41:27.765113, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:41:27.765182,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1358417958 (0 used)
[2018/01/03 15:41:27.765255, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:41:27.765322, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/117/512
[2018/01/03 15:41:40.406456, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:42(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) called
[2018/01/03 15:41:40.406712, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:53(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) rescheduled
[2018/01/03 15:41:40.406862, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:42(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) called
[2018/01/03 15:41:40.406980,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/process.c:2897(housekeeping_fn)
  housekeeping
[2018/01/03 15:41:40.407096,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:41:40.407215,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:41:40.407330,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:41:40.407547,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:41:40.407682, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:53(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) rescheduled
[2018/01/03 15:42:05.126822, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:05.127173, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 117 (position 117) from bitmap
[2018/01/03 15:42:05.127376, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_KEEPALIVE] mid = 117
[2018/01/03 15:42:05.127645,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:42:05.127839,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:42:05.128023,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:42:05.128309,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:42:05.128572, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[4] dyn[no:0] at ../source3/smbd/smb2_keepalive.c:46
[2018/01/03 15:42:05.128780, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/118/512
[2018/01/03 15:42:05.131525, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:05.131816, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 118 (position 118) from bitmap
[2018/01/03 15:42:05.132016, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 118
[2018/01/03 15:42:05.132245,  4, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (1000, 1000) - sec_ctx_stack_ndx = 0
[2018/01/03 15:42:05.132452,  5, pid=9665, effective(0, 0), real(0, 0)] ../libcli/security/security_token.c:63(security_token_debug)
  Security token SIDs (10):
    SID[  0]: S-1-5-21-261696024-2635901569-2695960132-1000
    SID[  1]: S-1-5-21-261696024-2635901569-2695960132-513
    SID[  2]: S-1-22-2-1000
    SID[  3]: S-1-22-2-10
    SID[  4]: S-1-22-2-1001
    SID[  5]: S-1-22-2-1002
    SID[  6]: S-1-1-0
    SID[  7]: S-1-5-2
    SID[  8]: S-1-5-11
    SID[  9]: S-1-22-1-1000
   Privileges (0x               0):
   Rights (0x               0):
[2018/01/03 15:42:05.133465,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 1000
  Primary group is 1000 and contains 4 supplementary groups
  Group[  0]: 1000
  Group[  1]: 10
  Group[  2]: 1001
  Group[  3]: 1002
[2018/01/03 15:42:05.134055,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:363(change_to_user_internal)
  Impersonated user: uid=(1000,1000), gid=(0,1000)
[2018/01/03 15:42:05.134284, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1]
[2018/01/03 15:42:05.134524, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:05.134724,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1"
[2018/01/03 15:42:05.134930, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:05.135257, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1] [/srv/scratch]
[2018/01/03 15:42:05.135567, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:05.135760,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1 reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:05.135963, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:05.136188, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:05.136444,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.136682, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:05.136904, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 965A0AE4
[2018/01/03 15:42:05.137110, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:05.137310, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:05.137754, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '965A0AE4' stored
[2018/01/03 15:42:05.137797,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x965a0ae4 (2522483428)
                  open_persistent_id       : 0x00000000965a0ae4 (2522483428)
                  open_volatile_id         : 0x000000000b225713 (186799891)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:05 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:05.138236, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 965A0AE4
[2018/01/03 15:42:05.138277,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.138317, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:05.138358, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x965a0ae4) stored
[2018/01/03 15:42:05.138397,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x0b225713 (186799891)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x965a0ae4 (2522483428)
                          open_persistent_id       : 0x00000000965a0ae4 (2522483428)
                          open_volatile_id         : 0x000000000b225713 (186799891)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:05 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:05 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:05.139026,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 186799891 (1 used)
[2018/01/03 15:42:05.139072, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:05.139131,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1) returning 0744
[2018/01/03 15:42:05.139171, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:42:05.139221, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, after mapping access_mask=0x80
[2018/01/03 15:42:05.139261,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:42:05.139303, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:05.139409, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:05.139470, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:05.139527, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:05.139566, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.139611, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.139656, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.139702, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.139796, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:05.139836, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:05.139875, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:05.139924, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:05.139969,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.140021, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:05.140065, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 965A0AE4
[2018/01/03 15:42:05.140106, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:05.140162, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 965A0AE4
[2018/01/03 15:42:05.140201,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.140240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:05.140286,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 186799891 (0 used)
[2018/01/03 15:42:05.140326,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test1, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:42:05.140371, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:05.140437, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:05.140494, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:05.140538, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:05.140576, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.140621, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.140665, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.140711, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:05.140803, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:05.140843, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:05.140882, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:05.140942, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:05.140992,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.141032, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:05.141075, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 1498A007
[2018/01/03 15:42:05.141115, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:05.141154, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:05.141226, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '1498A007' stored
[2018/01/03 15:42:05.141267,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x1498a007 (345546759)
                  open_persistent_id       : 0x000000001498a007 (345546759)
                  open_volatile_id         : 0x0000000089370329 (2302083881)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:05 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:05.141689, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 1498A007
[2018/01/03 15:42:05.141729,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.141768, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:05.141809, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x1498a007) stored
[2018/01/03 15:42:05.141848,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x89370329 (2302083881)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x1498a007 (345546759)
                          open_persistent_id       : 0x000000001498a007 (345546759)
                          open_volatile_id         : 0x0000000089370329 (2302083881)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:05 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:05 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:05.142485,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2302083881 (1 used)
[2018/01/03 15:42:05.142530, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:05.142570, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms/test1
[2018/01/03 15:42:05.142617,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:05.142655, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:05.142701, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:05.142743, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b569a0
[2018/01/03 15:42:05.142792, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:05.142830,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x7fad7d22bcc4764b (9200147201937143371)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000076 (118)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:05 PM 2018 MST.140985
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000008245e4ef (2185618671)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:05.143537, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x9200147201937143371 key 3b:148:0
[2018/01/03 15:42:05.143626,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:05.143666, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:05.143711, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:05.143750, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1 seq 0x9200147201937143372 key 3b:148:0
[2018/01/03 15:42:05.143795, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:05.143834, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:05.143872, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:05.143926,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:05.143969,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:05.144038,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:05.144079, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1 - fnum 2302083881
[2018/01/03 15:42:05.144131, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:05.144175, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/119/512
[2018/01/03 15:42:05.147301, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:05.147439, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 119 (position 119) from bitmap
[2018/01/03 15:42:05.147529, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 119
[2018/01/03 15:42:05.147601,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:05.147672, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 119, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:05.147737, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1 - fnum 2302083881
[2018/01/03 15:42:05.147842, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1 seq 0x9200147201937143372 key 3b:148:0
[2018/01/03 15:42:05.147913, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:05.147956,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1 (fnum 2302083881) level=65298 max_data=65535
[2018/01/03 15:42:05.147998,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:05.148042,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:05.148115,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:05.148162, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:42:05.148216, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:128] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:42:05.148292, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/120/512
[2018/01/03 15:42:05.150794, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:05.150930, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 120 (position 120) from bitmap
[2018/01/03 15:42:05.150995, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 120
[2018/01/03 15:42:05.151067,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:05.151141, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1 - fnum 2302083881
[2018/01/03 15:42:05.151219,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:05.151281, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:05.151355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:05.151422, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45170
[2018/01/03 15:42:05.151506, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:148:0
[2018/01/03 15:42:05.151600, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:05.151659,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x7fad7d22bcc4764c (9200147201937143372)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000076 (118)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:05 PM 2018 MST.140985
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000008245e4ef (2185618671)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:05.152656, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:05.152703, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:05.152745,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x7fad7d22bcc4764c (9200147201937143372)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:05.153112, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x9200147201937143372 key 3b:148:0
[2018/01/03 15:42:05.153158, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:05.153204,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:05.153245, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:05.153294, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:05.153339,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.153382, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:05.153428, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 1498A007
[2018/01/03 15:42:05.153502, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:05.153563, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 1498A007
[2018/01/03 15:42:05.153605,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:05.153647, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:05.153695,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2302083881 (0 used)
[2018/01/03 15:42:05.153746, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:05.153793, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/121/512
[2018/01/03 15:42:07.662177, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.662532, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 121 (position 121) from bitmap
[2018/01/03 15:42:07.662748, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 121
[2018/01/03 15:42:07.662962,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.663199, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1]
[2018/01/03 15:42:07.663402, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.663647,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1"
[2018/01/03 15:42:07.663861, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.664102, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1] [/srv/scratch]
[2018/01/03 15:42:07.664370, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:07.664609,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1 reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:07.664812, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.665037, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.665382,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.665621, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.665842, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E45C27B7
[2018/01/03 15:42:07.666120, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.666323, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.666654, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E45C27B7' stored
[2018/01/03 15:42:07.666869,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe45c27b7 (3831244727)
                  open_persistent_id       : 0x00000000e45c27b7 (3831244727)
                  open_volatile_id         : 0x000000002ff4d89c (804575388)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.669224, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E45C27B7
[2018/01/03 15:42:07.669439,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.669679, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.669889, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe45c27b7) stored
[2018/01/03 15:42:07.670085,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x2ff4d89c (804575388)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe45c27b7 (3831244727)
                          open_persistent_id       : 0x00000000e45c27b7 (3831244727)
                          open_volatile_id         : 0x000000002ff4d89c (804575388)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.672862,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 804575388 (1 used)
[2018/01/03 15:42:07.672912, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:07.672961,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1) returning 0744
[2018/01/03 15:42:07.673002, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:42:07.673055, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, after mapping access_mask=0x80
[2018/01/03 15:42:07.673098,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:42:07.673142, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:07.673245, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.673325, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.673372, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.673411, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.673457, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.673518, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.673566, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.673661, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.673702, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.673742, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.673798, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.673850,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.673891, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.673938, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E45C27B7
[2018/01/03 15:42:07.673985, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.674045, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E45C27B7
[2018/01/03 15:42:07.674084,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.674124, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.674173,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 804575388 (0 used)
[2018/01/03 15:42:07.674214,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test1, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:42:07.674293, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:07.674391, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.674444, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.674507, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.674546, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.674592, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.674637, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.674684, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.674778, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.674819, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.674858, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.674911, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.674971,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.675012, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.675058, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E2C731A7
[2018/01/03 15:42:07.675103, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.675145, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.675265, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'E2C731A7' stored
[2018/01/03 15:42:07.675310,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xe2c731a7 (3804705191)
                  open_persistent_id       : 0x00000000e2c731a7 (3804705191)
                  open_volatile_id         : 0x00000000fd8c6f8e (4253839246)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.675745, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E2C731A7
[2018/01/03 15:42:07.675786,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.675826, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.675866, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xe2c731a7) stored
[2018/01/03 15:42:07.675905,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xfd8c6f8e (4253839246)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xe2c731a7 (3804705191)
                          open_persistent_id       : 0x00000000e2c731a7 (3804705191)
                          open_volatile_id         : 0x00000000fd8c6f8e (4253839246)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.676554,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 4253839246 (1 used)
[2018/01/03 15:42:07.676604, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:07.676644, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms/test1
[2018/01/03 15:42:07.676695,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.676734, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.676781, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.676823, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b569a0
[2018/01/03 15:42:07.676873, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.676911,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xf29e98d51bc66cd2 (-964165229149262638)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000079 (121)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.674957
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000c04ec5fe (3226387966)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.677614, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x17482578844560288978 key 3b:148:0
[2018/01/03 15:42:07.677685,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.677725, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.677770, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.677810, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1 seq 0x17482578844560288979 key 3b:148:0
[2018/01/03 15:42:07.677856, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.677894, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.677932, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.677972,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:07.678016,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.678087,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.678128, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1 - fnum 4253839246
[2018/01/03 15:42:07.678181, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.678226, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/122/512
[2018/01/03 15:42:07.681390, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.681541, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 122 (position 122) from bitmap
[2018/01/03 15:42:07.681607, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 122
[2018/01/03 15:42:07.681675,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.681744, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 122, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.681809, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1 - fnum 4253839246
[2018/01/03 15:42:07.681912, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1 seq 0x17482578844560288979 key 3b:148:0
[2018/01/03 15:42:07.681979, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:07.682043,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1 (fnum 4253839246) level=65298 max_data=65535
[2018/01/03 15:42:07.682110,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:07.682176,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.682277,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.682346, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:42:07.682423, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:128] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:42:07.682510, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/123/512
[2018/01/03 15:42:07.684219, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.684341, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 123 (position 123) from bitmap
[2018/01/03 15:42:07.684392, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 123
[2018/01/03 15:42:07.684449,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.684531, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1 - fnum 4253839246
[2018/01/03 15:42:07.684627,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.684675, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.684733, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.684785, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6e0
[2018/01/03 15:42:07.684837, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:148:0
[2018/01/03 15:42:07.684912, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:07.684958,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xf29e98d51bc66cd3 (-964165229149262637)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000079 (121)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.674957
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000c04ec5fe (3226387966)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.685808, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:07.685861, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.685923,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xf29e98d51bc66cd3 (-964165229149262637)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.686331, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x17482578844560288979 key 3b:148:0
[2018/01/03 15:42:07.686382, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.686433,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.686492, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.686547, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.686597,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.686645, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.686697, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key E2C731A7
[2018/01/03 15:42:07.686746, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.686813, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key E2C731A7
[2018/01/03 15:42:07.686860,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.686907, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.686961,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 4253839246 (0 used)
[2018/01/03 15:42:07.687017, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.687069, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/124/512
[2018/01/03 15:42:07.691011, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.691147, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 124 (position 124) from bitmap
[2018/01/03 15:42:07.691211, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 124
[2018/01/03 15:42:07.691282,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.691361, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1]
[2018/01/03 15:42:07.691425, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.691514,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1"
[2018/01/03 15:42:07.691572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.691636, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1] [/srv/scratch]
[2018/01/03 15:42:07.691708, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:07.691754,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1 reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:07.691805, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.691859, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x81 file_attributes = 0x10, share_access = 0x3, create_disposition = 0x1 create_options = 0x1 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.691913,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test1, access_mask = 0x81, share_access = 0x3 create_options = 0x1, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:42:07.691968, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:07.692072, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.692134, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.692188, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.692268, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.692323, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.692376, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.692431, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.692553, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.692601, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.692648, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.692706, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x81 returning 0x1 (NT_STATUS_OK)
[2018/01/03 15:42:07.692770,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.692818, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.692870, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 37E4D0F8
[2018/01/03 15:42:07.692920, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.692967, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.693051, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '37E4D0F8' stored
[2018/01/03 15:42:07.693101,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x37e4d0f8 (937742584)
                  open_persistent_id       : 0x0000000037e4d0f8 (937742584)
                  open_volatile_id         : 0x00000000b13b3ae7 (2973448935)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.693640, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 37E4D0F8
[2018/01/03 15:42:07.693689,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.693737, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.693786, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x37e4d0f8) stored
[2018/01/03 15:42:07.693833,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xb13b3ae7 (2973448935)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x37e4d0f8 (937742584)
                          open_persistent_id       : 0x0000000037e4d0f8 (937742584)
                          open_volatile_id         : 0x00000000b13b3ae7 (2973448935)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.694625,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2973448935 (1 used)
[2018/01/03 15:42:07.694686, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:07.694758,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to noperms/test1
[2018/01/03 15:42:07.694836,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch/noperms/test1
[2018/01/03 15:42:07.694888, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:42:07.694944, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:07.694995,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:07.695063,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /srv/scratch
[2018/01/03 15:42:07.695130,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch
[2018/01/03 15:42:07.695178, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:767(fd_open)
  fd_open: name noperms/test1, flags = 0200000 mode = 00, fd = 34. 
[2018/01/03 15:42:07.695238,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.695289, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.695348, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.695402, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b501f0
[2018/01/03 15:42:07.695465, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.695526,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xa1c05e01a35f3006 (-6791324876945805306)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000007c (124)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.692757
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000002938ec65 (691596389)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.696436, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x11655419196763746310 key 3b:148:0
[2018/01/03 15:42:07.696530,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.696582, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.696640, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.696691, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1 seq 0x11655419196763746311 key 3b:148:0
[2018/01/03 15:42:07.696748, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.696799, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.696849, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.696898,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:07.696953,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.697032,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.697085, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1 - fnum 2973448935
[2018/01/03 15:42:07.697150, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.697222, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/125/512
[2018/01/03 15:42:07.700106, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.700242, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 125 (position 125) from bitmap
[2018/01/03 15:42:07.700308, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 125
[2018/01/03 15:42:07.700378,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.700438, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:42:07.700511, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: noperms/test1 - fnum 2973448935
[2018/01/03 15:42:07.700574, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 125, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.700625,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:475(dptr_create)
  dptr_create dir=noperms/test1
[2018/01/03 15:42:07.700694,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:657(dptr_create)
  creating new dirptr 0 for path noperms/test1, expect_close = 0
[2018/01/03 15:42:07.700750,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<noperms/test1> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:42:07.700827,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 0
[2018/01/03 15:42:07.700899,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/.
[2018/01/03 15:42:07.700954,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.701040,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.701107, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1 seq 0x11655419196763746311 key 3b:148:0
[2018/01/03 15:42:07.701167,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1/. fname=. (.)
[2018/01/03 15:42:07.701227, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65527
[2018/01/03 15:42:07.701278, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:42:07.701336,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 2147483648
[2018/01/03 15:42:07.701433,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/..
[2018/01/03 15:42:07.701507,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.701582,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.701639,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1/.. fname=.. (..)
[2018/01/03 15:42:07.701694, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65415
[2018/01/03 15:42:07.701744, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:42:07.701834,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 3
[2018/01/03 15:42:07.701887,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test1.txt
[2018/01/03 15:42:07.701940,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.702006,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.702091,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1/test1.txt fname=test1.txt (test1.txt)
[2018/01/03 15:42:07.702149, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65303
[2018/01/03 15:42:07.702200, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:42:07.702264,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 4
[2018/01/03 15:42:07.702318,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test2.txt
[2018/01/03 15:42:07.702371,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.702436,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.702528,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1/test2.txt fname=test2.txt (test2.txt)
[2018/01/03 15:42:07.702586, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65175
[2018/01/03 15:42:07.702637, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:42:07.702700,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 5
[2018/01/03 15:42:07.702753,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test3.txt
[2018/01/03 15:42:07.702824,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.702888,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.702955,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1/test3.txt fname=test3.txt (test3.txt)
[2018/01/03 15:42:07.703011, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 65047
[2018/01/03 15:42:07.703061, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:42:07.703123,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset 2147483647
[2018/01/03 15:42:07.703176,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test4.txt
[2018/01/03 15:42:07.703229,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.703293,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.703358,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1228(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry mask=[*] found noperms/test1/test4.txt fname=test4.txt (test4.txt)
[2018/01/03 15:42:07.703414, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:1842(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: space_remaining = 64919
[2018/01/03 15:42:07.703464, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:2247(smbd_marshall_dir_entry)
  smbd_marshall_dir_entry: SMB_FIND_ID_BOTH_DIRECTORY_INFO
[2018/01/03 15:42:07.703538,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset -1
[2018/01/03 15:42:07.703600, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:184(smbd_smb2_request_find_done)
  smbd_smb2_request_find_done: out_output_buffer.length = 730
[2018/01/03 15:42:07.703652, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:730] at ../source3/smbd/smb2_query_directory.c:188
[2018/01/03 15:42:07.703709, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/126/512
[2018/01/03 15:42:07.707300, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.707436, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 126 (position 126) from bitmap
[2018/01/03 15:42:07.707526, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_QUERY_DIRECTORY] mid = 126
[2018/01/03 15:42:07.707606,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.707694, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:94(smbd_smb2_request_process_query_directory)
  smbd_smb2_request_find_done: in_output_buffer_length = 65535
[2018/01/03 15:42:07.707747, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:260(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: noperms/test1 - fnum 2973448935
[2018/01/03 15:42:07.707805, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 126, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.707855,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_query_directory.c:464(smbd_smb2_query_directory_send)
  smbd_smb2_query_directory_send: dirpath=<noperms/test1> dontdescend=<>, in_output_buffer_length = 65527
[2018/01/03 15:42:07.707925,  6, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:1137(smbd_dirptr_get_entry)
  smbd_dirptr_get_entry: dirptr 0x559430b501f0 now at offset -1
[2018/01/03 15:42:07.707981,  3, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3120(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[STATUS_NO_MORE_FILES] || at ../source3/smbd/smb2_query_directory.c:155
[2018/01/03 15:42:07.708030, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[STATUS_NO_MORE_FILES] body[8] dyn[yes:1] at ../source3/smbd/smb2_server.c:3168
[2018/01/03 15:42:07.708078, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/127/512
[2018/01/03 15:42:07.710781, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.710923, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 127 (position 127) from bitmap
[2018/01/03 15:42:07.710972, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 127
[2018/01/03 15:42:07.711026,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.711083, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1 - fnum 2973448935
[2018/01/03 15:42:07.711141,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.711187, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.711244, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.711294, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6e0
[2018/01/03 15:42:07.711344, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:148:0
[2018/01/03 15:42:07.711417, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:07.711462,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xa1c05e01a35f3007 (-6791324876945805305)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000007c (124)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000081 (129)
                  share_access             : 0x00000003 (3)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.692757
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000002938ec65 (691596389)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.712317, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:07.712367, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.712411,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xa1c05e01a35f3007 (-6791324876945805305)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.712834, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x11655419196763746311 key 3b:148:0
[2018/01/03 15:42:07.712883, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.712931,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.712976, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.713028, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.713076,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:233(dptr_close_internal)
  closing dptr key 0
[2018/01/03 15:42:07.713137,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.713184, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.713233, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 37E4D0F8
[2018/01/03 15:42:07.713281, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.713343, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 37E4D0F8
[2018/01/03 15:42:07.713388,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.713433, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.713493,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2973448935 (0 used)
[2018/01/03 15:42:07.713548, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.713599, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/128/512
[2018/01/03 15:42:07.716721, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.716861, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 128 (position 128) from bitmap
[2018/01/03 15:42:07.716928, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 128
[2018/01/03 15:42:07.717002,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.717082, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1\test1.txt]
[2018/01/03 15:42:07.717192, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.717260,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1/test1.txt"
[2018/01/03 15:42:07.717335, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST1/TEST1.TXT]
[2018/01/03 15:42:07.717402, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.717494,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test1/test1.txt, dirpath = noperms/test1, start = test1.txt
[2018/01/03 15:42:07.717575,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b48800:size 17) NOPERMS/TEST1/TEST1.TXT -> noperms/test1/test1.txt
[2018/01/03 15:42:07.717642,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test1/test1.txt -> noperms/test1/test1.txt
[2018/01/03 15:42:07.717706, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1/test1.txt] [/srv/scratch]
[2018/01/03 15:42:07.717804, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1/test1.txt] -> [/srv/scratch/noperms/test1/test1.txt]
[2018/01/03 15:42:07.717868,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1/test1.txt reduced to /srv/scratch/noperms/test1/test1.txt
[2018/01/03 15:42:07.717934, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test1.txt
[2018/01/03 15:42:07.718008, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test1.txt
[2018/01/03 15:42:07.718097,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.718163, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.718235, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 2B2C4E6F
[2018/01/03 15:42:07.718303, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.718369, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.718496, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '2B2C4E6F' stored
[2018/01/03 15:42:07.718588,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x2b2c4e6f (724323951)
                  open_persistent_id       : 0x000000002b2c4e6f (724323951)
                  open_volatile_id         : 0x00000000b6e799bb (3068631483)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.719279, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 2B2C4E6F
[2018/01/03 15:42:07.719346,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.719407, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.719485, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x2b2c4e6f) stored
[2018/01/03 15:42:07.719550,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xb6e799bb (3068631483)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x2b2c4e6f (724323951)
                          open_persistent_id       : 0x000000002b2c4e6f (724323951)
                          open_volatile_id         : 0x00000000b6e799bb (3068631483)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.720586,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3068631483 (1 used)
[2018/01/03 15:42:07.720662, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1/test1.txt hash 0x76358
[2018/01/03 15:42:07.720735,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1/test1.txt) returning 0744
[2018/01/03 15:42:07.720803, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test1.txt, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:42:07.720880, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test1.txt, after mapping access_mask=0x80
[2018/01/03 15:42:07.720945,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:42:07.721011, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1/test1.txt
[2018/01/03 15:42:07.721132, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.721219, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.721294, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.721356, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.721428, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.721513, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.721588, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.721756, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.721823, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.721885, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.721960, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1/test1.txt requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.722029,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:1404(open_file)
  chris opened file noperms/test1/test1.txt read=No write=No (numopen=1)
[2018/01/03 15:42:07.722098,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.722165, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.722241, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004401
[2018/01/03 15:42:07.722306, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46550
[2018/01/03 15:42:07.722384, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.722516,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/smbd/oplock.c:88(set_file_oplock)
  set_file_oplock: granted oplock on file noperms/test1/test1.txt, 3b:144:0/1713042985, tv_sec = 5a4d5c3f, tv_usec = af503
[2018/01/03 15:42:07.722594, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.722658, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2273(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file noperms/test1/test1.txt
[2018/01/03 15:42:07.722725, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.722787,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x9792bb40fc92ad3e (-7524746139592905410)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test1.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000080 (128)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.718083
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000144 (324)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000661af629 (1713042985)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00076358 (484184)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:07 AM 2018 MST.451159700
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000144 (324)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.723937, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test1.txt seq 0x10921997934116646206 key 3b:144:0
[2018/01/03 15:42:07.724076,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.724142, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.724214, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004401
[2018/01/03 15:42:07.724277, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1/test1.txt seq 0x10921997934116646207 key 3b:144:0
[2018/01/03 15:42:07.724349, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.724414, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.724491, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.724555,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test1.txt
[2018/01/03 15:42:07.724622,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.724718,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.724784, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1/test1.txt - fnum 3068631483
[2018/01/03 15:42:07.724892, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.724965, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/129/512
[2018/01/03 15:42:07.727417, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.727567, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 129 (position 129) from bitmap
[2018/01/03 15:42:07.727634, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 129
[2018/01/03 15:42:07.727704,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.727774, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 129, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.727839, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1/test1.txt - fnum 3068631483
[2018/01/03 15:42:07.727945, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1/test1.txt seq 0x10921997934116646207 key 3b:144:0
[2018/01/03 15:42:07.727990, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x76358
[2018/01/03 15:42:07.728034,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1/test1.txt (fnum 3068631483) level=65298 max_data=65535
[2018/01/03 15:42:07.728076,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test1.txt
[2018/01/03 15:42:07.728119,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.728188,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.728240, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:42:07.728294, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:148] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:42:07.728338, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/130/512
[2018/01/03 15:42:07.731203, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.731466, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 130 (position 130) from bitmap
[2018/01/03 15:42:07.731751, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 130
[2018/01/03 15:42:07.731919,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.732087, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1/test1.txt - fnum 3068631483
[2018/01/03 15:42:07.732266,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.732422, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.732633, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004401
[2018/01/03 15:42:07.732754, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45180
[2018/01/03 15:42:07.732909, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:144:0
[2018/01/03 15:42:07.733111, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:07.733257,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x9792bb40fc92ad3f (-7524746139592905409)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test1.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000080 (128)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.718083
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000144 (324)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000661af629 (1713042985)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x00076358 (484184)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:07 AM 2018 MST.451159700
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000144 (324)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.735769, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x76358
[2018/01/03 15:42:07.735930, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.736071,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x9792bb40fc92ad3f (-7524746139592905409)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test1.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:07 AM 2018 MST.451159700
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000144 (324)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.737398, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test1.txt seq 0x10921997934116646207 key 3b:144:0
[2018/01/03 15:42:07.737587, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.737746,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.737893, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.738062, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004401
[2018/01/03 15:42:07.738226,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/close.c:789(close_normal_file)
  chris closed file noperms/test1/test1.txt (numopen=0) NT_STATUS_OK
[2018/01/03 15:42:07.738389,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.738572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.738725, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 2B2C4E6F
[2018/01/03 15:42:07.738849, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.739042, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 2B2C4E6F
[2018/01/03 15:42:07.739187,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.739381, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.739586,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3068631483 (0 used)
[2018/01/03 15:42:07.739752, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.739914, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/131/512
[2018/01/03 15:42:07.744215, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.744452, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 131 (position 131) from bitmap
[2018/01/03 15:42:07.744625, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 131
[2018/01/03 15:42:07.744697,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.744783, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1\test2.txt]
[2018/01/03 15:42:07.744848, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.744913,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1/test2.txt"
[2018/01/03 15:42:07.744986, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST1/TEST2.TXT]
[2018/01/03 15:42:07.745049, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.745123,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test1/test2.txt, dirpath = noperms/test1, start = test2.txt
[2018/01/03 15:42:07.745198,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b39800:size 17) NOPERMS/TEST1/TEST2.TXT -> noperms/test1/test2.txt
[2018/01/03 15:42:07.745262,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test1/test2.txt -> noperms/test1/test2.txt
[2018/01/03 15:42:07.745325, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1/test2.txt] [/srv/scratch]
[2018/01/03 15:42:07.745413, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1/test2.txt] -> [/srv/scratch/noperms/test1/test2.txt]
[2018/01/03 15:42:07.745460,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1/test2.txt reduced to /srv/scratch/noperms/test1/test2.txt
[2018/01/03 15:42:07.745556, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test2.txt
[2018/01/03 15:42:07.745612, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test2.txt
[2018/01/03 15:42:07.745679,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.745728, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.745780, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3C2950A0
[2018/01/03 15:42:07.745830, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.745878, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.745961, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '3C2950A0' stored
[2018/01/03 15:42:07.746012,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x3c2950a0 (1009340576)
                  open_persistent_id       : 0x000000003c2950a0 (1009340576)
                  open_volatile_id         : 0x00000000059c708d (94138509)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.746524, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3C2950A0
[2018/01/03 15:42:07.746572,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.746620, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.746686, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x3c2950a0) stored
[2018/01/03 15:42:07.746732,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x059c708d (94138509)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x3c2950a0 (1009340576)
                          open_persistent_id       : 0x000000003c2950a0 (1009340576)
                          open_volatile_id         : 0x00000000059c708d (94138509)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.747485,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 94138509 (1 used)
[2018/01/03 15:42:07.747541, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1/test2.txt hash 0x83b2d3b8
[2018/01/03 15:42:07.747594,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1/test2.txt) returning 0744
[2018/01/03 15:42:07.747643, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test2.txt, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:42:07.747701, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test2.txt, after mapping access_mask=0x80
[2018/01/03 15:42:07.747770,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:42:07.747821, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1/test2.txt
[2018/01/03 15:42:07.747918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.747979, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.748034, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.748080, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.748135, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.748188, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.748244, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.748355, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.748403, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.748451, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.748521, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1/test2.txt requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.748572,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:1404(open_file)
  chris opened file noperms/test1/test2.txt read=No write=No (numopen=1)
[2018/01/03 15:42:07.748623,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.748671, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.748726, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004501
[2018/01/03 15:42:07.748775, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4eac0
[2018/01/03 15:42:07.748849, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.748930,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/smbd/oplock.c:88(set_file_oplock)
  set_file_oplock: granted oplock on file noperms/test1/test2.txt, 3b:145:0/1827588623, tv_sec = 5a4d5c3f, tv_usec = b60c3
[2018/01/03 15:42:07.748987, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.749035, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2273(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file noperms/test1/test2.txt
[2018/01/03 15:42:07.749084, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.749131,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd7b62677dc1e2aaf (-2903090613557777745)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test2.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000083 (131)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.745667
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000145 (325)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000006ceeca0f (1827588623)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x83b2d3b8 (2209534904)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:11 AM 2018 MST.282244963
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000145 (325)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.749963, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test2.txt seq 0x15543653460151773871 key 3b:145:0
[2018/01/03 15:42:07.750067,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.750131, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.750185, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004501
[2018/01/03 15:42:07.750234, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1/test2.txt seq 0x15543653460151773872 key 3b:145:0
[2018/01/03 15:42:07.750288, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.750335, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.750381, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.750428,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test2.txt
[2018/01/03 15:42:07.750487,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.750564,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.750615, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1/test2.txt - fnum 94138509
[2018/01/03 15:42:07.750676, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.750728, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/132/512
[2018/01/03 15:42:07.754264, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.754433, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 132 (position 132) from bitmap
[2018/01/03 15:42:07.754512, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 132
[2018/01/03 15:42:07.754586,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.754656, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 132, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.754722, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1/test2.txt - fnum 94138509
[2018/01/03 15:42:07.754831, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1/test2.txt seq 0x15543653460151773872 key 3b:145:0
[2018/01/03 15:42:07.754903, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x83b2d3b8
[2018/01/03 15:42:07.755008,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1/test2.txt (fnum 94138509) level=65298 max_data=65535
[2018/01/03 15:42:07.755075,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test2.txt
[2018/01/03 15:42:07.755142,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.755235,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.755311, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:42:07.755390, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:148] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:42:07.755459, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/133/512
[2018/01/03 15:42:07.758863, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.759010, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 133 (position 133) from bitmap
[2018/01/03 15:42:07.759075, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 133
[2018/01/03 15:42:07.759148,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.759227, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1/test2.txt - fnum 94138509
[2018/01/03 15:42:07.759306,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.759371, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.759445, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004501
[2018/01/03 15:42:07.759536, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6f0
[2018/01/03 15:42:07.759604, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:145:0
[2018/01/03 15:42:07.759699, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:07.759761,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd7b62677dc1e2ab0 (-2903090613557777744)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test2.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000083 (131)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.745667
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000145 (325)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x000000006ceeca0f (1827588623)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x83b2d3b8 (2209534904)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:11 AM 2018 MST.282244963
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000145 (325)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.760708, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x83b2d3b8
[2018/01/03 15:42:07.760760, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.760805,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xd7b62677dc1e2ab0 (-2903090613557777744)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test2.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:11 AM 2018 MST.282244963
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000145 (325)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.761209, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test2.txt seq 0x15543653460151773872 key 3b:145:0
[2018/01/03 15:42:07.761259, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.761324,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.761370, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.761423, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004501
[2018/01/03 15:42:07.761488,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/close.c:789(close_normal_file)
  chris closed file noperms/test1/test2.txt (numopen=0) NT_STATUS_OK
[2018/01/03 15:42:07.761541,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.761588, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.761639, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3C2950A0
[2018/01/03 15:42:07.761687, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.761751, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3C2950A0
[2018/01/03 15:42:07.761796,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.761842, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.761895,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 94138509 (0 used)
[2018/01/03 15:42:07.761951, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.762001, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/134/512
[2018/01/03 15:42:07.765715, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.765864, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 134 (position 134) from bitmap
[2018/01/03 15:42:07.765929, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 134
[2018/01/03 15:42:07.766002,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.766081, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1\test3.txt]
[2018/01/03 15:42:07.766149, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.766212,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1/test3.txt"
[2018/01/03 15:42:07.766311, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST1/TEST3.TXT]
[2018/01/03 15:42:07.766358, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.766418,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test1/test3.txt, dirpath = noperms/test1, start = test3.txt
[2018/01/03 15:42:07.766496,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b48800:size 17) NOPERMS/TEST1/TEST3.TXT -> noperms/test1/test3.txt
[2018/01/03 15:42:07.766544,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test1/test3.txt -> noperms/test1/test3.txt
[2018/01/03 15:42:07.766593, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1/test3.txt] [/srv/scratch]
[2018/01/03 15:42:07.766697, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1/test3.txt] -> [/srv/scratch/noperms/test1/test3.txt]
[2018/01/03 15:42:07.766763,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1/test3.txt reduced to /srv/scratch/noperms/test1/test3.txt
[2018/01/03 15:42:07.766835, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test3.txt
[2018/01/03 15:42:07.766915, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test3.txt
[2018/01/03 15:42:07.767010,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.767083, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.767161, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 57C76435
[2018/01/03 15:42:07.767235, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.767306, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.767418, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '57C76435' stored
[2018/01/03 15:42:07.767510,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x57c76435 (1472685109)
                  open_persistent_id       : 0x0000000057c76435 (1472685109)
                  open_volatile_id         : 0x0000000002779ec7 (41393863)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.768270, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 57C76435
[2018/01/03 15:42:07.768341,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.768409, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.768497, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x57c76435) stored
[2018/01/03 15:42:07.768565,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x02779ec7 (41393863)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x57c76435 (1472685109)
                          open_persistent_id       : 0x0000000057c76435 (1472685109)
                          open_volatile_id         : 0x0000000002779ec7 (41393863)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.769688,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 41393863 (1 used)
[2018/01/03 15:42:07.769769, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1/test3.txt hash 0xae361e13
[2018/01/03 15:42:07.769845,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1/test3.txt) returning 0744
[2018/01/03 15:42:07.769918, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test3.txt, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:42:07.770001, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test3.txt, after mapping access_mask=0x80
[2018/01/03 15:42:07.770071,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:42:07.770142, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1/test3.txt
[2018/01/03 15:42:07.770273, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.770363, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.770443, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.770524, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.770602, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.770677, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.770757, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.770922, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.771004, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.771071, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.771150, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1/test3.txt requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.771224,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:1404(open_file)
  chris opened file noperms/test1/test3.txt read=No write=No (numopen=1)
[2018/01/03 15:42:07.771297,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.771367, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.771448, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004601
[2018/01/03 15:42:07.771533, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46550
[2018/01/03 15:42:07.771617, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.771734,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/smbd/oplock.c:88(set_file_oplock)
  set_file_oplock: granted oplock on file noperms/test1/test3.txt, 3b:146:0/3673523907, tv_sec = 5a4d5c3f, tv_usec = bb414
[2018/01/03 15:42:07.771819, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.771885, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2273(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file noperms/test1/test3.txt
[2018/01/03 15:42:07.771957, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.772023,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x54a38a0437777ee3 (6098870071104863971)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test3.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000086 (134)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.766996
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000146 (326)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000daf586c3 (3673523907)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0xae361e13 (2922782227)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:14 AM 2018 MST.709321232
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000146 (326)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.773223, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test3.txt seq 0x6098870071104863971 key 3b:146:0
[2018/01/03 15:42:07.773349,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.773419, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.773511, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004601
[2018/01/03 15:42:07.773577, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1/test3.txt seq 0x6098870071104863972 key 3b:146:0
[2018/01/03 15:42:07.773653, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.773721, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.773786, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.773851,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test3.txt
[2018/01/03 15:42:07.773922,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.774023,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.774092, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1/test3.txt - fnum 41393863
[2018/01/03 15:42:07.774179, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.774253, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/135/512
[2018/01/03 15:42:07.777838, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.777980, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 135 (position 135) from bitmap
[2018/01/03 15:42:07.778050, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 135
[2018/01/03 15:42:07.778129,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.778206, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 135, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.778278, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1/test3.txt - fnum 41393863
[2018/01/03 15:42:07.778394, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1/test3.txt seq 0x6098870071104863972 key 3b:146:0
[2018/01/03 15:42:07.778470, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xae361e13
[2018/01/03 15:42:07.778580,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1/test3.txt (fnum 41393863) level=65298 max_data=65535
[2018/01/03 15:42:07.778657,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test3.txt
[2018/01/03 15:42:07.778723,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.778815,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.778889, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:42:07.778967, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:148] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:42:07.779039, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/136/512
[2018/01/03 15:42:07.782191, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.782330, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 136 (position 136) from bitmap
[2018/01/03 15:42:07.782396, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 136
[2018/01/03 15:42:07.782466,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.782602, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1/test3.txt - fnum 41393863
[2018/01/03 15:42:07.782683,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.782746, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.782819, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004601
[2018/01/03 15:42:07.782886, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45180
[2018/01/03 15:42:07.782955, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:146:0
[2018/01/03 15:42:07.783048, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:07.783107,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x54a38a0437777ee4 (6098870071104863972)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test3.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000086 (134)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.766996
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000146 (326)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000daf586c3 (3673523907)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0xae361e13 (2922782227)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:14 AM 2018 MST.709321232
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000146 (326)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.783964, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0xae361e13
[2018/01/03 15:42:07.784028, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.784071,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x54a38a0437777ee4 (6098870071104863972)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test3.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:14 AM 2018 MST.709321232
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000146 (326)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.784452, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test3.txt seq 0x6098870071104863972 key 3b:146:0
[2018/01/03 15:42:07.784508, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.784556,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.784599, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.784648, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004601
[2018/01/03 15:42:07.784700,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/close.c:789(close_normal_file)
  chris closed file noperms/test1/test3.txt (numopen=0) NT_STATUS_OK
[2018/01/03 15:42:07.784749,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.784793, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.784841, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 57C76435
[2018/01/03 15:42:07.784887, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.784948, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 57C76435
[2018/01/03 15:42:07.784991,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.785034, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.785085,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 41393863 (0 used)
[2018/01/03 15:42:07.785157, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.785205, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/137/512
[2018/01/03 15:42:07.788994, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.789170, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 137 (position 137) from bitmap
[2018/01/03 15:42:07.789217, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 137
[2018/01/03 15:42:07.789270,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.789338, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1\test4.txt]
[2018/01/03 15:42:07.789385, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.789431,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1/test4.txt"
[2018/01/03 15:42:07.789516, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:245(stat_cache_lookup)
  stat_cache_lookup: lookup failed for name [NOPERMS/TEST1/TEST4.TXT]
[2018/01/03 15:42:07.789581, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.789661,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = noperms/test1/test4.txt, dirpath = noperms/test1, start = test4.txt
[2018/01/03 15:42:07.789742,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:144(stat_cache_add)
  stat_cache_add: Added entry (559430b39800:size 17) NOPERMS/TEST1/TEST4.TXT -> noperms/test1/test4.txt
[2018/01/03 15:42:07.789814,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:685(unix_convert)
  conversion of base_name finished noperms/test1/test4.txt -> noperms/test1/test4.txt
[2018/01/03 15:42:07.789878, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1/test4.txt] [/srv/scratch]
[2018/01/03 15:42:07.789977, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1/test4.txt] -> [/srv/scratch/noperms/test1/test4.txt]
[2018/01/03 15:42:07.790041,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1/test4.txt reduced to /srv/scratch/noperms/test1/test4.txt
[2018/01/03 15:42:07.790107, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test4.txt
[2018/01/03 15:42:07.790181, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1/test4.txt
[2018/01/03 15:42:07.790309,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.790377, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.790449, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 90683F69
[2018/01/03 15:42:07.790531, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.790596, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.790704, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '90683F69' stored
[2018/01/03 15:42:07.790775,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x90683f69 (2422751081)
                  open_persistent_id       : 0x0000000090683f69 (2422751081)
                  open_volatile_id         : 0x00000000c3e05dde (3286261214)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.791457, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 90683F69
[2018/01/03 15:42:07.791542,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.791606, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.791675, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x90683f69) stored
[2018/01/03 15:42:07.791739,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0xc3e05dde (3286261214)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x90683f69 (2422751081)
                          open_persistent_id       : 0x0000000090683f69 (2422751081)
                          open_volatile_id         : 0x00000000c3e05dde (3286261214)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.792776,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 3286261214 (1 used)
[2018/01/03 15:42:07.792851, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1/test4.txt hash 0x58a5dd71
[2018/01/03 15:42:07.792923,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1/test4.txt) returning 0744
[2018/01/03 15:42:07.792991, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test4.txt, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:42:07.793070, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1/test4.txt, after mapping access_mask=0x80
[2018/01/03 15:42:07.793135,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:42:07.793202, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1/test4.txt
[2018/01/03 15:42:07.793345, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.793431, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.793520, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.793583, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.793654, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.793724, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.793798, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.793947, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.794012, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.794074, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1e01ff
[2018/01/03 15:42:07.794149, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1/test4.txt requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.794217,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:1404(open_file)
  chris opened file noperms/test1/test4.txt read=No write=No (numopen=1)
[2018/01/03 15:42:07.794286,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.794353, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.794428, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004701
[2018/01/03 15:42:07.794510, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4eac0
[2018/01/03 15:42:07.794587, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.794691,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/smbd/oplock.c:88(set_file_oplock)
  set_file_oplock: granted oplock on file noperms/test1/test4.txt, 3b:147:0/3188583474, tv_sec = 5a4d5c3f, tv_usec = c0f18
[2018/01/03 15:42:07.794797, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/brlock.c:2050(brl_get_locks_readonly)
  seqnum=0, fsp->brlock_seqnum=0
[2018/01/03 15:42:07.794861, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2273(grant_fsp_oplock_type)
  grant_fsp_oplock_type: oplock type 0x0 on file noperms/test1/test4.txt
[2018/01/03 15:42:07.794929, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.794993,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xfe06ed70a262d5b8 (-142165270199085640)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test4.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000089 (137)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.790296
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000147 (327)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000be0dec32 (3188583474)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x58a5dd71 (1487265137)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:17 AM 2018 MST.566384817
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000147 (327)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.796121, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test4.txt seq 0x18304578803510465976 key 3b:147:0
[2018/01/03 15:42:07.796240,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.796309, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.796381, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004701
[2018/01/03 15:42:07.796470, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1/test4.txt seq 0x18304578803510465977 key 3b:147:0
[2018/01/03 15:42:07.796558, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.796624, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.796687, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.796752,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test4.txt
[2018/01/03 15:42:07.796820,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.796915,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.796982, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1/test4.txt - fnum 3286261214
[2018/01/03 15:42:07.797064, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.797136, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/138/512
[2018/01/03 15:42:07.800609, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.800750, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 138 (position 138) from bitmap
[2018/01/03 15:42:07.800818, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 138
[2018/01/03 15:42:07.800894,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.800968, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 138, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.801037, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1/test4.txt - fnum 3286261214
[2018/01/03 15:42:07.801152, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1/test4.txt seq 0x18304578803510465977 key 3b:147:0
[2018/01/03 15:42:07.801229, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x58a5dd71
[2018/01/03 15:42:07.801299,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1/test4.txt (fnum 3286261214) level=65298 max_data=65535
[2018/01/03 15:42:07.801368,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1/test4.txt
[2018/01/03 15:42:07.801507,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x20): "a"
[2018/01/03 15:42:07.801607,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x20): "a"
[2018/01/03 15:42:07.801680, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:42:07.801739, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:148] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:42:07.801788, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/139/512
[2018/01/03 15:42:07.805041, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.805198, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 139 (position 139) from bitmap
[2018/01/03 15:42:07.805263, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 139
[2018/01/03 15:42:07.805334,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.805410, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1/test4.txt - fnum 3286261214
[2018/01/03 15:42:07.805511,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.805572, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.805626, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004701
[2018/01/03 15:42:07.805675, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6f0
[2018/01/03 15:42:07.805723, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:147:0
[2018/01/03 15:42:07.805795, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:07.805838,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xfe06ed70a262d5b9 (-142165270199085639)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test4.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x0000000000000089 (137)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.790296
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000147 (327)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000be0dec32 (3188583474)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x58a5dd71 (1487265137)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:17 AM 2018 MST.566384817
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000147 (327)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.806675, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x58a5dd71
[2018/01/03 15:42:07.806724, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.806767,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xfe06ed70a262d5b9 (-142165270199085639)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1/test4.txt'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Jan  3 11:59:17 AM 2018 MST.566384817
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000147 (327)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.807147, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1/test4.txt seq 0x18304578803510465977 key 3b:147:0
[2018/01/03 15:42:07.807195, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.807243,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.807286, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.807352, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004701
[2018/01/03 15:42:07.807405,  2, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/close.c:789(close_normal_file)
  chris closed file noperms/test1/test4.txt (numopen=0) NT_STATUS_OK
[2018/01/03 15:42:07.807454,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.807509, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.807557, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 90683F69
[2018/01/03 15:42:07.807604, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.807666, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 90683F69
[2018/01/03 15:42:07.807710,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.807754, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.807805,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 3286261214 (0 used)
[2018/01/03 15:42:07.807859, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.807907, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/140/512
[2018/01/03 15:42:07.815797, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.815948, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 140 (position 140) from bitmap
[2018/01/03 15:42:07.816027, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 140
[2018/01/03 15:42:07.816111,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.816205, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1]
[2018/01/03 15:42:07.816281, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.816356,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1"
[2018/01/03 15:42:07.816440, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.816568, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1] [/srv/scratch]
[2018/01/03 15:42:07.816716, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:07.816786,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1 reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:07.816861, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.816943, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x80 file_attributes = 0x0, share_access = 0x7, create_disposition = 0x1 create_options = 0x0 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.817042,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.817114, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.817195, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 14E51B69
[2018/01/03 15:42:07.817272, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.817346, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.817462, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '14E51B69' stored
[2018/01/03 15:42:07.817556,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x14e51b69 (350559081)
                  open_persistent_id       : 0x0000000014e51b69 (350559081)
                  open_volatile_id         : 0x000000006ebce685 (1857873541)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.818356, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 14E51B69
[2018/01/03 15:42:07.818431,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.818522, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.818596, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x14e51b69) stored
[2018/01/03 15:42:07.818667,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x6ebce685 (1857873541)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x14e51b69 (350559081)
                          open_persistent_id       : 0x0000000014e51b69 (350559081)
                          open_volatile_id         : 0x000000006ebce685 (1857873541)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.819800,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 1857873541 (1 used)
[2018/01/03 15:42:07.819884, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:07.819966,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:206(unix_mode)
  unix_mode: unix_mode(noperms/test1) returning 0744
[2018/01/03 15:42:07.820041, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:2995(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, dos_attrs=0x0 access_mask=0x80 share_access=0x7 create_disposition = 0x1 create_options=0x0 unix mode=0744 oplock_request=0 private_flags = 0x0
[2018/01/03 15:42:07.820156, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3165(open_file_ntcreate)
  open_file_ntcreate: fname=noperms/test1, after mapping access_mask=0x80
[2018/01/03 15:42:07.820231,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3254(open_file_ntcreate)
  calling open_file with flags=0x0 flags2=0x0 mode=0744, access_mask = 0x80, open_access_mask = 0x80
[2018/01/03 15:42:07.820306, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:07.820454, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.820562, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.820645, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.820716, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.820798, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.820877, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.820963, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.821130, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.821204, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.821275, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.821360, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.821442,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.821530, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.821610, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 14E51B69
[2018/01/03 15:42:07.821708, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.821806, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 14E51B69
[2018/01/03 15:42:07.821876,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.821947, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.822026,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 1857873541 (0 used)
[2018/01/03 15:42:07.822098,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test1, access_mask = 0x80, share_access = 0x7 create_options = 0x0, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:42:07.822178, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:07.822295, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.822381, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.822458, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.822540, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.822620, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.822698, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.822779, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.822943, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.823014, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.823083, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.823165, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x80 returning 0x0 (NT_STATUS_OK)
[2018/01/03 15:42:07.823274,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.823343, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.823420, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 8525D9B5
[2018/01/03 15:42:07.823507, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.823578, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.823693, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key '8525D9B5' stored
[2018/01/03 15:42:07.823741,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0x8525d9b5 (2233850293)
                  open_persistent_id       : 0x000000008525d9b5 (2233850293)
                  open_volatile_id         : 0x0000000099deec38 (2581523512)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.824193, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 8525D9B5
[2018/01/03 15:42:07.824238,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.824282, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.824327, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0x8525d9b5) stored
[2018/01/03 15:42:07.824369,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x99deec38 (2581523512)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0x8525d9b5 (2233850293)
                          open_persistent_id       : 0x000000008525d9b5 (2233850293)
                          open_volatile_id         : 0x0000000099deec38 (2581523512)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.825106,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2581523512 (1 used)
[2018/01/03 15:42:07.825156, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:07.825200, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:4154(open_directory)
  Not opening Directory noperms/test1
[2018/01/03 15:42:07.825252,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.825296, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.825347, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.825395, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b501f0
[2018/01/03 15:42:07.825450, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.825502,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x33324d17af997d76 (3689095808895516022)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000008c (140)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.823264
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000921ca63e (2451351102)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.826278, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x3689095808895516022 key 3b:148:0
[2018/01/03 15:42:07.826354,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.826398, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.826448, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.826502, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1 seq 0x3689095808895516023 key 3b:148:0
[2018/01/03 15:42:07.826552, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.826596, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.826638, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.826681,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:07.826727,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.826818,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.826864, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1 - fnum 2581523512
[2018/01/03 15:42:07.826920, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.826968, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/141/512
[2018/01/03 15:42:07.830851, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.830989, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 141 (position 141) from bitmap
[2018/01/03 15:42:07.831054, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_GETINFO] mid = 141
[2018/01/03 15:42:07.831126,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.831194, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:1964(smbd_smb2_request_verify_creditcharge)
  mid 141, CreditCharge: 1, NeededCharge: 1
[2018/01/03 15:42:07.831263, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_getinfo.c:272(smbd_smb2_getinfo_send)
  smbd_smb2_getinfo_send: noperms/test1 - fnum 2581523512
[2018/01/03 15:42:07.831368, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1 seq 0x3689095808895516023 key 3b:148:0
[2018/01/03 15:42:07.831436, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:07.831522,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:4881(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: noperms/test1 (fnum 2581523512) level=65298 max_data=65535
[2018/01/03 15:42:07.831569,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:07.831618,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.831698,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.831750, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/trans2.c:5265(smbd_do_qfilepathinfo)
  smbd_do_qfilepathinfo: SMB2_FILE_ALL_INFORMATION
[2018/01/03 15:42:07.831809, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[8] dyn[yes:128] at ../source3/smbd/smb2_getinfo.c:201
[2018/01/03 15:42:07.831857, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/142/512
[2018/01/03 15:42:07.835069, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.835209, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 142 (position 142) from bitmap
[2018/01/03 15:42:07.835275, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 142
[2018/01/03 15:42:07.835347,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.835424, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1 - fnum 2581523512
[2018/01/03 15:42:07.835525,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.835590, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.835663, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.835730, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b45170
[2018/01/03 15:42:07.835797, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:235(share_mode_memcache_fetch)
  failed to find entry for key 3b:148:0
[2018/01/03 15:42:07.835884, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:348(parse_share_modes)
  parse_share_modes:
[2018/01/03 15:42:07.835928,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x33324d17af997d77 (3689095808895516023)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000008c (140)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00000080 (128)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.823264
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x00000000921ca63e (2451351102)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x00 (0)
          record                   : NULL
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.836846, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:07.836907, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.836962,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0x33324d17af997d77 (3689095808895516023)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.837451, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x3689095808895516023 key 3b:148:0
[2018/01/03 15:42:07.837526, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.837586,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.837642, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.837705, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.837766,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.837823, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.837884, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 8525D9B5
[2018/01/03 15:42:07.837943, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.838020, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 8525D9B5
[2018/01/03 15:42:07.838097,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.838153, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.838217,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2581523512 (0 used)
[2018/01/03 15:42:07.838283, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.838345, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/143/512
[2018/01/03 15:42:07.842033, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.842171, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 143 (position 143) from bitmap
[2018/01/03 15:42:07.842236, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] mid = 143
[2018/01/03 15:42:07.842308,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.842393, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:500(smbd_smb2_create_send)
  smbd_smb2_create: name[noperms\test1]
[2018/01/03 15:42:07.842456, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1004(smbd_smb2_create_send)
  smbd_smb2_create_send: open execution phase
[2018/01/03 15:42:07.842539,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "noperms/test1"
[2018/01/03 15:42:07.842611, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/statcache.c:284(stat_cache_lookup)
  stat_cache_lookup: lookup succeeded for name [NOPERMS/TEST1] -> [noperms/test1]
[2018/01/03 15:42:07.842691, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [noperms/test1] [/srv/scratch]
[2018/01/03 15:42:07.842780, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [noperms/test1] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:07.842841,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: noperms/test1 reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:07.842904, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5543(create_file_default)
  create_file: access_mask = 0x10000 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1001 oplock_request = 0x0 private_flags = 0x0 root_dir_fid = 0x0, ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.842976, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5018(create_file_unixpath)
  create_file_unixpath: access_mask = 0x10000 file_attributes = 0x10, share_access = 0x7, create_disposition = 0x1 create_options = 0x1001 oplock_request = 0x0 private_flags = 0x0 ea_list = 0x(nil), sd = 0x(nil), fname = noperms/test1
[2018/01/03 15:42:07.843047,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:3946(open_directory)
  open_directory: opening directory noperms/test1, access_mask = 0x10000, share_access = 0x7 create_options = 0x1001, create_disposition = 0x1, file_attributes = 0x10
[2018/01/03 15:42:07.843160, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:3564(posix_get_nt_acl)
  posix_get_nt_acl: called for file noperms/test1
[2018/01/03 15:42:07.843281, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1286(uid_to_sid)
  uid 1000 -> sid S-1-5-21-261696024-2635901569-2695960132-1000
[2018/01/03 15:42:07.843355, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/passdb/lookup_sid.c:1335(gid_to_sid)
  gid 1000 -> sid S-1-22-2-1000
[2018/01/03 15:42:07.843419, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2726(canonicalise_acl)
  canonicalise_acl: Access ace entries before arrange :
[2018/01/03 15:42:07.843495, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.843560, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.843623, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:2739(canonicalise_acl)
  canon_ace index 2. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.843690, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:847(print_canon_ace_list)
  print_canon_ace_list: canonicalise_acl: ace entries after arrange
  canon_ace index 0. Type = allow SID = S-1-5-21-261696024-2635901569-2695960132-1000 uid 1000 SMB_ACL_USER_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 1. Type = allow SID = S-1-22-2-1000 gid 1000 SMB_ACL_GROUP_OBJ ace_flags = 0x0 perms rwx
  canon_ace index 2. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER ace_flags = 0x0 perms rwx
[2018/01/03 15:42:07.843824, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.843881, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.843937, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=acls] ../source3/smbd/posix_acls.c:1111(map_canon_ace_perms)
  map_canon_ace_perms: Mapped (UNIX) 1c0 to (NT) 1f01ff
[2018/01/03 15:42:07.844007, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:183(smbd_check_access_rights)
  smbd_check_access_rights: file noperms/test1 requesting 0x10000 returning 0x10000 (NT_STATUS_OK)
[2018/01/03 15:42:07.844081,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.844140, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.844203, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key ED6E713E
[2018/01/03 15:42:07.844263, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b46f10
[2018/01/03 15:42:07.844321, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:625(smbXsrv_open_global_verify_record)
  smbXsrv_open_global_verify_record: empty value
[2018/01/03 15:42:07.844437, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:744(smbXsrv_open_global_store)
  smbXsrv_open_global_store: key 'ED6E713E' stored
[2018/01/03 15:42:07.844513,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &global_blob: struct smbXsrv_open_globalB
          version                  : SMBXSRV_VERSION_0 (0)
          seqnum                   : 0x00000001 (1)
          info                     : union smbXsrv_open_globalU(case 0)
          info0                    : *
              info0: struct smbXsrv_open_global0
                  db_rec                   : *
                  server_id: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  open_global_id           : 0xed6e713e (3983438142)
                  open_persistent_id       : 0x00000000ed6e713e (3983438142)
                  open_volatile_id         : 0x000000008be72a40 (2347182656)
                  open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                  open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  create_guid              : 00000000-0000-0000-0000-000000000000
                  client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                  app_instance_id          : 00000000-0000-0000-0000-000000000000
                  disconnect_time          : NTTIME(0)
                  durable_timeout_msec     : 0x00000000 (0)
                  durable                  : 0x00 (0)
                  backend_cookie           : DATA_BLOB length=0
                  channel_sequence         : 0x0000000000000000 (0)
[2018/01/03 15:42:07.845111, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key ED6E713E
[2018/01/03 15:42:07.845170,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.845226, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.845284, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smbXsrv_open.c:911(smbXsrv_open_create)
  smbXsrv_open_create: global_id (0xed6e713e) stored
[2018/01/03 15:42:07.845339,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       &open_blob: struct smbXsrv_openB
          version                  : SMBXSRV_VERSION_0 (0)
          reserved                 : 0x00000000 (0)
          info                     : union smbXsrv_openU(case 0)
          info0                    : *
              info0: struct smbXsrv_open
                  table                    : *
                  db_rec                   : NULL
                  local_id                 : 0x8be72a40 (2347182656)
                  global                   : *
                      global: struct smbXsrv_open_global0
                          db_rec                   : NULL
                          server_id: struct server_id
                              pid                      : 0x00000000000025c1 (9665)
                              task_id                  : 0x00000000 (0)
                              vnn                      : 0xffffffff (4294967295)
                              unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                          open_global_id           : 0xed6e713e (3983438142)
                          open_persistent_id       : 0x00000000ed6e713e (3983438142)
                          open_volatile_id         : 0x000000008be72a40 (2347182656)
                          open_owner               : S-1-5-21-261696024-2635901569-2695960132-1000
                          open_time                : Wed Jan  3 03:42:08 PM 2018 MST
                          create_guid              : 00000000-0000-0000-0000-000000000000
                          client_guid              : 97e7db98-6ced-4b52-a23a-c3e15b105623
                          app_instance_id          : 00000000-0000-0000-0000-000000000000
                          disconnect_time          : NTTIME(0)
                          durable_timeout_msec     : 0x00000000 (0)
                          durable                  : 0x00 (0)
                          backend_cookie           : DATA_BLOB length=0
                          channel_sequence         : 0x0000000000000000 (0)
                  status                   : NT_STATUS_OK
                  idle_time                : Wed Jan  3 03:42:08 PM 2018 MST
                  compat                   : NULL
                  flags                    : 0x00 (0)
                         0: SMBXSRV_OPEN_NEED_REPLAY_CACHE
                         0: SMBXSRV_OPEN_HAVE_REPLAY_CACHE
                  create_action            : 0x00000000 (0)
                  request_count            : 0x0000000000000000 (0)
                  pre_request_count        : 0x0000000000000000 (0)
[2018/01/03 15:42:07.846262,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:128(file_new)
  allocated file structure fnum 2347182656 (1 used)
[2018/01/03 15:42:07.846328, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:754(file_name_hash)
  file_name_hash: /srv/scratch/noperms/test1 hash 0x85db6316
[2018/01/03 15:42:07.846407,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to noperms/test1
[2018/01/03 15:42:07.846496,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch/noperms/test1
[2018/01/03 15:42:07.846551, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:42:07.846620, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:07.846676,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:07.846751,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /srv/scratch
[2018/01/03 15:42:07.846824,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch
[2018/01/03 15:42:07.846878, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:767(fd_open)
  fd_open: name noperms/test1, flags = 0200000 mode = 00, fd = 34. 
[2018/01/03 15:42:07.846942,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.846998, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.847063, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.847122, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b569a0
[2018/01/03 15:42:07.847207,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to noperms/test1
[2018/01/03 15:42:07.847279,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch/noperms/test1
[2018/01/03 15:42:07.847356, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1283(check_reduced_name)
  check_reduced_name: check_reduced_name [.] [/srv/scratch]
[2018/01/03 15:42:07.847419, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1347(check_reduced_name)
  check_reduced_name realpath [.] -> [/srv/scratch/noperms/test1]
[2018/01/03 15:42:07.847488,  5, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:1458(check_reduced_name)
  check_reduced_name: . reduced to /srv/scratch/noperms/test1
[2018/01/03 15:42:07.847564,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:888(vfs_ChDir)
  vfs_ChDir to /srv/scratch
[2018/01/03 15:42:07.847624,  4, pid=9665, effective(1000, 1000), real(1000, 0), class=vfs] ../source3/smbd/vfs.c:946(vfs_ChDir)
  vfs_ChDir got /srv/scratch
[2018/01/03 15:42:07.847704, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dir.c:2156(can_delete_directory_fsp)
  got name test1.txt - can't delete
[2018/01/03 15:42:07.847757, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.847802,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xe48dcf812ecc4f08 (-1977696507602907384)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000001 (1)
          share_modes: ARRAY(1)
              share_modes: struct share_mode_entry
                  pid: struct server_id
                      pid                      : 0x00000000000025c1 (9665)
                      task_id                  : 0x00000000 (0)
                      vnn                      : 0xffffffff (4294967295)
                      unique_id                : 0x92b694682e4463b8 (-7874943723236990024)
                  op_mid                   : 0x000000000000008f (143)
                  op_type                  : 0x0000 (0)
                  lease_idx                : 0xffffffff (4294967295)
                  access_mask              : 0x00010080 (65664)
                  share_access             : 0x00000007 (7)
                  private_options          : 0x00000000 (0)
                  time                     : Wed Jan  3 03:42:07 PM 2018 MST.844068
                  id: struct file_id
                      devid                    : 0x000000000000003b (59)
                      inode                    : 0x0000000000000148 (328)
                      extid                    : 0x0000000000000000 (0)
                  share_file_id            : 0x0000000098b30a82 (2561870466)
                  uid                      : 0x000003e8 (1000)
                  flags                    : 0x0000 (0)
                  name_hash                : 0x85db6316 (2245747478)
                  stale                    : 0x00 (0)
                  lease                    : NULL
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x01 (1)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.848634, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x16469047566106644232 key 3b:148:0
[2018/01/03 15:42:07.848712,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.848758, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.848811, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.848857, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:171(share_mode_memcache_store)
  stored entry for file noperms/test1 seq 0x16469047566106644233 key 3b:148:0
[2018/01/03 15:42:07.848909, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5352(create_file_unixpath)
  create_file_unixpath: info=1
[2018/01/03 15:42:07.848954, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/open.c:5631(create_file_default)
  create_file: info=1
[2018/01/03 15:42:07.848997, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1194(smbd_smb2_create_send)
  smbd_smb2_create_send: response construction phase
[2018/01/03 15:42:07.849043,  8, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:667(dos_mode)
  dos_mode: noperms/test1
[2018/01/03 15:42:07.849092,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode_from_sbuf returning (0x10): "d"
[2018/01/03 15:42:07.849159,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/dosmode.c:70(dos_mode_debug_print)
  dos_mode_debug_print: dos_mode returning (0x10): "d"
[2018/01/03 15:42:07.849207, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_create.c:1401(smbd_smb2_create_send)
  smbd_smb2_create_send: noperms/test1 - fnum 2347182656
[2018/01/03 15:42:07.849266, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[88] dyn[yes:0] at ../source3/smbd/smb2_create.c:364
[2018/01/03 15:42:07.849316, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/144/512
[2018/01/03 15:42:07.856093, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3883(smbd_smb2_io_handler)
  smbd_smb2_request idx[1] of 5 vectors
[2018/01/03 15:42:07.856247, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:671(smb2_validate_sequence_number)
  smb2_validate_sequence_number: clearing id 144 (position 144) from bitmap
[2018/01/03 15:42:07.856314, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:2279(smbd_smb2_request_dispatch)
  smbd_smb2_request_dispatch: opcode[SMB2_OP_CLOSE] mid = 144
[2018/01/03 15:42:07.856387,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/uid.c:384(change_to_user)
  Skipping user change - already user
[2018/01/03 15:42:07.856463, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_close.c:227(smbd_smb2_close)
  smbd_smb2_close: noperms/test1 - fnum 2347182656
[2018/01/03 15:42:07.856558,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.856627, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/locking.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.856719, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key 3B000000000000004801
[2018/01/03 15:42:07.856771, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b4d6e0
[2018/01/03 15:42:07.856826, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:285(share_mode_memcache_fetch)
  fetched entry for file noperms/test1 seq 0x16469047566106644233 key 3b:148:0
[2018/01/03 15:42:07.856877, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/locking.c:1226(find_delete_on_close_token)
  find_delete_on_close_token: name_hash = 0x85db6316
[2018/01/03 15:42:07.856925, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:368(unparse_share_modes)
  unparse_share_modes:
[2018/01/03 15:42:07.856970,  1, pid=9665, effective(1000, 1000), real(1000, 0)] ../librpc/ndr/ndr.c:419(ndr_print_debug)
       d: struct share_mode_data
          sequence_number          : 0xe48dcf812ecc4f09 (-1977696507602907383)
          servicepath              : *
              servicepath              : '/srv/scratch'
          base_name                : *
              base_name                : 'noperms/test1'
          stream_name              : NULL
          num_share_modes          : 0x00000000 (0)
          share_modes: ARRAY(0)
          num_leases               : 0x00000000 (0)
          leases: ARRAY(0)
          num_delete_tokens        : 0x00000000 (0)
          delete_tokens: ARRAY(0)
          old_write_time           : Wed Dec 31 05:00:00 PM 1969 MST.0
          changed_write_time       : Wed Dec 31 05:00:00 PM 1969 MST.0
          fresh                    : 0x00 (0)
          modified                 : 0x01 (1)
          record                   : *
          id: struct file_id
              devid                    : 0x000000000000003b (59)
              inode                    : 0x0000000000000148 (328)
              extid                    : 0x0000000000000000 (0)
[2018/01/03 15:42:07.857376, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:157(share_mode_memcache_delete)
  deleting entry for file noperms/test1 seq 0x16469047566106644233 key 3b:148:0
[2018/01/03 15:42:07.857425, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/share_mode_lock.c:380(unparse_share_modes)
  No used share mode found
[2018/01/03 15:42:07.857492,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/locking.tdb
[2018/01/03 15:42:07.857537, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.857589, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key 3B000000000000004801
[2018/01/03 15:42:07.857643, 10, pid=9665, effective(1000, 1000), real(1000, 0), class=locking] ../source3/locking/posix.c:499(delete_lock_ref_count)
  delete_lock_ref_count for file noperms/test1
[2018/01/03 15:42:07.857699,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
  check lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.857745, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:/var/lib/samba/lock/smbXsrv_open_global.tdb 2:<none> 3:<none>
[2018/01/03 15:42:07.857795, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Locking key ED6E713E
[2018/01/03 15:42:07.857842, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
  Allocated locked data 0x0x559430b06b70
[2018/01/03 15:42:07.857922, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
  Unlocking key ED6E713E
[2018/01/03 15:42:07.857969,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
  release lock order 1 for /var/lib/samba/lock/smbXsrv_open_global.tdb
[2018/01/03 15:42:07.858014, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../lib/dbwrap/dbwrap.c:115(debug_lock_order)
  lock order:  1:<none> 2:<none> 3:<none>
[2018/01/03 15:42:07.858067,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/files.c:563(file_free)
  freed files structure 2347182656 (0 used)
[2018/01/03 15:42:07.858122, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:3011(smbd_smb2_request_done_ex)
  smbd_smb2_request_done_ex: idx[1] status[NT_STATUS_OK] body[60] dyn[no:0] at ../source3/smbd/smb2_close.c:144
[2018/01/03 15:42:07.858173, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/smb2_server.c:923(smb2_set_operation_credit)
  smb2_set_operation_credit: requested 7681, charge 1, granted 1, current possible/max 1/512, total granted/max/low/range 512/8192/145/512
[2018/01/03 15:42:40.440591, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:42(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) called
[2018/01/03 15:42:40.440867, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:53(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(deadtime) (nil) rescheduled
[2018/01/03 15:42:40.441097, 10, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/lib/util_event.c:42(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) called
[2018/01/03 15:42:40.441288,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/process.c:2897(housekeeping_fn)
  housekeeping
[2018/01/03 15:42:40.441515,  4, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/01/03 15:42:40.441713,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2018/01/03 15:42:40.441899,  5, pid=9665, effective(1000, 1000), real(1000, 0)] ../source3/auth/token_util.c:651(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2018/01/03 15:42:40.442207,  5, pid=9665, effective(0, 0), real(0, 0)] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/01/03 15:42:40.442425, 10, pid=9665, effective(0, 0), real(0, 0)] ../source3/lib/util_event.c:53(smbd_idle_event_handler)
  smbd_idle_event_handler: idle_evt(housekeeping) (nil) rescheduled
[chris@f27s ~]$ 
[chris@f27s ~]$ sudo vi /etc/samba/smb.conf
[sudo] password for chris: 
[chris@f27s ~]$ 

