Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-16-2006, 03:08 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
SAMBA Security


I am very new to this, so please bear with me...

I have set up a SAMBA share which seems to work fine when I set Guest OK = Yes in the smb.conf. When I change that to NO, I get prompted for a password. This is obviously what I want, but it automatically sets this user as tmpuser, and I have no clue as to what the password is for that! Please can you let me know where I can find\set this user's credentials? Is it in the Global area of the smb.conf? If so, what is the syntax?

Thanks in advance
Old 08-16-2006, 06:47 AM   #2
LQ Newbie
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
For information, I am using Share level security.
Old 08-17-2006, 07:23 PM   #3
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Try adding something like the settings below:

security = user
encrypt passwords = true
passdb backend = tdbsam guest
obey pam restrictions = yes
invalid users = root
valid users = youruser

Then as root type "smbpasswd youruser" and enter your desired password.
and "smbpasswd --help" to get a list of options


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 security, How do I ... fclifton Linux - Networking 2 11-01-2003 02:34 PM
Samba security ? phoeniXflame Linux - Security 1 07-02-2003 01:03 PM
Samba Security johnm1957 Linux - Newbie 3 10-02-2002 04:55 PM
Samba security Sathe Linux - Security 1 06-29-2002 03:53 AM
Samba security. Passive Linux - Networking 1 03-11-2002 12:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration