From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/0 Description of problem: Using UID/GID > 65k when mounting smbfs filesystems the resulting mount point UID/GID wraps around. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.smbmount //some/share /mnt/ -o uid=100000 2. ls -ld /mnt Actual Results: The UID wraps around at 65535(and so does GID) so the mount point gets owned by wrong UID. Expected Results: ..the values shouldn't wrap around of course.. Additional info: This bug is present in all 2.4 kernels and is caused by include/linux/smb_mount.h using __kernel_uid_t instead of __kernel_uid32_t.
Created attachment 73933 [details] Fix smbfs mounting with 32bit uid/gid
To make it all actually work glibc-kernheaders needs the fix too and then samba needs to be recompiled against that headerset, *seems* to work without recompiling glibc though.
Urban Widmark has a better solution to this: http://www.uwsg.iu.edu/hypermail/linux/kernel/0209.0/0678.html
the issue with this is binary compatibility with userspace ;( not something we can break relative to kernel.org kernels.
As far as I understood Urbans fix doesn't have that issue? I'm not a kernel hacker really so my "fix" was just a guess which cured the symptoms for me :)
We've been succesfully using Urbans patches (which don't break compatibility) with RHL8.0 without seeing any problems - please consider adding the patch to phoebe at least? The patch still applies cleanly (using it right now..)
Changing product to public beta in the hopes of having it fixed there :)
Thanks for the bug report. However, Red Hat no longer maintains this version of the product. Please upgrade to the latest version and open a new bug if the problem persists. The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, and if you believe this bug is interesting to them, please report the problem in the bug tracker at: http://bugzilla.fedora.us/