[pptp-server] PPTP & Samba
Alaa Al-Amood
aaa at netman.dk
Wed Sep 27 06:15:24 CDT 2000
Hi
You have to configure samba as a WINS server
here is the samba (/etc/smb.conf)configuration which work very well for me
[global]
domain logons = yes
domain master= yes
local master =no
browse list = yes
mangled stack = 100
max xmit = 8192
password level = 0
printing = bsd
read size = 8192
security = user
os level = 65
wins support = yes
; wins server =
password level = 8
username level = 8
; workgroup name
workgroup = netman
netbios name = snow
; for WinNT 4.0 sp3 clients
encrypt passwords = yes
; all services are browsable
browsable = yes
; restrict access to local hosts
hosts allow = 192.68.72. 172.16.0. 127.0.0.1
deny hosts = ALL
; server announcement
server string = WINS & VPN Server (Samba %v)
;configure Samba to use multiple interfaces
interfaces = 192.168.0.1/255.255.255.0 172.16.0.2/255.255.0.0
;
remote browse sync = 192.168.0.255 172.16.255.255
remote announce = 192.168.0.255 172.16.255.255
; seperate log file for each client machine
log file = /var/log/samba/log.%m
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
share modes = yes
;setting up master domain
; annouce version = 4.0
preferred master = yes
[homes]
comment = home directories
writable = yes
; read and write for user, read acces to group and no access for others
create mask = 640
force create mode = 0
directory mask = 750
force directory mode = 0
after that you have to add the follwing line to the /etc/ppp/options
ms-wins 193.88.72.38 #Samba wins server
regards
Alaa
Jean-Paul Chavant wrote:
> Hello,
>
> my pptp connexion works.
>
> here is my network :
>
> [192.168.2.x]
> |
> 2
> [192.168.1.x]----[Unix router]----[192.168.3.x]-----[VPN
> Server]-----[172.16.0.x]-----[client]
> 3 2 252 1
> 10
>
> to be able to ping any computers i have to add a route on my router ...
> (route add 192.168.0.0 gw 192.168.3.252) (this solves apparently the problem
> of the arp resolution ...)
>
> vpn network IP is 192.168.0.x
>
> My Unix Routeur is also my WINS server (Samba)
> My Logon controler is a M$ PDC (Win NT 4.0) wich is on 192.168.1.x
> 192.168.3.x network.
>
> In this situation, my computer on my private LAN doens't see my VPN client
> in the neighbourhood network and vice versa.
>
> I can reach from any network a computer by executing the command
> \\IP_Address.
> How can i do to see all the computer in the neighbourhood network (from
> 192.168.1.x , 192.168.3.x and 192.168.0.x) ?
>
> My Wins server has to stay on my Unix Router.
>
> I have installed Samba on my VPN Server and it acts as a proxy Wins ... but
> it doesn't work ...
>
> anybody know how to do to see all computers in neighbourhood network ?
>
> JPaul
>
> _______________________________________________
> pptp-server maillist - pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulteconsulting.com!
More information about the pptp-server
mailing list