Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 08:05:53 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        Matthew Ryan <matt@overdose.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: OS X clients - Samba  Arrrrggg!!
Message-ID:  <3E75C831.1040904@potentialtech.com>
In-Reply-To: <9804DEB6-5874-11D7-BF01-0030654886A6@overdose.com>
References:  <9804DEB6-5874-11D7-BF01-0030654886A6@overdose.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Ryan wrote:
> Hi all,
> 
> I'm running a Samba server under FreeBSD Release 4.8, so far everything 
> has been just spanky but I added a new share yesterday and now I have an 
> odd problem with my OS X clients.
> 
> Actually I only tried to copy files to the server from an OS X machine 
> for the first time yesterday so I don't actually know how long the 
> problem has been around. I do remember having some trouble organising 
> files on the server from an OS X client a week or so again.

Well, I just tested here with my IMac vs. FreeBSD/Samba server and I
could not repeat the problem.  I'm using Mac OS 10.2.4, FreeBSD 4.8-RC
(from March 3) and Samba 2.2.4_1 from ports ... looks like it's time
to update that.
Actually, I seem to remember some documented problems with certain
versions of Mac OS and SMB shares.  Is your version of Mac OS up to
date?

> In fact, shortly after the server crashed "No more mbufs?" I restarted 
> and it's been fine since.

You may want to raise the number of mbufs available on this server.

> The problem is this:
> 
> When I try to copy files from the OS X clients (and I have tried 2 to be 
> sure), I see a
> 
>  "Could not complete the operation because you don't have enough 
> privileges" error.

I tried copy and create with both files and folders with no problems.

> Of corse, I am sure that the user I am logged on to the server as has 
> full read write access to the directory concerned. To be sure I have 
> logged on as different users. I find this problem in the Home 
> Directories as well!
> 
> Just to further confuse things - I am able to create a new folder and 
> delete it again, although I am never permitted to put a file in it.  And 
> even stranger - when the copy fails it leaves a 0k file at the 
> destination with name of the file I try to copy.

This sounds vaguely familiar.  I can't remember details, but I seem to
recall installing a server a one point where files would be created, and
when the client actually tried to write to the file, they had no
permissions.  The error was somewhere in the permissions and create
ownership settings in Samba.  Basically, Samba was being told to create
all files as another user, with somewhat strict permissions, but then
the permissions were too strict to access the file.

Check the unix permissions on the 0 byte file that gets created.  If they
would prevent writing to that file, check your file creation options in
samba.

> All this works perfectly on Win XP, Win 200 or Win 98 clients.

Are the Win machines logging in differently than the Macs?

> We also run a Win 200AS file server and the OS X clients seem to have no 
> problem coping files to shares on that machine.
> 
> Confused? - I am!

Yeah, so was I ... assuming that you're having the same problem I was.

> Chances are that I'm doing something daft - usually the way but I can't 
> see what.

Check the perms and the samba options.  I may be wrong, but that's what it
sounds like.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E75C831.1040904>