[Samba] Cannot get shares to show up
jstone1999 at gmail.com
Mon Oct 6 16:46:09 GMT 2008
NOTE: Question at bottom. :)
I guess I need to review the Samba documentation better. I was using the
examples provided in smb.conf and thought that "Browsible" meant that people
other than "Valid Users" could see the stuff inside a share.
My "Home" directory comes up as a share in Network Neighborhood but it also
has browsable=no which is confusing:
comment = Home
valid users = %S
read only = no
browsable = no
I'm not disagreeing with you, just pointing out how I was confused. I will
read through the documentation again on shares to ensure I am setting them
QUESTION: Simply using preexec to mount a drive prior to showing the
contents doesn't sound like it'll be a robust enough solution when you have
multiple people hitting the same share. Is it common practice to point pre
and postexec to a script that determines whether a mount has already been
mounted? Does anyone have any examples of a script that does this?
I am learning Python and have no problems attempting to write this myself as
it seems fairly straight forward. I guess my question is more "Is this the
On Sun, Oct 5, 2008 at 7:23 PM, Ryan Bair <ryandbair at gmail.com> wrote:
> Sorry, meant to reply all on that.
> On Sun, Oct 5, 2008 at 10:22 PM, Ryan Bair <ryandbair at gmail.com> wrote:
> > By showing up I assume you mean showing up in the listing of shares
> > for the computer?
> > The "browsable = no" would be your problem. It makes the share not
> > browsable. :-)
> > --Ryan
> > On Sun, Oct 5, 2008 at 6:50 PM, Jesse Stone <jstone1999 at gmail.com>
> >> I apologize if this is a really silly question but I've been messing
> >> this for awhile now and cannot see any typos that would prevent these
> >> from showing up.
> >> I'm trying two things I've never done before so I want to make sure to
> >> them out:
> >> 1) I am using groups in the "valid users" section
> >> 2) I am using preexec and postexec on each share
> >> Example:
> >> [Media]
> >> comment = Media(Non-kid)!
> >> path = /mnt/media1
> >> read only = yes
> >> browsable = no
> >> valid users = @mediausers
> >> preexec = /bin/mount /mnt/media1
> >> postexec = /bin/umount /mnt/media1
> >> I've done nothing with the /mnt/media1 folder so I expect my next issue
> >> be permissiones related but I would expect the shares to at least show
> >> for all users within the @mediausers group.
> >> I'm using preexec ect from the cd-rom example contained within the
> >> smb.conf file.
> >> -Jesse
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba