View previous topic :: View next topic |
Author |
Message |
besfred n00b
Joined: 12 Feb 2004 Posts: 7
|
Posted: Thu Feb 12, 2004 10:19 am Post subject: Samba share including a local symlink [SOLVED] |
|
|
Hi everyone,
I run a samba 3.0.1 server for file serving in my home network. Thats because my brother doesnt want to switch to linux.
On one samba share (on the server filesystem) i use a symlink to pull in another hard drive. This worked quite nicely.
But since a while (a month or so) the symlink was reported as "link (broken)" in nautilus (i run gentoo ~x86 on both client and server box) and cd-ing into the directory the link points to doesnt work anymore.
Interesting thing is that win2k as client can follow the link correctly.
Has anyone experienced the same odd problem?
Ebuilds are uptodate in both client and server. I suspect an ebuild update on the client causes this problem. I just dont know which one.
Also downgraded samba from 3.0.1-r1 to 3.0.1 (on client and server) but this didnt help.
Any thoughts?
Last edited by besfred on Wed Feb 18, 2004 6:51 pm; edited 1 time in total |
|
Back to top |
|
|
besfred n00b
Joined: 12 Feb 2004 Posts: 7
|
Posted: Sat Feb 14, 2004 12:44 pm Post subject: |
|
|
another kernel (2.6.3-rc1-mm1) didnt help either.
any ideas? |
|
Back to top |
|
|
kachaffeous Tux's lil' helper
Joined: 07 Jun 2002 Posts: 86
|
Posted: Sat Feb 14, 2004 3:14 pm Post subject: |
|
|
Have you tried:
ls -al linkname
in a terminal window? It should show you where it is pointing to. Then
you can verify it is pointing to the right location and that the location is there. |
|
Back to top |
|
|
besfred n00b
Joined: 12 Feb 2004 Posts: 7
|
Posted: Sat Feb 14, 2004 6:43 pm Post subject: |
|
|
on the server, the link points to the correct direction.
and if i use win2k as client i can navigate to that linked-to directory with windoes explorer.
but with linux as client it doesnt work.
i am under the impression that my linux sees the symlink and thinks it points to a local directory instead of that one on the server.
/me goes verifying this assumption....
verified... i created a local directory with the same name as the one on the server and the mounted symlink points to the local one. ((
is this a bug in the smbfs kernel module? wrong symlink resolving ? |
|
Back to top |
|
|
besfred n00b
Joined: 12 Feb 2004 Posts: 7
|
Posted: Mon Feb 16, 2004 10:06 am Post subject: |
|
|
Upgrading to samba 3.0.2a on client and server. Lets see if this helps...
I am positive that its a client thing. |
|
Back to top |
|
|
besfred n00b
Joined: 12 Feb 2004 Posts: 7
|
Posted: Wed Feb 18, 2004 5:47 pm Post subject: |
|
|
still no workie
is this a samba configuration issue? (shouldnt be since it works with windows clients)
what could be the problem? really the smbfs kernel module?
does the cifs kernel module work with samba3 ? maybe i try that one...
hope somebody can help me |
|
Back to top |
|
|
besfred n00b
Joined: 12 Feb 2004 Posts: 7
|
Posted: Wed Feb 18, 2004 6:47 pm Post subject: |
|
|
while discusing with two guys on IRC over at irc.xaraya.com about this topic, one of them chatted with some IBM samba devs he knew.
the simple solution is the little server option
"unix extensions", hidden in the section "Globals" -> "Protocols"
switching that to "off" and restarting smbd and nmbd everything worked again. Thanx to those who helped |
|
Back to top |
|
|
starachna Tux's lil' helper
Joined: 17 Apr 2003 Posts: 104 Location: south africa
|
Posted: Fri Jun 18, 2004 12:48 pm Post subject: |
|
|
Many thanks for the replie, i was having the same problem, am i gald i found this post once again, many thanks _________________ http://www.3am.co.za - za psy trance |
|
Back to top |
|
|
tscolari l33t
Joined: 02 May 2004 Posts: 602 Location: curitiba - pr - Brazil
|
Posted: Fri Jun 18, 2004 2:09 pm Post subject: |
|
|
QUESTION ABOUT SAMBA:
Im using samba here too, so i will post this in your post to dont have to do a new one, hope you dont mind
I use samba and i see my father computer with runs windows and its shared directories. But i would like to know, how can i share directories with them?
i use gentoo here, i just make no idea of how making a directorie avaiable to them to read it...
can you help me? |
|
Back to top |
|
|
decrease789 Apprentice
Joined: 25 Jun 2004 Posts: 194 Location: The United Krapdom
|
Posted: Fri Jun 25, 2004 4:50 pm Post subject: hi |
|
|
hi
I am having the same problem as well!!! |
|
Back to top |
|
|
AB20501 n00b
Joined: 16 May 2004 Posts: 2
|
Posted: Sat Jul 03, 2004 6:13 pm Post subject: |
|
|
Cheers,
That sorted it out for me too.
(put "unix extensions = No" in the [global] section of /etc/samba.smb.conf) |
|
Back to top |
|
|
lothar Tux's lil' helper
Joined: 10 Mar 2004 Posts: 87 Location: Norway
|
Posted: Wed Sep 15, 2004 5:15 pm Post subject: |
|
|
Hey, I had this problem as well, now it's working fine Thanks
Thought I'd just make it clear what to do (It's easier to find the solution when Code is used)
/etc/samba/smb.conf
Code: | [Global]
unix extensions = No
|
|
|
Back to top |
|
|
|