Page 1 of 1

Windows 7 cannot access the shares if "guest ok= no"

Posted: Thu Jun 30, 2011 2:07 am
by SebaD
Hi,

A fresh Amahi on Fedora 14 but I cannot access the shares from Windows 7 unless I drop the guest restriction.
Any sugestion?

Here is my samba.conf

workgroup = dragonlair
server string = dragonlair
netbios name = hda
printing = cups
printcap name = cups
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
log level = 0
max log size = 150
socket options = TCP_NODELAY
preferred master = yes
os level = 60
time server = yes
unix extensions = no
time server = yes
unix extensions = no
wide links = yes
veto files = /*.nws/riched20.dll/*.{*}/
security = user
username map script = /usr/share/hda-platform/hda-usermap
large readwrite = yes
encrypt passwords = yes
dos charset = CP850
unix charset = UTF8
display charset = LOCALE
guest account = nobody
map to guest = Bad User
wins support = yes
printer admin = root, @ntadmin, administrator


[homes]
comment = Home Directories
[homes]
comment = Home Directories
valid users = %S
browseable = no
writable = yes
create mask = 0644
directory mask = 0755

[print$]
path = /var/lib/samba/drivers
read only = yes
force group = root
write list = @ntadmin root
force group = root
create mask = 0664
directory mask = 0775
guest ok = yes

[printers]
[printers]
path = /var/spool/samba
writeable = yes
browseable = yes
printable = yes
public = yes

[Books]
comment = Books
path = /var/hda/files/Books
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
vfs objects = recycle
dfree command = /usr/bin/greyhole-dfree

Seba

Re: Windows 7 cannot access the shares if "guest ok= no"

Posted: Thu Jun 30, 2011 4:50 am
by bigfoot65
Interesting. There must be something else going on as I use Windows 7 with no problems and I do not have guest access enabled.

Did you do any modifications to Samba? The wiki has some guidance on Windows 7 access of shares.

http://wiki.amahi.org/index.php/Shares_troubleshooting

Hope this helps.