I have a Win2K Server that acts as a file server to a bunch of Macintosh machines on the network. Today I installed samba-3.0.5 on a Fedora1 machine, and mounted one of the server shares and tried to read it. Much to my surprise, I found files that are being listed like this: -rwxr-xr-x 1 root root 0 May 13 16:30 Icon?* -rwxr-xr-x 1 root root 25649 Aug 23 2000 webslide151.gif* -rwxr-xr-x 1 root root 57619 Mar 26 08:22 ???webslide1581.JPG* -rwxr-xr-x 1 root root 26132 Mar 26 08:22 webslide1631.JPG* -rwxr-xr-x 1 root root 67711 Aug 18 1999 webslide176.gif* -rwxr-xr-x 1 root root 70559 Mar 26 08:22 webslide1771.JPG* -rwxr-xr-x 1 root root 80792 Mar 26 08:23 ???webslide1851.JPG* When looking at the files on the Win2K serer, they're fine - they can be opened with no problems or anything. There are no extra characters on those file names, and yet samba displays them with ??? in the front. The "Icon?" is the folder icon resource that any Mac machine creates in any folder they dive in to. If I try to run a 'du' on the mount, I get errors like this: $ du -h --max-depth=1 31G ./ INKJET 132M ./Font Library du: cannot access `./ICON?': No such file or directory 680M ./Jon S Folder 8.0K ./Network Trash Folder 8.0K ./RECYCLER If I run rsync on the mount (which is ultimately what's going to happen,) the first run gives me errors on the three "weird" files (Icon?, and the two that start with ???) and a second run will copy them over, as if nothing happened. Anyone have any idea what's going on here? Is it the Mac resource forks that are screwing with me here? Anything I can do to fix this? -- M | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
hi we've had nearly the same setup and also run into problems.... what we did is, we copied the files with a MAC in between (between nt server and samba) we made a netatalk share, copied the files via afp (or smb from mac, if you're not workgin with afp on MAC) and then shared this share also in samba give it a try greez Ashley M. Kirchner schrieb:> > I have a Win2K Server that acts as a file server to a bunch of > Macintosh machines on the network. Today I installed samba-3.0.5 on a > Fedora1 machine, and mounted one of the server shares and tried to read > it. Much to my surprise, I found files that are being listed like this: > > -rwxr-xr-x 1 root root 0 May 13 16:30 Icon?* > -rwxr-xr-x 1 root root 25649 Aug 23 2000 webslide151.gif* > -rwxr-xr-x 1 root root 57619 Mar 26 08:22 ???webslide1581.JPG* > -rwxr-xr-x 1 root root 26132 Mar 26 08:22 webslide1631.JPG* > -rwxr-xr-x 1 root root 67711 Aug 18 1999 webslide176.gif* > -rwxr-xr-x 1 root root 70559 Mar 26 08:22 webslide1771.JPG* > -rwxr-xr-x 1 root root 80792 Mar 26 08:23 ???webslide1851.JPG* > > When looking at the files on the Win2K serer, they're fine - they can > be opened with no problems or anything. There are no extra characters > on those file names, and yet samba displays them with ??? in the front. > The "Icon?" is the folder icon resource that any Mac machine creates in > any folder they dive in to. > > If I try to run a 'du' on the mount, I get errors like this: > > $ du -h --max-depth=1 > 31G ./ INKJET > 132M ./Font Library > du: cannot access `./ICON?': No such file or directory > 680M ./Jon S Folder > 8.0K ./Network Trash Folder > 8.0K ./RECYCLER > > If I run rsync on the mount (which is ultimately what's going to > happen,) the first run gives me errors on the three "weird" files > (Icon?, and the two that start with ???) and a second run will copy them > over, as if nothing happened. > > Anyone have any idea what's going on here? Is it the Mac resource > forks that are screwing with me here? Anything I can do to fix this? >-- "Matrix - more than a vision" ************************************************** Michael Gasch - Central IT Department - Max Planck Institute for Evolutionary Anthropology Deutscher Platz 6 04103 Leipzig Germany **************************************************