I am successfully able to list the Samba 4.0.3 shares by using
smbclient -L myhostname -k
command.
However I am unable to do the same by using
smbclient -L 192.168.1.2 -k
and I get the session setup failed: NT_STATUS_LOGON_FAILURE
error.
However it does work when I try to do the same by using the IP and a username like this:
smbclient -L 192.168.1.2 -U administrator
.
Is it possible to perform this task using the IP and Kerberos authentication?