Download your favorite Linux distribution at LQ ISO.
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 09-05-2004, 12:23 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Angry Adding users for Samba 3.0

Hello all... first post - so be gentle.

I am running Mandrake 10, with Samba 3 (getting samba to run is my first attempt to get something in linix working). I'm still learning all the conf files and what not, but I just hit a wall with this error. I am hoping that I not only get an answer as to how to fix it, but also as to why so I can learn from it!

I've seen this problem posted around, but no straightforward answers.

Here's my goal: one directory, shared to all users/computers on my mini network (just my home, not my work or anything - I'm not totally crazy). Looking to use a guest account, so it won't require a log in or anything... seems simple.

As I was learning the "smbpasswd" and "smbusers" files, I am trying to add users, and here's the result:

[root@dragon samba]# smbpasswd -a test
New SMB password:
Retype new SMB password:
Failed to initialise SAM_ACCOUNT for user test.
Failed to modify password entry for user test

What I have done so far, is uninstall samba, then reinstall. I added my main linux-username, and that worked. Then I attempted to add "guest" with a blank password -- apparently not good. Then that error returned.

Now I can't add anything (however I can edit my linux username).

I guess my questions are this:
1 - WTF is a SAM_ACCOUNT - and how the heck can I inilize it.
2 - What triggers this error?
3 - What would be the best way to simply open ONE directory as a repository to anyone or any machine on the network?

Thanks all
Old 09-05-2004, 12:25 AM   #2
LQ Newbie
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
omg... no sooner did I click "submit", did it click in my brain. it actually helps to have an account on the linux box... duh...

so... n/m


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 - Adding users TheRealDeal Linux - Networking 5 07-27-2004 12:46 AM
Adding samba users aroop Linux - Networking 2 06-08-2004 12:24 AM
Adding New Users guygriffiths Linux - General 4 10-13-2003 11:11 AM
Win2k adding users from Samba Domain krunkwick Linux - Networking 1 07-31-2002 09:04 PM
Adding samba users bripage Linux - Networking 2 01-27-2002 03:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 AM.

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