setuid and libsmb
Steve French
smfrench at austin.rr.com
Sat Jul 31 16:46:09 GMT 2004
On Sat, 2004-07-31 at 15:24 +1000, Andrew Bartlett wrote:
> On Sat, 2004-07-31 at 13:41, Steve French wrote:
> > I noticed that libsmb returns an error when mount.smbfs (smbmnt/
> > smbmount) is run setuid.
>
> Incorrect - smbmnt does not use libsmb.
You are right, smbmount is the big one that links with smblib, I had
thought (incorrectly) that both smbmount and smbmnt linked smblib,
setting only smbmnt suid (instead of setting it mount.smbfs and/or
smbmount) worked.
More information about the samba-technical
mailing list