diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-02-25 23:46:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-02-25 23:46:28 +0000 |
commit | 96e791eb11e0da4f283d7a6f526d5bd1bfd08d2c (patch) | |
tree | 273e9756eff1f7d976c5f40e4494549d27984193 | |
parent | 57467a9f6002eafdb7d1395a50089c53c37335d9 (diff) | |
download | samba-96e791eb11e0da4f283d7a6f526d5bd1bfd08d2c.tar.gz samba-96e791eb11e0da4f283d7a6f526d5bd1bfd08d2c.tar.xz samba-96e791eb11e0da4f283d7a6f526d5bd1bfd08d2c.zip |
use cli_list_old() when negotiating the older protocols
(This used to be commit 735f29319b8d81df203c8ddbcea5349b11f2195d)
-rw-r--r-- | source3/libsmb/clilist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index d4cc00d9f3b..c30f69a36cd 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); |