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
Setting "unix extenions = no" solved the case.