Brian Ryner bryner at
Tue Nov 17 04:49:40 GMT 1998


I'm working on a graphical interface to smbclient/smbmount/smbumount. 
As part of its operation, it will mount shares in directories under a
user's home directory.

I've run into a bit of a problem regarding the distributions of the
mount utilities, specifically on Redhat 5.1/5.2.  They are shipping an
RPM with smbfs 2.0.1, which is known to have a security hole... so it
should not be setuid root.  I have found an RPM of smbfs 2.0.2, but it
doesn't contain the smbumount utility- it says instead that umount works
just as well. This is true, but only if you are root.  Otherwise, it
complains that the mount is not listed in /etc/fstab.  I don't want to
have my program be setuid root.  It would be insecure, and shouldn't be

I've also tried, with no success, to compile smbfs 2.0.2 myself (and
possibly create an RPM).  I get several screens of compiling errors, all
of which are due to conflicting/duplicate definitions of constants and

Can anyone point me to either (a) a distribution of smbfs 2.0.2 that
includes smbumount, or (b) suggestions why I can't compile it myself. 
I'm running RH5.1, 2.0.35 kernel, glibc 2.0.7-29 rpm.

Thanks in advance.

-Brian Ryner
bryner at

More information about the samba mailing list