-   Linux - Networking (
-   -   Samba smbpasswd and pdbedit -L showing different results (

dchester11 06-08-2012 12:55 AM

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

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!


nini09 06-08-2012 02:26 PM

The samba user password can be different from linux regular user. You have to create samba password separately. The command is "smbpasswd -a <username>".

dchester11 06-25-2012 12:34 AM

That worked. Thanks.

All times are GMT -5. The time now is 08:02 AM.