LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Serious Samba Problems! (http://www.linuxquestions.org/questions/linux-networking-3/serious-samba-problems-457044/)

crashsystems 06-21-2006 05:09 PM

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

Peacedog 06-21-2006 05:34 PM

Hi, welcome to LQ. Are the users samba users?

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

Good luck.

Matir 06-21-2006 06:22 PM

As peacedog pointed out, you'll most likely need to use smbadduser to add the users to the samba authentication database.

crashsystems 06-22-2006 08:53 AM

smbpasswd
 
The tip about the smbpasswd command did the trick. Thanks for your help.

Peacedog 06-22-2006 05:19 PM

Quote:

Originally Posted by crashsystems
Thanks for your help.

Your welcome, glad to be of service.:)


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