On Thu, Jul 29, 2004 at 09:28:04PM -0300, Vandeir Eduardo wrote: > Hi guys, > > samba client version 3.0.5, server version 3.0.5, kernel 2.4.26. > > Relevant configs on server: > unix extensions = Yes > wide links = Yes > follow symlinks = Yes > > On client computer with home user mounted via smbfs > I'm trying this: > > D102-054 [/lp/home/dito/tmp] > cd /tmp > D102-054 [/tmp] > mkdir dest_dir > D102-054 [/tmp] > cd - > D102-054 [/lp/home/dito/tmp] > ln -s /tmp/dest_dir orig_dir > D102-054 [/lp/home/dito/tmp] > ls -la > total 524292 > drwx------ 1 dito bcc 0 Jul 29 21:11 . > drwx-----x 1 dito alunos 4096 Jul 29 21:08 .. > lrwxrwxrwx 1 dito bcc 12 Jul 29 21:11 orig_dir -> tmp/dest_dir > > Why samba is linking to "tmp/dest_dir" when should link > to "/tmp/dest_dir"? (note initial slash missing) > > D102-054 [/lp/home/dito/tmp] > mkdir tmp2 > D102-054 [/lp/home/dito/tmp] > mkdir dest_dir2 > D102-054 [/lp/home/dito/tmp] > cd tmp2 > D102-054 [/lp/home/dito/tmp/tmp2] > ln -s ../dest_dir2 orig_dir2 > ln: creating symbolic link `orig_dir2' to `../dest_dir2': input/output error > > Other symlinks that don't start whith ".." ou "/" works > properly. What's going on here? This is driving me crazy!
smbfs doesn't support symlinks correctly I believe. I would strongly suggest using the CIFSFS client - this does work and is in fact the target platform for Linux client -> Samba Server CIFS. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
