I'm trying to connect to the windows server that is only accessible via IPv6. It seems using winexe with ipv4 work just fine, but when one tries to connect to ipv6 endpoint, it fails. Any ideas why:
phillip@phillip-RS780:/opt$ winexe -U administrator%password -d 6 --system //[2607:f480:111:1318:2510:aab2:563a:2986] "dir"
adding hidden service IPC$
adding hidden service ADMIN$
failed to get principal from default ccache: No such file or directory: open(/tmp/krb5cc_1000): No such file or directory
winexe version 1.00
This program may be freely redistributed under the terms of the GNU GPLv3
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
GENSEC backend 'schannel' registered
GENSEC backend 'spnego' registered
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'ntlmssp' registered
Using binding ncacn_np:[2607:f480:111:1318:2510:aab2:563a:2986]
added interface ip=192.168.0.100 nmask=255.255.255.0
added interface ip=10.193.254.184 nmask=255.255.255.255
added interface ip=192.168.0.100 nmask=255.255.255.0
added interface ip=10.193.254.184 nmask=255.255.255.255
dns child failed to find name '' of type A
Shutdown SMB signing
SMB Signing is not negotiated by the peer
Starting GENSEC mechanism spnego
Server claims it's principal name is NONE
Starting GENSEC submechanism ntlmssp
Got challenge flags:
Got NTLMSSP neg_flags=0x608a8215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_TARGET_INFO
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP challenge set by NTLM2
challenge is:
[0000] 69 A7 6E AC 2C 40 77 23 i.n.,@w#
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
SMB Signing is not negotiated by the peer
ERROR: Cannot connect to svcctl pipe. NT_STATUS_OBJECT_NAME_NOT_FOUND.
added interface ip=192.168.0.100 nmask=255.255.255.0
added interface ip=10.193.254.184 nmask=255.255.255.255
added interface ip=192.168.0.100 nmask=255.255.255.0
added interface ip=10.193.254.184 nmask=255.255.255.255
ERROR: Failed to open connection - NT_STATUS_OBJECT_NAME_NOT_FOUND