On 07/06/10 03:32 PM, H.S. wrote: > On 07/06/10 03:28 PM, H.S. wrote: >> On 07/06/10 03:11 PM, Javier Barroso wrote: >>> Hi, >>> Did you check "hosts allow" parameter from smb.conf in your server ? >>> >>> I'm not sure if it can works, so please tell us if you get this working :) >>> >>> Regards, >>> >> >> I didn't have that in smb.conf file at all. I have included the >> following lines in it and restarted samba: >> hosts allow = 127.0.0.1 192.168.0.0/24 172.16.15.0/24 >> hosts deny = 0.0.0.0/0 >> >> So no client from the wireless LAN (192.168.5.0/24) is allowed, and only >> from the wired LAN and VPN are allowed. >> >> I see a samba log file for the VPN client from which I am trying to >> access the shared folder. Here are the last few lines(the log has lines >> from earlier today as well which say similar stuff as below): >> [2010/06/07 13:58:21, 1] smbd/service.c:1063(make_connection_snum) >> 172.16.15.22 (172.16.15.22) connect to service SharedFolder initially >> as user nobody (uid=65534, gid=65534) (pid 8948) >> [2010/06/07 13:58:46, 1] smbd/service.c:1240(close_cnum) >> 172.16.15.22 (172.16.15.22) closed connection to service SharedFolder >> >> >> Does this give any further clues?
A little success. I commented out the following option from smb.conf and now I can connect to the share from a VPN client: ; interfaces = 127.0.0.0/8 172.16.15.0/24 192.168.5.0/24 However, I can not only use "sudo smbmount ..." command to access the samba share. The Network browser from Gnome still does not show the share while a VPN client. The VPN client is a laptop running Ubuntu Karmic. -- Please reply to this list only. I read this list on its corresponding newsgroup on gmane.org. Replies sent to my email address are just filtered to a folder in my mailbox and get periodically deleted without ever having been read. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hujimk$m3...@dough.gmane.org