Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba share including a local symlink [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
besfred
n00b
n00b


Joined: 12 Feb 2004
Posts: 7

PostPosted: Thu Feb 12, 2004 10:19 am    Post subject: Samba share including a local symlink [SOLVED] Reply with quote

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. :roll:
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
View user's profile Send private message
besfred
n00b
n00b


Joined: 12 Feb 2004
Posts: 7

PostPosted: Sat Feb 14, 2004 12:44 pm    Post subject: Reply with quote

another kernel (2.6.3-rc1-mm1) didnt help either.
any ideas?
Back to top
View user's profile Send private message
kachaffeous
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jun 2002
Posts: 86

PostPosted: Sat Feb 14, 2004 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
besfred
n00b
n00b


Joined: 12 Feb 2004
Posts: 7

PostPosted: Sat Feb 14, 2004 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
besfred
n00b
n00b


Joined: 12 Feb 2004
Posts: 7

PostPosted: Mon Feb 16, 2004 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
besfred
n00b
n00b


Joined: 12 Feb 2004
Posts: 7

PostPosted: Wed Feb 18, 2004 5:47 pm    Post subject: Reply with quote

still no workie :cry:
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
View user's profile Send private message
besfred
n00b
n00b


Joined: 12 Feb 2004
Posts: 7

PostPosted: Wed Feb 18, 2004 6:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
starachna
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 104
Location: south africa

PostPosted: Fri Jun 18, 2004 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
tscolari
l33t
l33t


Joined: 02 May 2004
Posts: 602
Location: curitiba - pr - Brazil

PostPosted: Fri Jun 18, 2004 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
decrease789
Apprentice
Apprentice


Joined: 25 Jun 2004
Posts: 194
Location: The United Krapdom

PostPosted: Fri Jun 25, 2004 4:50 pm    Post subject: hi Reply with quote

hi

I am having the same problem as well!!!
Back to top
View user's profile Send private message
AB20501
n00b
n00b


Joined: 16 May 2004
Posts: 2

PostPosted: Sat Jul 03, 2004 6:13 pm    Post subject: Reply with quote

Cheers,

That sorted it out for me too.

(put "unix extensions = No" in the [global] section of /etc/samba.smb.conf)
Back to top
View user's profile Send private message
lothar
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2004
Posts: 87
Location: Norway

PostPosted: Wed Sep 15, 2004 5:15 pm    Post subject: Reply with quote

Hey, I had this problem as well, now it's working fine :D 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum