Re: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-12-04 Thread Tom Schaefer
Right, I can't drag a file in the finder to a mounted samba 3.0 share, I'll get an 
"insufficient privileges error".  But if open the Terminal I can copy the file onto 
the samba share no problem with the cp command.

You've got me thinking though - the whole unicode, UTF8, character set conversion, 
codepages, all that bundle of fun, I could see that perhaps being a problem, I'm going 
to dig into that.

Thanks,
Tom

On Wed, 3 Dec 2003 17:29:58 -0600
"Philip Edelbrock" <[EMAIL PROTECTED]> wrote:

> Re: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients
> 
> What happens w/ 3.0?  You get permission errors when trying to copy files?
> 
> I have a couple servers here running Baltra+Samba 3.0.  Just as a sanity
> check, I logged in using my laptop (10.3.1) to a test server, created a
> new directory, copied a directory containing some files (an application
> folder), renamed, moved a folder inside another, and deleted it.  No
> problems.
> 
> Here's a relevent section of my smb.conf:
> 
> ---snip---
> ; UTF-8 encoding to match Baltra
> 
>unix charset = UTF8
>unicode = yes
> 
>   dos charset = ASCII
> 
> ; Allows you to save your password on the client (OS-X as well as WinXP)
> encrypt passwords = yes
> smb passwd file = /usr/local/samba/private/smbpasswd
> 
> ; Hide some irrelevent files
> veto files = /Temporary Items/Network Trash
> Folder/TheFindByContentFolder/TheVolumeSettingsFolder/
> 
> ; When deleting, remove those hidden veto files as well.
> delete veto files = yes
> ---snip---
> 
> Make sure you aren't blocking the creation/deletion of dot files (as
> Will suggested).
> 
> Phil
> 
> Tom Schaefer wrote:
> 
> >Thanks but yes I've tried 3.0, I should have mentioned that in my post.
> >
> >Thanks though,
> >Tom
> >
> >At 03:16 PM 12/3/03 -0600, you wrote:
> > 
> >
> >>   
> >>   It seems to solve a lot of the issues OS-X  
> >> btw-Samba 3.0 is what is used in OS-X as the SMB  
> >>server service. 
> >> Phil 
> >>http://www.baltra.org   Tom Schaefer wrote:   >  Yes, I experience that
> >>exact same issue with Mac OS 
> >>   
> >>
> >>>10.2.x and like you was waiting for 10.3 which I got to try for the first 
> >>>   As you say 
> >>>everything works fine if you drop to a shell prompt you can do all the cp 
> >>>-r, mv, rm whatever you want but in the GUI you get insufficient 
> >>> In fact I know 
> >>> From a post I 
> >>>found elsewhare I gather 10.2 is fine but then it all got mucked up with 
> >>>the subsequent releases 10.2.x and now 10.3. 
> >>>
> >>> Now in my case 
> >>>its not Redhat, its Sparc/Solaris and the weird weird thing about it is 
> >>>that its only a problem if I'm running a Samba compiled for Sparc as a 
> >>> A 32bit compile of Samba keeps the Macintoshes happy but thats 
> >>>really not an option for me due to a bug in Solaris where if you are 
> >>>running a 32bit samba you are limited to 255 users which is not nearly 
> >>>enough in my case. 
> >>>
> >>> But since then I've 
> >>>gathered up a bunch of postings, mostly from www.apple.com/support (most 
> >>>of which have expired off that server but I still have copies) of people 
> >>>describing these exact same symptoms on Redhat, Suse, Gentoo, Mandrake, 
> >>>and FreeBSD, and possibly IRIX (the guy wasn't specific enough to say for 
> >>> And now that I think about someone I work with was in touch with 
> >>>another site running Solaris like us and having the same problem. 
> >>>
> >>> I don't know if its an Apple problem or something in 
> >>> All I know is its been broke quite a while - at least for a 
> >>> I tried Samba on Redhat back 
> >>>in July to see if I could replicate the problem I was having with Mac OS 
> >>> In my experiment Redhat worked fine, go 
> >>>figure, thats why I thought it was a Sun problem until I've seen all the 
> >>>subsequent posts like the one from yourself. 
> >>>
> >>>If you figure out anything about it whatsoever please drop me a note as 
> >>>this is about to become a HUGE headache for me as the university I work 
> >>>for just bought a classroom full of these OS 10 boxes and expect the 
> >>>students to be able to mount their disk space just like how they get a 
> >>> So I'm scrambling 
> >>&

Re: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-12-04 Thread Tom Schaefer
My feeling is that yes it has something to do with the resource fork files since you 
are right, thats what is different when copying files through the Finder vs. the 
terminal.  But I've already barked up that tree as you put it.  There was a guy in the 
newsgroups who was intentionally vetoing the dot files just because he didn't like all 
the clutter and he was having problems pretty much exactly as what I'm seeing.  He 
figured out he needed to quit vetoing those files and that fixed it for him.  Problem 
is, I'm not vetoing anything.  

Dot files are "hidden" by default, I don't know why it would matter but I'm going to 
try a "hide dot files = no" today.  

Thanks,
Tom Schaefer

On Wed, 3 Dec 2003 16:25:33 -0500
"William Enestvedt" <[EMAIL PROTECTED]> wrote:

> Is this related to handling of files with resource forks?
>Manipulating files in Terminal, IIRC, ignores the resource fork -- but Finder 
> actions (like dragging a folder to upload it) include those resources. 
>You might try barking up this tree. :7) (Sorry I can't make any concrete 
> suggestions.)
> -wde
> --
> Will Enestvedt
> UNIX System Administrator
> Johnson & Wales University -- Providence, RI
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-12-03 Thread Philip Edelbrock
That could be true.  If you veto 'dot' files in smb.conf, then you would 
get strange permission errors from OS-X clients.  OS-X wants to put 
._filename files (AppleDouble versions of the resource forks) and 
.DS_Store files (containing some file metadata like Finder comments) on 
the server.

