[Samba] Samba 2.2.3a does not allow non-root users to smbmount a share po int...

Cook, Steven C steven.c.cook at intel.com
Tue May 28 16:47:02 GMT 2002


With smbmount/smbmnt/smbumount setuid root, the following command:

[sccook at dpcv-valhalla32 sccook]$ smbmount //dpswpgfs03/install netmnt -o
username=sccook,workgroup=amr

Gives the error:

libsmb based programs must *NOT* be setuid root.
2206: Connection to dpswpgfs03 failed
SMB connection failed

Yet, with the binaries *NOT* setuid root, the command

[sccook at dpcv-valhalla32 sccook]$ smbmount //dpswpgfs03/install netmnt -o
username=sccook,workgroup=amr

Gives the error:

Password:
smbmnt must be installed suid root for direct user mounts (501,501)
smbmnt failed: 1

It seems to be a cyclical issue.  This was discovered on a clean
"everything" install of Red Hat 7.3 ("Valhalla").  Is this intentional, that
non-root users can no longer use SMB?  This seems counter-productive.
Please advise.

Thank you for you time and effort on this issue.

Steve Cook
--steven.c.cook at intel.com--
--253.371.5646--




More information about the samba mailing list