Results 11 to 15 of 15
Just to follow on from this above - I've moved the commands from /etc/fstab to .bash_profile and changed the smb permissions as above
(chmod u+s /usr/bin/smbmount)
and I get the ...
- 06-22-2003 #11Just Joined!
- Join Date
- Jun 2003
- Posts
- 9
Just to follow on from this above - I've moved the commands from /etc/fstab to .bash_profile and changed the smb permissions as above
(chmod u+s /usr/bin/smbmount)
and I get the following error when attempting to mount:
libsmb programs must *NOT* be setuid root
I suspect I've got one more step but I cant work it out.
Thanks again
- 06-22-2003 #12Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
You shouldn't have it in your .bash_profile anyway, since that will attempt to mount those shares every time you log in, which can cause problems, and even if it doesn't, it's quite ugly.
As for why it hangs, could it have with the passwords to do? Have you put a password mount option in all fstab entries?
- 06-23-2003 #13Just Joined!
- Join Date
- Jun 2003
- Posts
- 9
thanks again - after spending several hours of rebooting and changing fstab there is a pattern (almost).
For a single smb mount entry it works fine.
For two smb mount entries is fails nearly every time but not always! I have tried various parameter settings, with and without passwords but no other pattern is visable.
The entries are:
random thoughts for your consideration?Code://server/Shareddocs /home/shared smbfs username=david,password=david,uid=david,gid=users 0 0 //server/davesdocs /home/david/docs smbfs username=david,password=david,uid=david,gid=users 0 0
Both are quite long lines with the second wrapping slightly in the editor
I can get smbmount to lock up randomly by entering either one of these commands repetiitively into a terminal.
I'm really lost
- 06-23-2003 #14Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
That is strange. It seems almost as if the Windows computers aren't responding or something, but for once, I don't suspect the fault to be in Windows.
Would you mind trying to recompile your kernel?
- 07-01-2003 #15Just Joined!
- Join Date
- Jun 2003
- Posts
- 9
thank you - I've now found out that it is a known bug in RedHat 9.
kind regards and thanks for the help.
D>


Reply With Quote