Windows Vista and SAMBA.... grrr!!!

Talk about other linux distributions, or even other OSes.
Post Reply
User avatar
lmello
Posts: 218
Joined: 4. Aug 2010, 17:38
Location: Brazil
Contact:

Windows Vista and SAMBA.... grrr!!!

Post by lmello »

Ok, I have a SAMBA setup that works with other Linux boxes, but my father's laptop running Windows Vista refuses to see them.

Here's my smb.conf:

Code: Select all

[global]
        workgroup = WORKGROUP
        netbios name = GAUSS
        server string = Samba Server
        security = SHARE
        hosts allow = 192.168.1.0/24, 127.0.0.1
        hosts deny = 0.0.0.0/0
        max log size = 50

[tmp]
        comment = Temporary file space
        path = /tmp
        browseable = Yes
        writeable = Yes
        guest ok = Yes
ps: I tried to do what some people told me to do here and there, but:

1. Vista Home Basic does not contain Control Panel - Administrative Tools - Local Security Policy
2. Vista Home Basic does not have secpol.msc

Changing the registry HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa key from '3' to '0' didn't work.
User avatar
sqlpython
Donor
Posts: 310
Joined: 13. Aug 2010, 04:53
Location: Ct. USA

Re: Windows Vista and SAMBA.... grrr!!!

Post by sqlpython »

Maybe this will be some help.
I know from reading you that you are an Admin Professional so I assume that you
..1. Have set a share to view in Vista
..2. For testing purposes turned off the Windows Firewall

## Here are my suggested smb.conf basics

workgroup = WORKGROUP
server string = %h server
## wins support = no
security = share
include = /etc/samba/dhcp.conf
dns proxy = no
netbios name = sqlpython1501
name resolve order = lmhosts host wins bcast

interfaces = lo eth0 wlan0
bind interfaces only = true

interfaces = 192.168.0/200 192.168.1/200 192.168.2/200 127.0.0.0/8 eth0

## Notice the lack of Commas.. You use Commas.. May make a difference
guest account = nobody

## Then maybe a shared folder

*******Share Definitions************
[Public]
comment = Guest access share
path = /home/sqlpython/Public
browseable = yes
read only = yes
guest ok = yes
Slackware ( Manjaro ) Salix, AntiX, Bunsen, Calculate
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Windows Vista and SAMBA.... grrr!!!

Post by djemos »

Here is my smb.conf
maybe will be helpful.

[global]
workgroup = WORKGROUP
security = user
server string = Samba Server Desktop
log file = /var/log/samba.%m
max log size = 50
os level = 33
preferred master = Yes
dns proxy = No
usershare allow guests = Yes
usershare max shares = 100
usershare path = /var/lib/samba/usershares
hosts allow = 192.168.1., 192.168.2., 127.

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
guest only = Yes
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

[tmp]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes

[hdb5]
comment = win hdb5
path = /mnt/hdb5
read only = No
guest ok = Yes

[hda1]
comment = win hda1
path = /mnt/hda1
read only = No
guest ok = Yes
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Windows Vista and SAMBA.... grrr!!!

Post by thenktor »

My smb.conf for use with network media players:

Code: Select all

[global]
workgroup = TM-NET
netbios name = PINKFLOYD
security = share

[samba]
comment = Samba Share
path = /home/samba
read only = Yes
guest only = Yes

[musik]
comment = Musik Share
path = /home/musik
read only = Yes
guest only = Yes

[videos]
comment = Video Share
path = /home/videos
read only = Yes
guest only = Yes

[media]
comment = Media Share
path = /media
read only = Yes
guest only = Yes
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
lmello
Posts: 218
Joined: 4. Aug 2010, 17:38
Location: Brazil
Contact:

Re: Windows Vista and SAMBA.... grrr!!!

Post by lmello »

sqlpython wrote:Maybe this will be some help.
I know from reading you that you are an Admin Professional so I assume that you
..1. Have set a share to view in Vista
..2. For testing purposes turned off the Windows Firewall
Turning off the Windows Firewall didn't help.
sqlpython wrote: interfaces = 192.168.0/200 192.168.1/200 192.168.2/200 127.0.0.0/8 eth0[/color]
## Notice the lack of Commas.. You use Commas.. May make a difference
The commas make no difference at all. I checked my smb.conf with testparm.
Post Reply