[Samba] Samba 3.0.13 Available for Download
Thomas Bork
tombork at web.de
Mon Mar 28 11:00:02 GMT 2005
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
More information about the samba
mailing list