Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

I got almost instant answer from Andrew Bartlett from the Samba Developer Team. It is simple and straightforward:

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

Andrew Bartlett

If anyone has more detailed explanation exactly why is it so, please let me know.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.