Hi everyone, I'm using Linux kernel 2.4.29 and samba 3.0.10 with Slackware 10.1 distro and I'm having trouble getting the mount.smb to respect my uid and gid options. Whichever uid and gid I specify I get something strange like uid 147926 and gid 101. I heard someplace that this is a bug in the smbfs kernel module but in that case it has appeard after the kernel 2.4.22 since I started having these problems after I upgraded from Slack 9.1 which had that kernel. Any ideas what is wrong and how I can fix ti? Best regards, Goran -- Goran Cengic
Michal Kurowski
2005-Feb-19 12:43 UTC
[Samba] Re: User and group ID problems when mounting.
Goran Cengic [cengic@s2.chalmers.se] wrote:> > I'm using Linux kernel 2.4.29 and samba 3.0.10 with Slackware 10.1 distro and > I'm having trouble getting the mount.smb to respect my uid and gid options. > Whichever uid and gid I specify I get something strange like uid 147926 and > gid 101. I heard someplace that this is a bug in the smbfs kernel module but > in that case it has appeard after the kernel 2.4.22 since I started having > these problems after I upgraded from Slack 9.1 which had that kernel.Wrong list but I'll help you 'cause I'm also a Slackware user ;-) Bump mount.smb altogether. Use mount.cifs. http://linux-cifs.samba.org You will have the module with 2.6 by default. For working version in 2.4 you'll need a patch. Cheers, -- Michal Kurowski perl -e '$_=q#: 13_2: 12/o{>: 8_4) (_4: 6/2^-2; 3;-2^\2: 5/7\_/\7: 12m m::#; y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'