OpenVZ Forum


Home » General » Support » VPS with samba
VPS with samba [message #2677] Sat, 15 April 2006 18:45 Go to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

i would like to use samba in VPS, but i think broadcast adress does not work, how i do ?

thanks
Re: VPS with samba [message #2708 is a reply to message #2677] Mon, 17 April 2006 16:27 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

do you want client or server?
smbclient works fine from VPS.


http://static.openvz.org/userbars/openvz-developer.png
Re: VPS with samba [message #2711 is a reply to message #2708] Mon, 17 April 2006 16:59 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

i would like to create a server, the samba work correctly if i adress directly by \\192.168.0.2\share for example , but a windows client could not join a samba domain on a vps.
Re: VPS with samba [message #2722 is a reply to message #2711] Tue, 18 April 2006 10:30 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

you can delegate one of your NICs (network adapter) for exclusive VPS usage. In this case, broadcasts will work fine.
To do so, use `vzctl set --netdev_add` command.

Also you can remove broadcasts drop in venet.c and investigate how to force kernel to route/forward broadcasts, but this requires some technical skills.


http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Tue, 18 April 2006 10:30]

Report message to a moderator

Re: VPS with samba [message #2729 is a reply to message #2677] Tue, 18 April 2006 14:37 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

humm, i don't have second network adaptater , i can try to modify the venet.c and investigate to force kenel, but i don't known the point of start Sad
Re: VPS with samba [message #2745 is a reply to message #2729] Wed, 19 April 2006 10:02 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

1. you can dig internet about samba broadcasts forwarding. Somehow people do connect samba segments, do they? So there should be ways of doing this.

2. starting point is venet_xmit() functions, where a packet is redirected to appropriate VPS.


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: /vz/private and /vz/root
Next Topic: Install Problem - vzyum dependency failure
Goto Forum:
  


Current Time: Sat Nov 16 16:31:16 GMT 2024

Total time taken to generate the page: 0.03029 seconds