LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-29-2013, 11:19 AM   #1
suitianshi
LQ Newbie
 
Registered: Feb 2013
Posts: 14

Rep: Reputation: Disabled
why I can't mount my samba folder using account "nobody"?


the content of smb.conf is as following;:

[global]
workgroup = wangxuan
netbios name = wangxuanServer
server string = test samba server

unix charset = utf8
display charset = utf8
dos charset = cp936

log file = /home/wangxuan/test/samba.log
max log size = 100
load printers = no

security = user
passdb backend = tdbsam

#map to guest = bad user

[homes]
# browseable = no
create mode = 0664
guest ok = yes
writable = yes
comment = Home Dir
directory mode = 0775

[temp]
comment = temp sharefolder
path = /tmp
writable = yes
browseable = yes
guest ok = yes

I use this command :
mount -t cifs -o guest //localhost/nobody /mnt

and an error says
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

/home/nobody exists

thanks
 
Old 04-29-2013, 05:36 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,199

Rep: Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089
[homes] is a special share which automatically creates home shares for each user with a standard user account on the server. Normally "nobody" owns no files and is in no privileged groups and does not have a home directory under /home.

Did you create a regular user called nobody? What are you trying to accomplish?
 
Old 04-29-2013, 09:46 PM   #3
suitianshi
LQ Newbie
 
Registered: Feb 2013
Posts: 14

Original Poster
Rep: Reputation: Disabled
yes, nobody is a special account, but what if I changed it to a normal user?
I am just learning the samba suite and wanna know how the [homes] section works.

Quote:
Originally Posted by michaelk View Post
[homes] is a special share which automatically creates home shares for each user with a standard user account on the server. Normally "nobody" owns no files and is in no privileged groups and does not have a home directory under /home.

Did you create a regular user called nobody? What are you trying to accomplish?
 
Old 04-30-2013, 06:46 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,199

Rep: Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089
I would add another regular user or mount your existing regular user instead.
 
Old 05-17-2013, 10:11 AM   #5
lee88abc
Member
 
Registered: Apr 2011
Location: northeast USA
Distribution: slackware
Posts: 32

Rep: Reputation: 0
are you trying to:
mount -t cifs -o username=windozeRemoteUser,uid=somelosersDesktop,gid=smellybums, //myserver/myshare /mnt/somewhere
 
  


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 PDC Domain Join Error - "The Specified computer account could not be found..." scruggsdl Linux - Software 6 09-02-2010 08:53 AM
"Root" Domain Administrator Account Creation on a Samba PDC passedpawn1986 Linux - Server 2 09-23-2009 06:29 PM
DFS shares - can mount shared folder, but no access - error "object is remote" gbloon Linux - Networking 6 08-20-2009 05:18 PM
Mandrake 10 "mount smbfs" the win2000 folder from vmware error wuyeguo Mandriva 1 03-19-2004 06:20 PM
SAMBA - nobody account maps /home to "nobody" calabash Linux - Networking 27 12-08-2003 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:07 AM.

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
Open Source Consulting | Domain Registration