LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-19-2010, 03:44 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
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...
 
Old 12-19-2010, 07:39 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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. ;-)
 
1 members found this post helpful.
Old 12-19-2010, 09:13 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
It does. Thank you!
 
Old 12-19-2010, 09:38 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
You're welcome.

Good luck. ;-)
 
  


Reply



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 - unix user created, added to samba, and valid users on share, still cannot... mitchell7man Linux - Server 12 03-17-2010 08:37 PM
mapping linux users with widows users using samba vathsan Linux - Software 1 07-12-2009 10:21 PM
importing linux users to samba users dolreich_c Linux - General 0 04-15-2009 01:01 AM
Active directory users to Samba users alexpacio Linux - Networking 0 05-19-2006 08:44 AM
can't add users to "samba users" in control center g_jakes Linux - Networking 1 05-20-2005 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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