Gerald (Jerry) Carter wrote:

| If specifying explicit port 139, the message will be
| sent with 3.0.13.   Client is a W2K SP4 with active NetBIOS over
| TCP/IP and without firewall.
ok.  That's good information to know.  I'll get this fixed.

I think it has something to do with the following change in client.c from Revision 5542 -> 5545. But my understanding of C is not good enough:


@@ -3426,8 +3174,8 @@
                   else but port 139... */

                cli_cm_shutdown();
-               port = 139;
-               cli = cli_cm_connect(query_host, "IPC$", True);
+               cli_cm_set_port( 139 );
+               cli = cli_cm_open(query_host, "IPC$", True);
        }

        if (cli == NULL) {


@@ -3585,9 +3334,10 @@ * to port 139 instead of port 445. srl,crh */ name_type = 0x03; + cli_cm_set_dest_name_type( name_type ); pstrcpy(desthost,poptGetOptArg(pc)); - if( 0 == port ) - port = 139; + if( !port ) + cli_cm_set_port( 139 ); message = True; break; case 'I':


der tom -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Reply via email to