From 96e791eb11e0da4f283d7a6f526d5bd1bfd08d2c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 25 Feb 2001 23:46:28 +0000 Subject: use cli_list_old() when negotiating the older protocols (This used to be commit 735f29319b8d81df203c8ddbcea5349b11f2195d) --- source3/libsmb/clilist.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index d4cc00d9f3..c30f69a36c 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -178,6 +178,10 @@ int cli_list(struct cli_state *cli,const char *Mask,uint16 attribute, int param_len, data_len; uint16 setup; pstring param; + + if (cli->protocol <= PROTOCOL_LANMAN1) { + return cli_list_old(cli, Mask, attribute, fn, state); + } pstrcpy(mask,Mask); -- cgit