[PATCH] smbumount problem

Urban Widmark urban at teststation.com
Mon Oct 21 19:47:01 GMT 2002

On Mon, 21 Oct 2002, Colin Leroy wrote:

> Hi,
> smbumount kept telling me that "You are not allowed to unmount $share".
> This was because of the ioctl used, which was setting mount_uid to a
> really strange result.
> Here's a patch that fixes it, at least for me (on a 2.4.18 kernel).
> That's a patch against 2.2.6 tarball.

The proper fix is to do both. Old kernels don't have this ioctl. That 
changes was meant to be in 2.2.6 but ...

I assume this is not on x86? Otherwise it should be fine as it is, even if
it is limited to 16 bits.


More information about the samba-technical mailing list