If you want to preserve resource forks to other Macs while using 
Netatalk on the same server, take a look at Baltra (a patch for 
Netatalk).  There is also some configuration and related info there for 
Samba+Netatalk+Baltra:

http://www.baltra.org/

Also, I would suggest using Samba 3.x as the SMB service for OS-X.  It 
solves some problems with filenames (unicode) and a few other oddities 
(Apple has used the Samba 3.0 base since at least Samba 3.0-alpha21 as 
the SMB service under OS-X and seemed to have used it for 
development/debugging of the SMB client in Darwin).

Good luck!

Phil

William Enestvedt wrote:

Is this related to handling of files with resource forks?
  Manipulating files in Terminal, IIRC, ignores the resource fork -- but Finder actions (like dragging a folder to upload it) include those resources. 
  You might try barking up this tree. :7) (Sorry I can't make any concrete suggestions.)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson & Wales University -- Providence, RI
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-12-03 Thread William Enestvedt
Is this related to handling of files with resource forks?
   Manipulating files in Terminal, IIRC, ignores the resource fork -- but Finder 
actions (like dragging a folder to upload it) include those resources. 
   You might try barking up this tree. :7) (Sorry I can't make any concrete 
suggestions.)
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson & Wales University -- Providence, RI
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-12-03 Thread Tom Schaefer
Welcome to the club.  Yes, I experience that exact same issue with Mac OS
10.2.x and like you was waiting for 10.3 which I got to try for the first
time today.  Like you it didn't fix anything.  Its crazy.  As you say
everything works fine if you drop to a shell prompt you can do all the cp
-r, mv, rm whatever you want but in the GUI you get insufficient
privileges errors. Yes, to Windows 2K systems its fine.  In fact I know
first hand Mac OS 10 - 10.1.x to my Samba server are fine.  From a post I
found elsewhare I gather 10.2 is fine but then it all got mucked up with
the subsequent releases 10.2.x and now 10.3.

