LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2004, 06:19 PM   #1
hyperriven
Member
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 61

Rep: Reputation: 15
Adding smb users problem


I am trying to add smb users using the command "smbpasswd -a admintmp580" as root and I am getting this error:

New SMB password:
Retype new SMB password:
Failed to initialise SAM_ACCOUNT for user admintmp580.
Failed to modify password entry for user admintmp580

I would like for different users to be able to access different folders on my computer through a network.
 
Old 10-04-2004, 01:27 AM   #2
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
which account are you using to do this?
 
Old 10-04-2004, 02:10 PM   #3
hyperriven
Member
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 61

Original Poster
Rep: Reputation: 15
I'm not sure, what you mean by "which account are you using to do this?" I am running this command at root as I said in my first post, if that is what you mean. I think I may have figured out what is causing the error. After I made admintmp580 a unix user for this computer with the command useradd admintmp580, I was able to run the command smbpasswd -a admintmp580. Is it required to create a unix user before you create the smbuser(sorry if I am not wording this very well)? I don't really care if the user can sit at my computer and log in, I just want them to be able to log into the shared folders through the network. I want to create different users so that I can allow different amounts of access to my computer.
 
Old 10-04-2004, 04:05 PM   #4
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
Yes, you must create a unix user, or there must be a unix-level user created. Typically this can be done with some scripts that automatically create the user.

It's a unix file system, not Windows. Therefore, something must be in place at the unix level that authorizes the Samba user to use the file system.

www.samba.org - there is TOSHARG, and Samba 3 By Example, which provides step by step examples to configure Samba. Take a look, you'll find about everything you need.
 
Old 10-04-2004, 07:36 PM   #5
hyperriven
Member
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks for the help.
 
  


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
smb.conf and adding users 11red Linux - Networking 1 04-06-2005 02:05 PM
Problem authenticating users for smb sharing Mirkon Linux - Networking 8 02-21-2005 02:40 PM
Problem adding users patsyr Linux - Newbie 2 10-28-2004 06:05 AM
problem w/ adding users krackerroot Slackware 10 10-07-2003 05:26 PM
Adding SMB printer in OpenOffice thordog Linux - Networking 0 10-09-2002 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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