[Samba] Problem accessing Samba Share from Windows
Carlos R. Pena
carlosrpevertsz at gmail.com
Mon Aug 6 10:39:09 MDT 2012
Thank you Andrew,
Your suggestion works very well.
I used this syntax in the smb.conf file:
hosts allow = xxx.xxx.xxx.xxx/mmm.mmm.mmm.mmm
where xxx.xxx.xxx.xxx is the server ip and mmm.mmm.mmm.mmm the subnet mask.
I veryfied all the ips and subnets in the /etc/network/interfaces file
and workstations as well.
Now the workstations see the server by its server name and/or aliases names.
Carlos Pena E.
Santo Domingo, Dominican Republic
On 8/4/2012 5:28 PM, andrewm at aimsystems.ca wrote:
> I had this issue before and solved it by adding my subnet to the list
of hosts allowed to access samba.
> i.e.
> hosts allow = 127. 192.168.0. (your.subnet.here.)
> I had this issue when trying to access samba from a machine connected
via our corporate VPN and needed to add the subnet into the list.
Crucial if you need to NAT and masq your IPs.
> Sent from my BlackBerry device on the Rogers Wireless Network
>
> -----Original Message-----
> From: Andy Sheen <sheen.andy at googlemail.com>
> Sender: samba-bounces at lists.samba.org
> Date: Sat, 04 Aug 2012 16:08:27
> To: <samba at lists.samba.org>
> Subject: Re: [Samba] Problem accessing Samba Share from Windows
>
>
>
> Carlos R. Pena wrote on Sat 04 Aug at 16:28 UK time
>> Hello everybody,
>>
>> I am using Ubuntu 12.04LTS server running samba server on it. I have
>> problem accessing the shares from Windows XP with \\servername\share,
>> but no problem accessing \\ip\share. How can i correct this problem?. I
>> have tried every single example found on google with no good results.
>>
>> Any help will be appreciated.
>>
> Is nmbd running? Problems like this are normally to do with the Windows
> NetBIOS name resolution. If the Ubuntu server is not running nmbd, it
> will not join the correct workgroup so will not be seen by the master
> browser for the network.
>
> Also worth checking that you have your net masks set correctly (a
> machine will only join a workgroup if the net mask is correct as Windows
> uses the netmask to determine the broadcast address for NetBIOS
commands).
More information about the samba
mailing list