I originally posted about this problem back in early July.  Now in my case
its not Redhat, its Sparc/Solaris and the weird weird thing about it is
that its only a problem if I'm running a Samba compiled for Sparc as a
64bit app.  A 32bit compile of Samba keeps the Macintoshes happy but thats
really not an option for me due to a bug in Solaris where if you are
running a 32bit samba you are limited to 255 users which is not nearly
enough in my case.

Back in July I thought it was probably a Sun problem.  But since then I've
gathered up a bunch of postings, mostly from www.apple.com/support (most
of which have expired off that server but I still have copies) of people
describing these exact same symptoms on Redhat, Suse, Gentoo, Mandrake,
and FreeBSD, and possibly IRIX (the guy wasn't specific enough to say for
sure).  And now that I think about someone I work with was in touch with
another site running Solaris like us and having the same problem.

Something is up.  I don't know if its an Apple problem or something in
Samba.  All I know is its been broke quite a while - at least for a
scattering of cursed souls like you and me.  I tried Samba on Redhat back
in July to see if I could replicate the problem I was having with Mac OS
10.2.x clients to Solaris.  In my experiment Redhat worked fine, go
figure, thats why I thought it was a Sun problem until I've seen all the
subsequent posts like the one from yourself.

If you figure out anything about it whatsoever please drop me a note as
this is about to become a HUGE headache for me as the university I work
for just bought a classroom full of these OS 10 boxes and expect the
students to be able to mount their disk space just like how they get a
mapped drive letter served out from Samba to the PCs.  So I'm scrambling
for a solution.

Tom Schaefer
UNIX Administrator
University of Missouri Saint Louis


On Thu, 06 Nov 2003 17:15:42 +
Jinn Koriech <[EMAIL PROTECTED]> wrote:

