Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba, samba, samba......... :S
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
xnd
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 132
Location: Sherbrooke, Quebec, Canada

PostPosted: Fri May 20, 2005 12:13 am    Post subject: Samba, samba, samba......... :S Reply with quote

Hi everybody,

I have a weird issue with samba. First of all, both my server and client run gentoo. I am trying to mount my server's share on my client via fstab. I can mount them, but here is the thing...

From my client, when i use smbclient, i can connect to my shares, and everything works perfectly. Access rights are also perfect. When i use smbmount, or when i mount those share via fstab, i can't browse any folder.

Here is an example of what i am talking about:

gate_hdb1 mounted:
Quote:
[chris@gentoo Thu May 19 20:07:12]
[/mnt]$ ls -lah
total 1.0K
drwxr-xr-x 10 root root 264 May 13 16:17 .
drwxr-xr-x 21 root root 496 Apr 23 15:56 ..
drwxr-xr-x 5 root root 144 May 13 16:17 gate
[chris@gentoo Thu May 19 20:07:13]
[/mnt]$


Here you can see chris:users on gate_hdb1 as requested by fstab
Quote:
[chris@gentoo Thu May 19 20:07:46]
[/mnt]$ cd gate/
[chris@gentoo Thu May 19 20:07:49]
[/mnt/gate]$ ll
total 4
drwxr-xr-x 2 root root 48 Mar 27 10:43 gate_free
drwxr-xr-x 1 chris users 4096 May 19 20:04 gate_hdb1
drwxr-xr-x 2 root root 48 Mar 27 10:43 gate_hdb2
[chris@gentoo Thu May 19 20:07:50]
[/mnt/gate]$


Look the groups here (410, 411), chris:users is gone... How come it is changed for 410 and 411?????????????
Quote:
[/mnt/gate]$ cd gate_hdb1/
[chris@gentoo Thu May 19 20:08:07]
[/mnt/gate/gate_hdb1]$ ll
total 657570
drwxrwx--- 1 root 411 0 Aug 16 2004 photos
drwxrws--- 1 root 410 0 May 19 13:09 public
-rwxrwx--- 1 root 411 672693805 Jan 21 05:35 srv_root_2005-01-20.000
[chris@gentoo Thu May 19 20:08:08]
[/mnt/gate/gate_hdb1]$


Quote:
[/mnt/gate/gate_hdb1]$ cd photos/
bash: cd: photos/: Permission denied
[chris@gentoo Thu May 19 20:08:37]
[/mnt/gate/gate_hdb1]$


OK... The groups 410 and 411 are on my server side.

Here is the related line in the fstab file:

Quote:
//192.168.1.5/hdb1 /mnt/gate/gate_hdb1 smbfs auto,user,credentials=/etc/gateCredent,uid=chris,gid=users 0 0


I tried to remove all options, and only leave credentials=, but no success...

How come i can browse my folders with smbclient, and when i mount the same share, i can't browse anything?

thanks,

XND
_________________
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, 'coz if you play it forwards, it installs Windows..!
Back to top
View user's profile Send private message
zsoltika
l33t
l33t


Joined: 13 Nov 2003
Posts: 634
Location: Budapest, Hungary

PostPosted: Fri May 20, 2005 4:10 am    Post subject: Reply with quote

You might give a try to
Code:
unix extensions = no
in the server's smb.conf. According to this bugreport... Maybe I'm wrong, but you didn't specify the version of samba...
Back to top
View user's profile Send private message
xnd
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 132
Location: Sherbrooke, Quebec, Canada

PostPosted: Fri May 20, 2005 4:26 pm    Post subject: Reply with quote

zsoltika wrote:
You might give a try to
Code:
unix extensions = no
in the server's smb.conf. According to this bugreport... Maybe I'm wrong, but you didn't specify the version of samba...


Thanks, i am going to try it in a few seconds... The installed version of samba is 3.0.10.

XND
_________________
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, 'coz if you play it forwards, it installs Windows..!
Back to top
View user's profile Send private message
xnd
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 132
Location: Sherbrooke, Quebec, Canada

PostPosted: Fri May 20, 2005 4:28 pm    Post subject: Reply with quote

wow man, so many hours spent to understand this issue.. now resolved.... i love you LOL

Thanks again!

XND
_________________
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, 'coz if you play it forwards, it installs Windows..!
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