diff options
author | Günther Deschner <gd@samba.org> | 2006-01-13 11:19:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:06 -0500 |
commit | 967ab90b175112aabde4da449bef912372da669c (patch) | |
tree | 544def78c379c1bd630b1301b269532d4f7ac156 /source3 | |
parent | 29ba5c17cda35f4277e9d84e9ce2893685f3c683 (diff) | |
download | samba-967ab90b175112aabde4da449bef912372da669c.tar.gz samba-967ab90b175112aabde4da449bef912372da669c.tar.bz2 samba-967ab90b175112aabde4da449bef912372da669c.zip |
r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
Guenther
(This used to be commit b8ff07b04afe82bdce5d1f69513ce67ecde5b030)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_srvsvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c index da81a82c8d..53ee7300da 100644 --- a/source3/rpcclient/cmd_srvsvc.c +++ b/source3/rpcclient/cmd_srvsvc.c @@ -433,7 +433,7 @@ static WERROR cmd_srvsvc_net_file_enum(struct rpc_pipe_client *cli, SRV_FILE_INFO_CTR ctr; WERROR result; ENUM_HND hnd; - uint32 preferred_len = 0; + uint32 preferred_len = 0xffff; if (argc > 2) { printf("Usage: %s [infolevel]\n", argv[0]); |