[Samba] List Samba 4 shares using server's IP AND Kerberos authentication

Andrew Bartlett abartlet at samba.org
Thu Apr 25 19:08:13 MDT 2013


On Fri, 2013-04-26 at 03:04 +0200, Kristofers wrote:
> I am 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.
> 
> Nevertheless 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?

No.  Kerberos requires the server's name to obtain the correct ticket.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba mailing list