LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-17-2005, 07:06 PM   #1
hobz
Member
 
Registered: May 2004
Location: Cairo - Egypt
Distribution: FC9
Posts: 109

Rep: Reputation: 15
Question Mounting Samba Shares ad user


Guys
I had an old version of samba 2.something
i tried mounting samba shares as user and it worked
since I have upgraded to the latest samba
then typing command chmod +s /usr/bin/smbmnt & trying chmod a+s /usr/bin/smbmnt
trying also the same with /usr/sbin/smbmount
I get the message only root can mount shares
any idea ( other than downgradig )
 
Old 06-17-2005, 11:10 PM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
I've been using smbmount with Samba 3.x for a while without any issues (well other than smbfs suckage), so it should work fine. smbmnt should be setuid root, but smbmount should not. And I don't know if it matters, but don't set all of the setuid bits with chmod a+s, just set the user bit.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 11:55 AM
mounting shares with samba darkleaf Linux - Software 1 02-13-2005 07:13 AM
Mounting SMB shares as a non-root user dmancine Linux - Networking 0 08-24-2004 04:24 PM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 03:23 PM
Mounting windows shares...using samba tarballed Linux - Software 7 07-01-2003 06:11 PM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration