2002-04-13 12:32:47

by K Shyam

[permalink] [raw]
Subject: symlink support for sambafs.

Hello;
Does linux kernel have symlink support for sambfs ? I tried doing a
search on the internet and i obtained a site that gives patches till
version 2.4.0.The address is :
http://131.130.199.155/~aoe/mystuff/smb.symlinks/
Do the latest versions of the kernel have support for symlinks in smbfs ?
I would like to know whether anyone has experiemented with it before i
jump into putting my own effort into porting the code that is already present
to the current kernel.
Finally is symlinks in sambafs a security hazard and hence it is not
implemented ?
Thanks
K.Shyam

--
Unix is a simple Operating System.It needs a genius to understand the simplicity.
--Brian W.Kernighan
\\\|///
\\ ~ ~ //
( @ @ )
---------------------oOOo-(_)-oOOo-------------------------
|K.Shyam ([email protected] ) Sasken Comm Tech Ltd, |
|Internet Access Solutions (http://shyamk.freeservers.com)|
|Amar Jyothi Layout,Ring Road,Domlur,Bangalore 560071 |
|Phone : +91-80-5355501,5355503 extn : 3076.ask for me!! |
-----------------------------------------------------------


2002-04-14 10:35:57

by Urban Widmark

[permalink] [raw]
Subject: Re: symlink support for sambafs.

On Sat, 13 Apr 2002, K Shyam wrote:

> Hello;
> Does linux kernel have symlink support for sambfs ? I tried doing a
> search on the internet and i obtained a site that gives patches till
> version 2.4.0.The address is :
> http://131.130.199.155/~aoe/mystuff/smb.symlinks/
> Do the latest versions of the kernel have support for symlinks in smbfs ?

No.

> I would like to know whether anyone has experiemented with it before i
> jump into putting my own effort into porting the code that is already present
> to the current kernel.
> Finally is symlinks in sambafs a security hazard and hence it is not
> implemented ?

No, that's not why.

This patch uses its own format to store symlinks in. I know cygwin also
stores symlinks in a special format, and it would be nice if it could use
the same (if possible). It may have been something else I didn't like
about the patch too.

Now there is also a potential conflict with the work being done on the
unix extensions to SMB which allows a samba server to better serve files
to a unix client. This includes symlinks.

/Urban