> Been having very similar problems on RedHad-7.3 with Samba 2.2.7-3.7.3.
> Currently users can create folders, but they can't copy files.  An entry
> is created for the file on the server, but no data ever gets transfered.
> 
> I've found that if you manipulate the files from the Terminal there is
> no problem.  That is, cp, mv, touch all work fine in the terminal.  
> 
> I conclude that it is the Aqua interface.  I found that while native
> Aqua apps can't get a handle on the shares, an app such as jEdit on OSX
> _does_ work without a glitch.
> 
> I waited for OSX 10.3 (panther) to come out in the hope that the problem
> would be resolved, but no luck!  Still broken!
> 
> On the other hand, it appears that shares from a Windoze 2000 Server
> work fine, so I'm not sure what to make of it - is it a Samba issue or
> an Apple problem?
> 
> Does anyone else experience anything like this?
> 
> Jinn
> 
> 
> 
> 
> 
> On Tue, 21 Oct 2003 09:00:20 +0200, Götz Reinicke wrote:
> > Hi,
> > 
> > we run a RH9 samba 2.2.8 ext3 Server and have some problems with MacOS
X > > Clients: They aren't allowed to write directories containing files
to > > any of our shares.
> > 
> > I connect to the sambaserver with smb://servername/sharename and a
samba > > user. This user is allowed to create new folders and he can copy
files > > into this folder.
> > 
> > But if he tries to copy the local folder containing files to the share
> > or into a newly created folder on this share, ther is an errormessage 
> > saying, that the user has not the necessary access rights :-(
> > 
> > An other RH9 Server with samba 2.2.8 did'nt have this problem
> > 
> > I controlled the writelist option, the directory permissions.
> > 
> > Any ideas??
> > 
> > Thanks
> > 
> > Götz Reinicke
> > 
> > -- 
> > Götz Reinicke
> > IT Koordinator - IT OfficeNet
> > 
> > Tel. +49 (0) 7141 - 969 420
> > Fax  +49 (0) 7141 - 969 55 420
> > [EMAIL PROTECTED]
> > 
> > Filmakademie Baden-Württemberg
> > Mathildenstr. 20
> > 71638 Ludwigsburg
> > www.filmakademie.de
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-12-03 Thread Tom Schaefer
Welcome to the club.  Yes, I experience that exact same issue with Mac OS
10.2.x and like you was waiting for 10.3 which I got to try for the first
time today.  Like you it didn't fix anything.  Its crazy.  As you say
everything works fine if you drop to a shell prompt you can do all the cp
-r, mv, rm whatever you want but in the GUI you get insufficient
privileges errors. Yes, to Windows 2K systems its fine.  In fact I know
first hand Mac OS 10 - 10.1.x to my Samba server are fine.  From a post I
found elsewhare I gather 10.2 is fine but then it all got mucked up with
the subsequent releases 10.2.x and now 10.3.

I originally posted about this problem back in early July.  Now in my case
its not Redhat, its Sparc/Solaris and the weird weird thing about it is
that its only a problem if I'm running a Samba compiled for Sparc as a
64bit app.  A 32bit compile of Samba keeps the Macintoshes happy but thats
really not an option for me due to a bug in Solaris where if you are
running a 32bit samba you are limited to 255 users which is not nearly
enough in my case.

Back in July I thought it was probably a Sun problem.  But since then I've
gathered up a bunch of postings, mostly from www.apple.com/support (most
of which have expired off that server but I still have copies) of people
describing these exact same symptoms on Redhat, Suse, Gentoo, Mandrake,
and FreeBSD, and possibly IRIX (the guy wasn't specific enough to say for
sure).  And now that I think about someone I work with was in touch with
another site running Solaris like us and having the same problem.

Something is up.  I don't know if its an Apple problem or something in
Samba.  All I know is its been broke quite a while - at least for a
scattering of cursed souls like you and me.  I tried Samba on Redhat back
in July to see if I could replicate the problem I was having with Mac OS
10.2.x clients to Solaris.  In my experiment Redhat worked fine, go
figure, thats why I thought it was a Sun problem until I've seen all the
subsequent posts like the one from yourself.

If you figure out anything about it whatsoever please drop me a note as
this is about to become a HUGE headache for me as the university I work
for just bought a classroom full of these OS 10 boxes and expect the
students to be able to mount their disk space just like how they get a
mapped drive letter served out from Samba to the PCs.  So I'm scrambling
for a solution.

Tom Schaefer
UNIX Administrator
University of Missouri Saint Louis


On Thu, 06 Nov 2003 17:15:42 +
Jinn Koriech <[EMAIL PROTECTED]> wrote:

> Been having very similar problems on RedHad-7.3 with Samba 2.2.7-3.7.3.
> Currently users can create folders, but they can't copy files.  An entry
> is created for the file on the server, but no data ever gets transfered.
> 
> I've found that if you manipulate the files from the Terminal there is
> no problem.  That is, cp, mv, touch all work fine in the terminal.  
> 
> I conclude that it is the Aqua interface.  I found that while native
> Aqua apps can't get a handle on the shares, an app such as jEdit on OSX
> _does_ work without a glitch.
> 
> I waited for OSX 10.3 (panther) to come out in the hope that the problem
> would be resolved, but no luck!  Still broken!
> 
> On the other hand, it appears that shares from a Windoze 2000 Server
> work fine, so I'm not sure what to make of it - is it a Samba issue or
> an Apple problem?
> 
> Does anyone else experience anything like this?
> 
> Jinn
> 
> 
> 
> 
> 
> On Tue, 21 Oct 2003 09:00:20 +0200, Götz Reinicke wrote:
> > Hi,
> > 
> > we run a RH9 samba 2.2.8 ext3 Server and have some problems with MacOS
X > > Clients: They aren't allowed to write directories containing files
to > > any of our shares.
> > 
> > I connect to the sambaserver with smb://servername/sharename and a
samba > > user. This user is allowed to create new folders and he can copy
files > > into this folder.
> > 
> > But if he tries to copy the local folder containing files to the share
> > or into a newly created folder on this share, ther is an errormessage 
> > saying, that the user has not the necessary access rights :-(
> > 
> > An other RH9 Server with samba 2.2.8 did'nt have this problem
> > 
> > I controlled the writelist option, the directory permissions.
> > 
> > Any ideas??
> > 
> > Thanks
> > 
> > Götz Reinicke
> > 
> > -- 
> > Götz Reinicke
> > IT Koordinator - IT OfficeNet
> > 
> > Tel. +49 (0) 7141 - 969 420
> > Fax  +49 (0) 7141 - 969 55 420
> > [EMAIL PROTECTED]
> > 
> > Filmakademie Baden-Württemberg
> > Mathildenstr. 20
> > 71638 Ludwigsburg
> > www.filmakademie.de
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-11-06 Thread Jinn Koriech
Been having very similar problems on RedHad-7.3 with Samba 2.2.7-3.7.3.
Currently users can create folders, but they can't copy files.  An entry
is created for the file on the server, but no data ever gets transfered.

I've found that if you manipulate the files from the Terminal there is
no problem.  That is, cp, mv, touch all work fine in the terminal.  

I conclude that it is the Aqua interface.  I found that while native
Aqua apps can't get a handle on the shares, an app such as jEdit on OSX
_does_ work without a glitch.

I waited for OSX 10.3 (panther) to come out in the hope that the problem
would be resolved, but no luck!  Still broken!

On the other hand, it appears that shares from a Windoze 2000 Server
work fine, so I'm not sure what to make of it - is it a Samba issue or
an Apple problem?

Does anyone else experience anything like this?

Jinn





On Tue, 21 Oct 2003 09:00:20 +0200, Götz Reinicke wrote:
> Hi,
> 
> we run a RH9 samba 2.2.8 ext3 Server and have some problems with MacOS X 
> Clients: They aren't allowed to write directories containing files to 
> any of our shares.
> 
> I connect to the sambaserver with smb://servername/sharename and a samba 
> user. This user is allowed to create new folders and he can copy files 
> into this folder.
> 
> But if he tries to copy the local folder containing files to the share 
> or into a newly created folder on this share, ther is an errormessage 
> saying, that the user has not the necessary access rights :-(
> 
> An other RH9 Server with samba 2.2.8 did'nt have this problem
> 
> I controlled the writelist option, the directory permissions.
> 
> Any ideas??
> 
> Thanks
> 
> Götz Reinicke
> 
> -- 
> Götz Reinicke
> IT Koordinator - IT OfficeNet
> 
> Tel. +49 (0) 7141 - 969 420
> Fax  +49 (0) 7141 - 969 55 420
> [EMAIL PROTECTED]
> 
> Filmakademie Baden-Württemberg
> Mathildenstr. 20
> 71638 Ludwigsburg
> www.filmakademie.de


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] RH 9, Samba 2.2.8 and Mac OS X Clients

2003-10-20 Thread Götz Reinicke
Hi,

we run a RH9 samba 2.2.8 ext3 Server and have some problems with MacOS X 
Clients: They aren't allowed to write directories containing files to 
any of our shares.

I connect to the sambaserver with smb://servername/sharename and a samba 
user. This user is allowed to create new folders and he can copy files 
into this folder.

But if he tries to copy the local folder containing files to the share 
or into a newly created folder on this share, ther is an errormessage 
saying, that the user has not the necessary access rights :-(

An other RH9 Server with samba 2.2.8 did'nt have this problem

I controlled the writelist option, the directory permissions.

Any ideas??

Thanks

Götz Reinicke

--
Götz Reinicke
IT Koordinator - IT OfficeNet
Tel. +49 (0) 7141 - 969 420
Fax  +49 (0) 7141 - 969 55 420
[EMAIL PROTECTED]
Filmakademie Baden-Württemberg
Mathildenstr. 20
71638 Ludwigsburg
www.filmakademie.de
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba