LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba Users (https://www.linuxquestions.org/questions/linux-server-73/samba-users-851243/)

carlosinfl 12-19-2010 03:44 PM

Samba Users
 
I am trying to replicate our old Samba server with the new Samba server. I noticed on the old samba server there are two files:

smbusers:

[root@clearcase samba]# cat smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
admin = IAMGHOST\ccadmin

smbpasswd:

This file is blank

My question is when I do the following command:

Code:

smbpasswd -a bill
That adds the user to the smbpasswd files but not the smbusers file. What is the difference between the two files? I don't understand...

Peacedog 12-19-2010 07:39 PM

Hi carlosinfl, The short version is, the smbusers file maps clients user names to the server for various reasons, i.e. Windows users to Unix users, etc. and the smbpasswd file stores encrypted passwords for users.

Hope that helps.

Good luck. ;-)

carlosinfl 12-19-2010 09:13 PM

It does. Thank you!

Peacedog 12-19-2010 09:38 PM

You're welcome.

Good luck. ;-)


All times are GMT -5. The time now is 12:02 PM.