Hi,
I have a problem with Samba that is driving me crazy!!
I have just reinstalled SuSE11.4 due to a major problem with Nvidia driver and kernel driver mismatches - but thats another story…
Before my systems x got wrecked I used to have a shared folder setup in samba - anyone on my windows network could both browse and connect to the share without being prompted for a username or password.
This was achieved simply by adding the folder I wanted to share and adding browesable and guest OK in the Yast samba config tool.
I have now setup the share exactly as before and added guest OK and Browseable to the smb.conf yet although Windows machines can see the share when they try to connect they get a 'Windows cannot access \PHY-Katana**** and you do not have permission to access \PHY-Katana**** please contact your system administrator.
Here is my smb.conf.
[global]
workgroup = PART1LAB
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \%L\profiles.msprofile
logon home = \%L%U.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
local master = Yes
netbios name = PHY-Katana
os level = 65
preferred master = Yes
Security = user
wins support = Yes
Share disabled by YaST
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
Share disabled by YaST
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[Software]
comment = general software and apps
inherit acls = No
path = /Public/Software
read only = No
browseable = Yes
guest ok = Yes
i have hashed out the logon lines and security = user as I dont recall them existing in my previous smb.conf - but this hasnt helped any - if only I had kept my original smb.conf file :-(.
I have also read various threads on the net about creating a user smbguest and doing various things to enable passwordless access - I have tried several all without success. But what is really bugging me is that before I reinstalled my last setup just worked out of the box simply by adding the share /Public/Software and Guest OK and Browseable in the config…
Hope someone has some idea of what is wrong here…
Chris.