Back to Mac Usenet

From: jasonpvp <jasonpvp@gmail.com>
To: All
Subject: Re: Accessing Samba with Leopar
Date:Tue, July 29, 2008 11:29 PM


On Jun 17, 11:31 pm, Uwe Ziegenhagen <newsgr...@ziegenhagen.info>
wrote:
> Bob Harris schrieb:
>
> > In article
> > <d7f9eb48-f7bf-4c6d-b67c-cb4e42078...@t54g2000hsg.googlegroups.com
> >> ,
> > "ziegenha...@gmail.com" <ziegenha...@gmail.com> wrote:
>
> >> Hello,
>
> >> I am facing a problem accessing a samba share which has been set to
> >> browseable=no. While earlier versions of Mac OS had no difficulties in
> >> accessing the share, 10.5 refuses and gives an error code -43
> >> instead.
>
> >> The only solution seems to be to set at least one share to "browseable
> >> = yes" which is in the eyes of our admin a bad choice.
>
> >> Does anyone have a better idea?
>
> >> Best regards,
>
> >> Uwe
>
> > What methods have you tried to access the Samba share?
>
> > Generally Finder -> Go -> Connect to Server...
>
> > smb://workgroup;username:passw...@server.address/sharename
>
> > Should work, where:
>
> > workgroup: Workgroup (optional if default is
> > the correct workgroup)
> > username: Username (optional if you are prompted)
> > password: Password (optional if you are prompted)
> > server.address: Server NetBIOS name
> > -OR- domain.name.com
> > -OR- IP address
> > sharename: Share name (optional if server lets you browse)
>
> Hi Bob,
>
> this is exactly my way. We have a SUN server here providing the shares
> and the connection under 10.5 does not work although 10.2 machines have
> no problem at all.
>
> To find the problem I even set up my own Samba server with Ubuntu.
> Everything works fine until I set browseable=no in the samba options.
>
> Then I get the -43 connection error.
>
> Uwe

Edit /etc/smb.conf and add something like the following:

; Create hidden windows shares
[scripts$]
path=/data/samba/scripts
comment=scripts
usershare_acl=S-1-1-0:F
guest ok=yes
oplocks=yes
inherit permissions=yes
directory mask=0755
strict locking=no
create mask=0644

I tried setting the custom samba share name in server admin, but it
deletes the config file from /var/samba/shares, so I made a regular
share of the folder, copied the info from /var/samba/shares, pasted it
to /etc/smb.conf with a new name, then unshared from server admin.
Appears to work fine (for now...)


73


Running TeleFinder Server v5.7.
© Copyright Spider Island Software