LinuxQuestions.org
Help answer threads with 0 replies.
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 06-08-2012, 12:55 AM   #1
dchester11
LQ Newbie
 
Registered: Feb 2010
Posts: 21

Rep: Reputation: 0
Samba smbpasswd and pdbedit -L showing different results


Hi all -
I have a Netgear ReadyNAS Home Server and am having an issue with the samba config. I've posted to the forum there but not getting much luck. I added a user through the provided ui but a user I created is not able to login via cifs from a windows box. When I view /etc/samba/smbpasswd I see the user I am trying ot login as and there is only a [U ] between the brackets which I have gathered is good. However when I issue
Code:
pdbedit -L
I don't see the user. From what I understand these are both views into samba users. How could these get out of sync and what is the suggested way to get them back in sync?

Thanks LQ!

-Dustin
 
Old 06-08-2012, 02:26 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
The samba user password can be different from linux regular user. You have to create samba password separately. The command is "smbpasswd -a <username>".
 
Old 06-25-2012, 12:34 AM   #3
dchester11
LQ Newbie
 
Registered: Feb 2010
Posts: 21

Original Poster
Rep: Reputation: 0
That worked. Thanks.
 
  


Reply

Tags
samba, smbpasswd


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 - smbpasswd not working !! the_reen Linux - Networking 2 06-16-2012 03:51 PM
adding users using smbpasswd, or synchronise passwd/smbpasswd gyodai Linux - Networking 2 03-11-2009 02:47 PM
Samba pdbedit command returns NT_STATUS_LOGON_FAILURE Peter@KKVS Linux - Networking 2 11-05-2006 11:04 PM
samba pdbedit warning period steevojb Linux - Server 0 09-19-2006 11:50 AM
ctime of /etc/samba/smbpasswd different ddaas Linux - Security 0 07-04-2005 01:42 AM

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

All times are GMT -5. The time now is 02:46 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