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

SebaD
Posts: 34
Joined: Fri May 20, 2011 2:44 am

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

Postby SebaD » Thu Jun 30, 2011 2:07 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Thu Jun 30, 2011 4:50 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 22 guests