Displaying 3 results from an estimated 3 matches for "net_name".
Did you mean:
get_name
2017 Nov 16
3
What exactly is the meaning of "Subnet" parameter in tinc/$NETNAME/hosts/$SOMEHOSTNAME?
Hello, I am not very good at linux networking. I have read tinc documentation
multiple times and I still don't understand what the "Subnet = ..." directive
does in /etc/tinc/$NET_NAME/hosts/$HOST_NAME
Right now I have a simple virtual lan organized with tinc, and I use the
following in every device's config file (replacing the last part of the
address):
# This computer will have this ip address in the vpn
Subnet = 10.20.30.22/32
This allows me to connect to $HOST_NAME usi...
2017 Nov 19
0
What exactly is the meaning of "Subnet" parameter in tinc/$NETNAME/hosts/$SOMEHOSTNAME?
...> On 16 Nov 2017, at 19.56, Philip Blagoveschensky <philip at crabman.me> wrote:
>
> Hello, I am not very good at linux networking. I have read tinc documentation
> multiple times and I still don't understand what the "Subnet = ..." directive
> does in /etc/tinc/$NET_NAME/hosts/$HOST_NAME
>
> Right now I have a simple virtual lan organized with tinc, and I use the
> following in every device's config file (replacing the last part of the
> address):
>
> # This computer will have this ip address in the vpn
> Subnet = 10.20.30.22/32
>
>...
2003 Dec 01
0
No subject
...er/srv_srvsvc.c ./rpc_s
erver/srv_srvsvc.c
--- ../../samba-2.0.10-ja-1.0beta2/source/rpc_server/srv_srvsvc.c
Fri May
4 04:11:43 2001
+++ ./rpc_server/srv_srvsvc.c Tue Jun 26 09:59:02 2001
@@ -36,13 +36,16 @@
static void init_srv_share_info_1(SRV_SHARE_INFO_1 *sh1, int snum)
{
int len_net_name;
+ pstring service;
pstring net_name;
pstring remark;
uint32 type;
- pstrcpy(net_name, lp_servicename(snum));
+ strncpy(service, lp_servicename(snum),
+ (get_remote_arch() == RA_WIN2K) ? 127 : 12);
+ pstrcpy(net_name, service);...