smb: g_vfs_backend_smb_init: default workgroup = 'mev'
smb: Added new job source 0x55614c72d130 (GVfsBackendSmb)
smb: Queued new job 0x55614c72e9d0 (GVfsJobMount)
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
Using netbios name IAN-DEB.
Using workgroup mev.
smb: do_mount - URI = smb://phoenix.inside.mev.co.uk/company
smb: do_mount - try #0 
smbc_stat(smb://phoenix.inside.mev.co.uk/company)
smb: auth_callback - kerberos pass
smb: auth_callback - out: last_user = 'abbotti', last_domain = 'mev'
SMBC_server: server_n=[phoenix.inside.mev.co.uk] server=[phoenix.inside.mev.co.uk]
 -> server_n=[phoenix.inside.mev.co.uk] server=[phoenix.inside.mev.co.uk]
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
sitename_fetch: No stored sitename for realm ''
internal_resolve_name: looking up phoenix.inside.mev.co.uk#20 (sitename (null))
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
no entry for phoenix.inside.mev.co.uk#20 found.
resolve_hosts: Attempting host lookup for name phoenix.inside.mev.co.uk<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for phoenix.inside.mev.co.uk#20: 10.0.0.1
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
internal_resolve_name: returning 1 addresses: 10.0.0.1:0 
Connecting to 10.0.0.1 at port 445
Socket options:
	SO_KEEPALIVE = 0
	SO_REUSEADDR = 0
	SO_BROADCAST = 0
	TCP_NODELAY = 1
	TCP_KEEPCNT = 9
	TCP_KEEPIDLE = 7200
	TCP_KEEPINTVL = 75
	IPTOS_LOWDELAY = 0
	IPTOS_THROUGHPUT = 0
	SO_REUSEPORT = 0
	SO_SNDBUF = 87040
	SO_RCVBUF = 372480
	SO_SNDLOWAT = 1
	SO_RCVLOWAT = 1
	SO_SNDTIMEO = 0
	SO_RCVTIMEO = 0
	TCP_QUICKACK = 1
	TCP_DEFER_ACCEPT = 0
got OID=1.3.6.1.4.1.311.2.2.30
got OID=1.3.6.1.4.1.311.2.2.10
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Starting GENSEC mechanism spnego
SPNEGO: Could not find a suitable mechtype in NEG_TOKEN_INIT
SPNEGO login failed: An invalid parameter was passed to a service or function.
smb: do_mount - [smb://phoenix.inside.mev.co.uk/company; 0] res = -1, cancelled = 0, errno = [1] 'Operation not permitted' 
smb: do_mount - after anon, enabling NTLMSSP fallback
smb: do_mount - try #1 
smbc_stat(smb://phoenix.inside.mev.co.uk/company)
smb: auth_callback - normal pass
smb: auth_callback - asking for password...
smb: auth_callback - out: last_user = 'abbotti', last_domain = 'mev'
SMBC_server: server_n=[phoenix.inside.mev.co.uk] server=[phoenix.inside.mev.co.uk]
 -> server_n=[phoenix.inside.mev.co.uk] server=[phoenix.inside.mev.co.uk]
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
sitename_fetch: No stored sitename for realm ''
internal_resolve_name: looking up phoenix.inside.mev.co.uk#20 (sitename (null))
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
no entry for phoenix.inside.mev.co.uk#20 found.
resolve_hosts: Attempting host lookup for name phoenix.inside.mev.co.uk<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for phoenix.inside.mev.co.uk#20: 10.0.0.1
Opening cache file at /var/cache/samba/gencache.tdb
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: No such file or directory
Attempt to open gencache.tdb has failed.
internal_resolve_name: returning 1 addresses: 10.0.0.1:0 
Connecting to 10.0.0.1 at port 445
Socket options:
	SO_KEEPALIVE = 0
	SO_REUSEADDR = 0
	SO_BROADCAST = 0
	TCP_NODELAY = 1
	TCP_KEEPCNT = 9
	TCP_KEEPIDLE = 7200
	TCP_KEEPINTVL = 75
	IPTOS_LOWDELAY = 0
	IPTOS_THROUGHPUT = 0
	SO_REUSEPORT = 0
	SO_SNDBUF = 87040
	SO_RCVBUF = 372480
	SO_SNDLOWAT = 1
	SO_RCVLOWAT = 1
	SO_SNDTIMEO = 0
	SO_RCVTIMEO = 0
	TCP_QUICKACK = 1
	TCP_DEFER_ACCEPT = 0
got OID=1.3.6.1.4.1.311.2.2.30
got OID=1.3.6.1.4.1.311.2.2.10
Starting GENSEC mechanism spnego
Starting GENSEC submechanism ntlmssp
     negotiate: struct NEGOTIATE_MESSAGE
        Signature                : 'NTLMSSP'
        MessageType              : NtLmNegotiate (1)
        NegotiateFlags           : 0x62088215 (1644724757)
               1: NTLMSSP_NEGOTIATE_UNICODE
               0: NTLMSSP_NEGOTIATE_OEM    
               1: NTLMSSP_REQUEST_TARGET   
               1: NTLMSSP_NEGOTIATE_SIGN   
               0: NTLMSSP_NEGOTIATE_SEAL   
               0: NTLMSSP_NEGOTIATE_DATAGRAM
               0: NTLMSSP_NEGOTIATE_LM_KEY 
               0: NTLMSSP_NEGOTIATE_NETWARE
               1: NTLMSSP_NEGOTIATE_NTLM   
               0: NTLMSSP_NEGOTIATE_NT_ONLY
               0: NTLMSSP_ANONYMOUS        
               0: NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
               0: NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
               0: NTLMSSP_NEGOTIATE_THIS_IS_LOCAL_CALL
               1: NTLMSSP_NEGOTIATE_ALWAYS_SIGN
               0: NTLMSSP_TARGET_TYPE_DOMAIN
               0: NTLMSSP_TARGET_TYPE_SERVER
               0: NTLMSSP_TARGET_TYPE_SHARE
               1: NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
               0: NTLMSSP_NEGOTIATE_IDENTIFY
               0: NTLMSSP_REQUEST_NON_NT_SESSION_KEY
               0: NTLMSSP_NEGOTIATE_TARGET_INFO
               1: NTLMSSP_NEGOTIATE_VERSION
               1: NTLMSSP_NEGOTIATE_128    
               1: NTLMSSP_NEGOTIATE_KEY_EXCH
               0: NTLMSSP_NEGOTIATE_56     
        DomainNameLen            : 0x0000 (0)
        DomainNameMaxLen         : 0x0000 (0)
        DomainName               : *
            DomainName               : ''
        WorkstationLen           : 0x0000 (0)
        WorkstationMaxLen        : 0x0000 (0)
        Workstation              : *
            Workstation              : ''
        Version: struct ntlmssp_VERSION
            ProductMajorVersion      : NTLMSSP_WINDOWS_MAJOR_VERSION_6 (6)
            ProductMinorVersion      : NTLMSSP_WINDOWS_MINOR_VERSION_1 (1)
            ProductBuild             : 0x0000 (0)
            Reserved: ARRAY(3)
                [0]                      : 0x00 (0)
                [1]                      : 0x00 (0)
                [2]                      : 0x00 (0)
            NTLMRevisionCurrent      : NTLMSSP_REVISION_W2K3 (15)
Got challenge flags:
Got NTLMSSP neg_flags=0x628a8215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_TARGET_TYPE_SERVER
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_TARGET_INFO
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62088215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
ntlmssp_check_packet: NTLMSSP signature OK !
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
  NTLMSSP_NEGOTIATE_VERSION
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
 session setup ok
signed SMB2 message
signed SMB2 message
signed SMB2 message
signed SMB2 message
 tconx ok
Case sensitive: True
Server connect ok: //phoenix.inside.mev.co.uk/company: 0x7f85c80267b0
SMBC_getatr: sending qpathinfo
smb: do_mount - [smb://phoenix.inside.mev.co.uk/company; 1] res = 0, cancelled = 0, errno = [17] 'File exists' 
smb: do_mount - login successful
smb: send_reply(0x55614c72e9d0), failed=0 ()
fuse(20720): vfs_getattr: /smb-share:server=phoenix.inside.mev.co.uk,share=company
smb: backend_dbus_handler org.gtk.vfs.Mount:QueryInfo (pid=20694)
smb: Queued new job 0x55614c71a230 (GVfsJobQueryInfo)
smbc_stat(smb://phoenix.inside.mev.co.uk/company)
SMBC_getatr: sending qpathinfo
smb: send_reply(0x55614c71a230), failed=0 ()
fuse(20720): vfs_getattr: -> Success
fuse(20720): vfs_getattr: /smb-share:server=phoenix.inside.mev.co.uk,share=company/foo.txt
smb: backend_dbus_handler org.gtk.vfs.Mount:QueryInfo (pid=20694)
smb: Queued new job 0x55614c71a370 (GVfsJobQueryInfo)
smbc_stat(smb://phoenix.inside.mev.co.uk/company/foo.txt)
SMBC_getatr: sending qpathinfo
map_errno_from_nt_status: 32 bit codes: code=c0000034
smbc errno NT_STATUS_OBJECT_NAME_NOT_FOUND -> 2
smb: send_reply(0x55614c71a370), failed=1 (No such file or directory)
fuse(20720): Error from GVFS: No such file or directory
fuse(20720): vfs_getattr: -> No such file or directory
fuse(20720): vfs_getattr: /smb-share:server=phoenix.inside.mev.co.uk,share=company/foo.txt
smb: backend_dbus_handler org.gtk.vfs.Mount:QueryInfo (pid=20694)
smb: Queued new job 0x55614c71a410 (GVfsJobQueryInfo)
smbc_stat(smb://phoenix.inside.mev.co.uk/company/foo.txt)
SMBC_getatr: sending qpathinfo
map_errno_from_nt_status: 32 bit codes: code=c0000034
smbc errno NT_STATUS_OBJECT_NAME_NOT_FOUND -> 2
smb: send_reply(0x55614c71a410), failed=1 (No such file or directory)
fuse(20720): Error from GVFS: No such file or directory
fuse(20720): vfs_getattr: -> No such file or directory
fuse(20720): vfs_create: /smb-share:server=phoenix.inside.mev.co.uk,share=company/foo.txt
smb: backend_dbus_handler org.gtk.vfs.Mount:QueryInfo (pid=20694)
smb: Queued new job 0x55614c71a4b0 (GVfsJobQueryInfo)
smbc_stat(smb://phoenix.inside.mev.co.uk/company/foo.txt)
SMBC_getatr: sending qpathinfo
map_errno_from_nt_status: 32 bit codes: code=c0000034
smbc errno NT_STATUS_OBJECT_NAME_NOT_FOUND -> 2
smb: send_reply(0x55614c71a4b0), failed=1 (No such file or directory)
smb: backend_dbus_handler org.gtk.vfs.Mount:OpenForWriteFlags (pid=20694)
smb: Queued new job 0x7f85cc00f650 (GVfsJobOpenForWrite)
map_open_params_to_ntcreate: fname = \foo.txt, deny_mode = 0x41, open_func = 0x10
map_open_params_to_ntcreate: file \foo.txt, access_mask = 0x120116, share_mode = 0x3, create_disposition = 0x2, create_options = 0x40 private_flags = 0x0
smb: send_reply(0x7f85cc00f650), failed=0 ()
smb: Added new job source 0x7f85c80288c0 (GVfsWriteChannel)
fuse(20720): file_handle_close_stream
fuse(20720): vfs_create: -> Success
fuse(20720): vfs_getattr: /smb-share:server=phoenix.inside.mev.co.uk,share=company/foo.txt
smb: Queued new job 0x7f85c8013500 (GVfsJobQueryInfoWrite)
fuse(20720): Error from GVFS: Invalid argument
fuse(20720): vfs_getattr: -> Invalid argument
fuse(20720): vfs_release: /smb-share:server=phoenix.inside.mev.co.uk,share=company/foo.txt
fuse(20720): file_handle_close_stream
smb: Queued new job 0x55614c7248d0 (GVfsJobCloseWrite)
smb: send_reply(0x55614c7248d0), failed=0 ()
fuse(20720): file_handle_close_stream
