s3:libsmb: don't call cli_NetServerEnum() on SMB2/3 connections in SMBC_opendir_ctx()
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Aug 2017 10:38:30 +0000 (12:38 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 18 Aug 2017 23:41:24 +0000 (01:41 +0200)
commitecca95736d3994011de2d3fd882b58ab9b450a83
tree370bf79a5f9286903faf8058050195deb6b14b1a
parent379e5c1c2fa75c30b08bea7079cf1e9c46db0b26
s3:libsmb: don't call cli_NetServerEnum() on SMB2/3 connections in SMBC_opendir_ctx()

This is all we can do with when using we allow SMB2/3 and the server supports
it, 'smb://' can't work unless we implement LLMNR and maybe WSD.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12876

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/libsmb_dir.c