You are not logged in.
I need to access DFS windows shares hosted on Windows machine.
I' was given credentials (password and username) and sharename.
It seem that host is indeed visible to smbclinet and credentials are valid.
I'm receving an error which due to my limited knoweledge I can't interpret:
smbclient <path> -U <myuser> -d 3
Gives
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[global]"
added interface enp5s0 ip=10.1.15.215 bcast=10.1.15.223 netmask=255.255.255.240
Client started (version 4.8.5).
tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
resolve_hosts: Attempting host lookup for name tpe.corp<0x20>
Connecting to 10.170.6.11 at port 445
got OID=1.3.6.1.4.1.311.2.2.30
got OID=1.2.840.48018.1.2.2
Enter WORKGROUP\<myuser> password:
Kinit for <myuser>@WORKGROUP to access tpe.corp failed: Cannot contact any KDC for requested realm
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 'http_negotiate' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Got challenge flags:
Got NTLMSSP neg_flags=0x62898215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x62088215
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Is it sometihing related to Samba configuration on my (client) side (/etc/samba/smb.conf)?
Is it even important here - assuming that shares are hosted on Windows machine and I don't want to host anything.
Last edited by Arsakes (2018-09-12 16:38:20)
Offline