Koozali.org: home of the SME Server

Yet another guest / unauthenticated / ibay / samba share question

Offline ntblade

  • *
  • 252
  • +0/-0
Hi all,
I'm trying to create an ibay / share that can be accessed by unauthenticated windows users.  First I created an ibay:

Code: [Select]
Information bay name    music
Description    Shared Music
Group    Family
User access via file sharing or user ftp    Write=group, Read=everyone
Public access via web or anonymous ftp    Local network (no password required)
Execution of dynamic content (CGI, PHP, SSI)    Disabled

I also created 3 custom templates:

11guestOk
Code: [Select]
{
# If this parameter is 'yes' for a service, then no password is
# required to connect to the service.
}
91media
Code: [Select]
[media]
comment = Shared Media
guest ok = yes
security = share
path = /home/e-smith/files/ibays/music/files
read only = yes
writable = no
printable = no

92myshare
Code: [Select]
{
# This is my share
$OUT .= <<HERE;
[Myshare]
path = /home/test
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
HERE

Here's my smb.conf for for the ibay / shares (guest ok = yes in the global section)
Code: [Select]


[music]
comment = Shared music
path = /home/e-smith/files/ibays/music
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0664

[media]
comment = Shared Media
guest ok = yes
security = share
path = /home/e-smith/files/ibays/music/files
read only = yes
writable = no
printable = no

[Myshare]
path = /home/test
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

I'm still prompted for a username / password.  Can anyone see anything problems?
What have I done wrong?

Many thanks,

Norrie

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Yet another guest / unauthenticated / ibay / samba share question
« Reply #1 on: June 02, 2011, 02:15:56 PM »
When prompted for username and password, can you login with 'Guest' and no password?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Yet another guest / unauthenticated / ibay / samba share question
« Reply #2 on: June 02, 2011, 06:57:08 PM »
ntblade

Have you restarted the workstation after making those changes to the server ?
Same applies to any other workstation you are using to access the server, log off and back on again.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.