Displaying 1 result from an estimated 1 matches for "usenmb".
Did you mean:
usenet
1997 Sep 23
0
PATCH: Wins support in smbclient
...e "patch < client.diff".
Btw, if there is anything wrong with the patch format, please tell me
since this is my first patch.
Baldur
-------------- next part --------------
--- /root/client.c Tue Sep 23 21:52:21 1997
+++ client.c Tue Sep 23 22:17:21 1997
@@ -4136,8 +4136,20 @@
#ifdef USENMB
/* Try and resolve the name with the netbios server */
int bcast;
+ struct in_addr wins_addr;
- if ((bcast = open_socket_in(SOCK_DGRAM, 0, 3,
+ wins_addr.s_addr = interpret_addr (lp_wins_server ());
+
+ if (wins_addr.s_addr && (bcast = open_socket_out (SOCK_DGRAM,
+...