svn commit: samba r12901 - branches/SAMBA_3_0/source/rpcclient
trunk/source/rpcclient
gd at samba.org
gd at samba.org
Fri Jan 13 11:20:00 GMT 2006
Author: gd
Date: 2006-01-13 11:19:59 +0000 (Fri, 13 Jan 2006)
New Revision: 12901
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12901
Log:
Fix netfileenum returning WERR_BUF_TOO_SMALL.
Guenther
Modified:
branches/SAMBA_3_0/source/rpcclient/cmd_srvsvc.c
trunk/source/rpcclient/cmd_srvsvc.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpcclient/cmd_srvsvc.c
===================================================================
--- branches/SAMBA_3_0/source/rpcclient/cmd_srvsvc.c 2006-01-13 11:11:23 UTC (rev 12900)
+++ branches/SAMBA_3_0/source/rpcclient/cmd_srvsvc.c 2006-01-13 11:19:59 UTC (rev 12901)
@@ -433,7 +433,7 @@
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]);
Modified: trunk/source/rpcclient/cmd_srvsvc.c
===================================================================
--- trunk/source/rpcclient/cmd_srvsvc.c 2006-01-13 11:11:23 UTC (rev 12900)
+++ trunk/source/rpcclient/cmd_srvsvc.c 2006-01-13 11:19:59 UTC (rev 12901)
@@ -433,7 +433,7 @@
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]);
More information about the samba-cvs
mailing list