Hi!

I noticed a difference between testsmbc "smb://MYGRP" and testsmbc "smb://mygrp"
(it doesn't make a difference for SAMBA servers, but it does for XP and for winME)
So please apply the included patch.

Greetings, Stephan

Index: libsmb/clirap.c
===================================================================
RCS file: /cvsroot/samba/source/libsmb/clirap.c,v
retrieving revision 1.30
diff -u -3 -p -u -r1.30 clirap.c
--- libsmb/clirap.c     15 Mar 2003 06:45:19 -0000      1.30
+++ libsmb/clirap.c     25 Mar 2003 15:25:20 -0000
@@ -233,8 +233,10 @@ BOOL cli_NetServerEnum(struct cli_state 
        SIVAL(p,0,stype);
        p += 4;
 
-       p += push_pstring_base(p, workgroup, param);
-       
+       pstrcpy_base(p, workgroup, param);
+       strupper(p); 
+       p += strlen(p);
+
        if (cli_api(cli, 
                     param, PTR_DIFF(p,param), 8,        /* params, length, max */
                     NULL, 0, CLI_BUFFER_SIZE,               /* data, length, max */


Reply via email to