Samba 2.0.7 problems (on RedHat 7.0)

Dimitrie Paun dimi at
Wed Oct 31 11:07:06 GMT 2001

> From: Urban Widmark [mailto:urban at]
> > I do not understand why it complains about the noexec 
> option. Here is my
> > fstab:
> "user" implies noexec. smbmount doesn't understand "user" either.

Right. But I need it 'cause I need non-root users mount the thing...
Should not be a problem, right?

> Yes. But that doesn't answer why it doesn't reconnect as it should.

Aha -- I did not know that it was supposed to. Also, I noticed that on RH
7.0 (ie. Sambla 2.0.7), the error was:

smb_trans2_request: result=-32, setting invalid
smb_lookup: find //My Documents failed, error=-5

while on RH 7.2 (ie. Samba 2.2.1b), the error is:
smb_trans2_request: result=-104, setting invalid
smb_lookup: find //My Documents failed, error=-5

Is -32 in 2.0.7 the same as -104 in 2.2.1b? Am I doing any better, or is it
the same problem?
> smbmount can log things more verbosely, try setting debug=4 

Add it to the fstab? Like so:
//intranet/DBS_D        /mnt/intranet           smbfs
user,username=cellbucksdev,password=in4mation,debug=4           0 0

> and see if you 
> get any interesting messages in /var/log/samba/smbmount.log
> (assuming you run smbmount as someone that can write there)

OK, I'll try to reproduce the problem with the above setting. I guess I need
to make the smbmount.log writable by anyone. But, I remember that I needed
to make smbmnt suid, shouldn't that be enough?


More information about the samba mailing list