Koen
2004-Aug-02 22:07 UTC
[Samba] mount with uid does not give correct local uid (kernel 2.6)
Hi, I'm running smbd 3.0.5 with kernel 2.4.26. I connect with a Linux-client (also samba 3.0.5 installed) on kernel 2.6.7 with this directive: mount -t smbfs -o uid=1005,username=joe,workgroup=lanz //prim/joe /mnt/test As a result, the directory /mnt/test is owned by uid=1005 but all the subdirectories and files in this directory are owned by uid 1001. This uid (1001) is that of joe on the remote server. I tried the same directive on another host running kernel 2.4.24 and there everything worked perfectly (that is, files and directories are owned by uid 1005). On neither of these clients was already a user with uid=1001 present. 'smbfs' is defined as a kernel module in the kernel setup and produces this error while being loaded with the mount command: smbfs: Unrecognized mount option noexec My passdb backend is mysql and this has been working fine. Am I missing something here? I can't figure out if the problem lies with the kernelmodule or something with the mount-command. The samba-server doesn't give an unusual error-messages. Any help or hint in the good direction is appreciated! Koen