Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61302 - mounting samba-shares in kernel 2.6 ignores uid & gid
Summary: mounting samba-shares in kernel 2.6 ignores uid & gid
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-22 15:24 UTC by Koen
Modified: 2004-08-23 01:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Koen 2004-08-22 15:24:33 UTC
When mounting a samba-share on another computer, using uid and gid
arguments these (uid & gid) gets ignored. 

client: sys-kernel/development-sources-2.6.7 with net-fs/samba-3.0.5-r1
server: sys-kernel/vanilla-sources-2.4.26 with net-fs/samba-3.0.2a

When I issue :

mount -t smbfs -o username=koenvani,uid=koen //server/koenvani /mnt/test

The 'directory' level gets assigned the uid of koen but all the files and directories beneath the mount-directory get the uid on the remote server of
'koenvani' (that is, koenvani has 1001 on 'server', the files mounted on the client get mounted with uid 1001, fyi, there is no local-user with uid 1001). 

Almost the same setup works perfectly with a client running kernel 2.4.


Reproducible: Always
Steps to Reproduce:
1.mount -t smbfs -o username=koenvani,uid=koen //server/koenvani /mnt/test
2.
3.



Expected Results:  
Files should be mounted with uid of the one specified at "uid".

This bug was also posted (by someone else) as bug 110039 on RedHat Bugzilla at
this location : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=110039
Comment 1 Koen 2004-08-23 01:50:42 UTC
Setting "unix extenions = no" solved the case.