LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-18-2003, 07:51 PM   #1
david_wliu
LQ Newbie
 
Registered: Mar 2003
Posts: 21

Rep: Reputation: 15
Question Samba Failed to find entry for user


I was trying to create a samba user using smbpasswd command as follows:

smbpasswd mySmbUser

After typing the New Password and Confirmed Password as prompted. I got the following errors:

Failed to find entry for user mySmbUser
Failed to modifi password entry for user mySmbUser

I even add mySmbUser to the linux account, but still have the same problem.

Any suggestions?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-18-2003, 07:56 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
You need to add that user locually. Try:
useradd mySmbUser
Then:
smbpasswd -a mySmbUser
 
2 members found this post helpful.
Old 03-18-2003, 09:14 PM   #3
david_wliu
LQ Newbie
 
Registered: Mar 2003
Posts: 21

Original Poster
Rep: Reputation: 15
It works. The problem was the missing option -a in my previous attempts using smbpasswd command. Thanks alot.
 
Old 02-22-2010, 10:31 AM   #4
tuewru
LQ Newbie
 
Registered: Feb 2010
Location: Hanoi - Vietnam
Distribution: Centos v5
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by tangle View Post
You need to add that user locually. Try:
useradd mySmbUser
Then:
smbpasswd -a mySmbUser
thanks tangle
my problem solved
i lack -a option in command and it not work :|
 
Old 07-02-2010, 11:28 AM   #5
twwwater
Member
 
Registered: Nov 2008
Posts: 113
Blog Entries: 1

Rep: Reputation: 15
same problem, thanks !!!
 
Old 09-15-2010, 03:39 AM   #6
f13dummy
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Thumbs up thx

thx a lot, same problem, solved
 
Old 12-18-2012, 12:55 AM   #7
hamidi2
Member
 
Registered: Aug 2012
Posts: 61

Rep: Reputation: Disabled
does it add the user to Linux? i can't have a samba user which is not a Linux user?
 
Old 05-16-2013, 10:10 AM   #8
achalfauzdar
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Really thankyou it works for me
 
Old 12-14-2013, 08:13 AM   #9
msalwa
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by david_wliu View Post
I was trying to create a samba user using smbpasswd command as follows:

smbpasswd mySmbUser

After typing the New Password and Confirmed Password as prompted. I got the following errors:

Failed to find entry for user mySmbUser
Failed to modifi password entry for user mySmbUser

I even add mySmbUser to the linux account, but still have the same problem.

Any suggestions?
Thank's a lot.
 
Old 12-14-2013, 08:15 AM   #10
msalwa
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by tangle View Post
You need to add that user locually. Try:
useradd mySmbUser
Then:
smbpasswd -a mySmbUser
Thank's a lot.
Its work really.
 
  


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
Delete quota entry when deleting user weotch Linux - Software 5 10-26-2012 08:38 AM
Samba - Authentication for user FAILED reeaver Linux - Software 0 09-03-2005 05:06 PM
Samba failed to modify passwd entry GUIPenguin Linux - General 1 01-17-2005 10:39 AM
How do i find out the fedora entry for the lilo config xiato Linux - Newbie 3 05-05-2004 02:50 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration