Thomas Bork wrote:

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:

Tried to patch it. Sending message is possible now, don't know, if it will break anything else:


--- /usr/src/samba-3.0.13/source/client/client.c Wed Mar 23 21:30:28 2005
+++ /usr/src/samba-3.0.13/source/client/client.patched Mon Mar 28 19:28:04 2005
@@ -3177,6 +3177,7 @@
else but port 139... */


                cli_cm_shutdown();
+               port = 139;
                cli_cm_set_port( 139 );
                cli = cli_cm_open(query_host, "IPC$", True);
        }
@@ -3339,8 +3340,9 @@
                        name_type = 0x03;
                        cli_cm_set_dest_name_type( name_type );
                        pstrcpy(desthost,poptGetOptArg(pc));
-                       if( !port )
-                               cli_cm_set_port( 139 );
+                       if (port != 139)
+                       port = 139;
+                       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