LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-05-2009, 05:04 AM   #1
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Rep: Reputation: 31
Failed to add entry for user (SAMBA) help please?


Quote:
root@kate:/# smbpasswd -a floor
New SMB password:
Retype new SMB password:
Failed to add entry for user floor.
I have tried over and over so i'm sure its not just incompatible passwords...

How do I fix this?

Thanks,
MJ

Last edited by mitchell7man; 12-05-2009 at 05:36 AM.
 
Old 12-05-2009, 06:34 AM   #2
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
Are you sure there is a corresponding Linux user named "floor"?
 
Old 12-05-2009, 11:56 AM   #3
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
As it turns out, I was not, I have successfully added an account and restarted samba but I still cannot connect using the new user. My original user info works fine. What to do?
 
Old 12-05-2009, 01:36 PM   #4
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
here is my smb.conf entry for what i'm trying to share.
Quote:
[Shared1]
comment = shared
path = /media/share
browseable = yes
read only = no
Note it does allow access to me on my original user account, but not on users i'm setting up.
 
Old 12-06-2009, 03:59 AM   #5
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
With Samba, Linux file permissions also apply. If the user does not have rights to the shared Samba directory under Linux, then they can't access the Samba File Share either.
 
Old 12-06-2009, 04:13 AM   #6
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
If the device is chmod to 777 does the user have access? (B/C that doesn't seem to be working). As in, how do I give the new user access to the shared directory only?

Thanks,
MJ
 
  


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 Failed to find entry for user david_wliu Linux - Networking 9 12-14-2013 08:15 AM
samba - add user script - User account does not exist itzamecwp Linux - Server 2 01-18-2007 10:52 PM
How to Add a Samba User JonBL Fedora 4 10-25-2006 05:35 PM
Samba failed to modify passwd entry GUIPenguin Linux - General 1 01-17-2005 10:39 AM


All times are GMT -5. The time now is 05:28 AM.

Main Menu
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