s3:smbclient: remove unreliable Domain=[...] OS=[Windows 6.1] Server=[...] banner
authorStefan Metzmacher <metze@samba.org>
Fri, 23 Jun 2017 14:58:42 +0000 (16:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 27 Jun 2017 14:57:47 +0000 (16:57 +0200)
commit5a794ece3d2c5b8dbb5d6e71ad25784a370230d4
treeea6be2cf3f6605d82397fd9f10b643f275f90655
parent1723090d63fd5a48fb5f2b3a281b99f097b2368d
s3:smbclient: remove unreliable Domain=[...] OS=[Windows 6.1] Server=[...] banner

On interactive sessions we print the following instead now:

Try "help" do get a list of possible commands.
smb: >

The reason for this is that we don't get these information via SMB2
and the we only get the domain name via some layering violations
from the NTLMSSP state.

It's better to remove this consitently for all SMB and auth
protocol combinations.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/client/client.c
source3/script/tests/test_smbclient_s3.sh