On Wed, 2002-02-06 at 09:03, tech at mathco dot com wrote:
> When trying to mount a share with smbmount (the latest samba-client in
> cooker) as root
> i get this error, but the mount get mounted. But is not writable by other
> user then root.
> 
> tdb((null)): tdb_open_ex: could not open file
> /var/cache/samba/unexpected.tdb: No such file or directory
> tdb((null)): tdb_open_ex: could not open file
> /var/cache/samba/unexpected.tdb: No such file or directory
> tdb((null)): tdb_open_ex: could not open file
> /var/cache/samba/unexpected.tdb: No such file or directory
> 
> But if i try to smbmount it as a normal user i get this error
> 
> libsmb based programs must *NOT* be setuid root.
> 3098: Connection to SERVER failed
> 
> 
> Any ideas?
> 
> /MattB
> 

This is not right.... Meaning, libsmb is telling you the right message.

>From the spec file:
%attr(4775,root,root) %{prefix}/bin/smbmount
%attr(4775,root,root) %{prefix}/bin/smbumount

Which is, well, wrong : )
smbmount and smbumount are simply front-ends to mount and umount (those
need to be setuid root).

So err s/4755/755 on that...


-- 
Bryan Paxton
Public PGP key: http://www.deadhorse.net/bpaxton.gpg

"Winning gives birth to hostility. Losing, one lies down in pain. The
calmed 
lie down with ease, having set winning & losing aside."
Dhp. 201


Reply via email to