LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-21-2006, 05:09 PM   #1
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Rep: Reputation: 15
Serious Samba Problems!


To give you an idea of my experience, I've been useing Linux for one month, and though I'm comfortable with the OS, I would say I'm no more than an advanced beginner. The most advanced thing I've done was compile and install a new kernel. I'm running Mandriva Linux PowerPack 2006 on my file server. My goal for this file server is to have around 50 to 100 user accounts, and make each user a part of various groups depending on what I want them to have permission to access. I'm currently just trying to get a testing setup working so that I can get a feel for how the samba beast works. To that end I have created a test directory with one file in it (the path is \home\admin\Share). That directory and it's contents are owned by user admin, but also belong to the group named “serverstuff”. I have also created a user named testuser with a pass of “test” (btw testuser has no home directory). testuser is a part of group serverstuff, but when I go onto my win box and try to access that share, it asks for the username and password, and when I give it testuser and test, it refuses to accept it. I've also tried giving it the user admin and it's password, but it still gives me the same problems. Thinking that this might just be another one of the many windows problems I have day-to-day, I got onto my other Linux box and tried to log in to the share, but with the same result. Once I get the server working properly, I'm planning on using it as a domain controller (the security setting is set to user). If anyone could help me figure out this problem, that would be great. If you need more info than what I have supplied here, reply with the info you need, and I will post it. Thank you for your help.

crashsystems
 
Old 06-21-2006, 05:34 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Hi, welcome to LQ. Are the users samba users?

http://www.comptechdoc.org/os/linux/...ambausers.html

Good luck.
 
Old 06-21-2006, 06:22 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
As peacedog pointed out, you'll most likely need to use smbadduser to add the users to the samba authentication database.
 
Old 06-22-2006, 08:53 AM   #4
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Original Poster
Rep: Reputation: 15
smbpasswd

The tip about the smbpasswd command did the trick. Thanks for your help.
 
Old 06-22-2006, 05:19 PM   #5
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by crashsystems
Thanks for your help.
Your welcome, glad to be of service.
 
  


Reply

Tags
resolved, samba, samba users, smbpasswd


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
[SAMBA] Problems acessing samba share JoaoMorgado Linux - Software 1 02-06-2006 06:35 AM
samba problems amadkow Linux - Software 1 01-02-2005 01:56 PM
samba problems Snerkel Linux - Software 3 10-08-2004 09:54 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 06:19 PM


All times are GMT -5. The time now is 12:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration