You are not logged in.
Hello,
i am searching for a easy way to connect to my samba server like in windows.
I dosent want allways mount sambashares as root with root:root writes.
I need samba mount as user i try set the suid bit on smbmount but doesent works right.
[sydney@midgard ~]$ smbmount //192.168.2.20/sydeney /media/smb/sydney/ -o username=sydney
libsmb based programs must *NOT* be setuid root.
4240: Connection to 192.168.2.20 failed
SMB connection failed
i know fstab is a way but i dont want use it, only if no other solution.
I hope some can tel me a solution or HowTo mount sambashares as user.
Thank you very very much
Offline
What's wrong with /etc/fstab?
Just add "user" to the options column, and you can mount it as a normal user. The setuid option is far more ugly.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
Instead of mounting you can access the samba shares from userspace. Konqueror does that, just enter smb:/ and wait.
Offline
Instead of mounting you can access the samba shares from userspace. Konqueror does that, just enter smb:/ and wait.
,
its not a good idea, i cant stream movies and cant save anyfile from web.
Why doesent work smbmount?
Offline
If you want smbmount to work you need to add the suid bit + add the correct line to fstab, I believe. That's at least what I had to do. You can also try smb4k, if you're a KDE user.
Offline
If you want smbmount to work you need to add the suid bit + add the correct line to fstab, I believe. That's at least what I had to do. You can also try smb4k, if you're a KDE user.
No, as the warning quoted above says, you should never set suid on any samba related programs.
If you want to mount, you have to define every share in fstab, there is no other way to do it as user.
Offline
Its sad.
I am looking forward for a accetable solution.
Thanks for help guys.
Offline
If you want to mount, you have to define every share in fstab, there is no other way to do it as user.
That's strange. Cause it's never worked for me, unless I first define it in fstab + set the suid bit. That is, I've always needed to do both :?
Offline
Hey is there a program like smb4k that doesnt need 10,000 kde deps?
Also is there a fm like konquorer or nautilus that does network browsing?
I dont want to run a DE but somtimes network browsing can be a pain when the users are changing all the time.
Thanks,
Syd
Offline
Hey is there a program like smb4k that doesnt need 10,000 kde deps?
Also is there a fm like konquorer or nautilus that does network browsing?I dont want to run a DE but somtimes network browsing can be a pain when the users are changing all the time.
Thanks,
Syd
you can try xsmbrowser, but don't expect too much of it
Offline
Thanks but ive tryed xsmbrowser and yer it leaves much to be desired. Thanks anyway.
I think that ill just have to use my /etc/fstab untill somone develops some sort of samba shares userspace that works with rox or somthing.
Syd
Offline
Hello,
I tryed xsmbrowser but when I run it I get :
$ xsmbrowser
Application initialization failed: this isn't a Tk applicationunknown color name "Black"
File smb.conf not found.
Checking if .xsmbrowser-* exist ...
Done.
Reading Global config ...
Done reading.
Reading User config ...
Done reading.
Loading image files from pixmaps ...
Done. (ERROR: Cannot find images in pixmaps. See Setup.)
Error in startup script: can't invoke "wm" command: application has been destroyed
while executing
"wm title . "xSMBrowser 3.4.0""
(file "/usr/bin/xsmbrowser" line 9041)
How can I solve the problem?
Offline