Click to See Complete Forum and Search --> : Accessing Samba Server


mattnull
12-12-2002, 09:58 PM
I am having trouble with Samba...I set up my server and my other machines on my network SEE the server, but can't access it...Anyone have any helpful hints?

RobSmul
12-13-2002, 09:31 AM
Hi,

I think you have two options:

What you can do is create a user on the Linux-box that has the same username and password as your Windows-box. Instead of creating a system-user I would create a samba-user, using the command:
smbpasswd -a username
You will be promted for a password. Your share then should give permissions to 'all known users'.

OR

You can use Winbind. Winbind is a samba-addon that can integrate your windows users and groups with their passwords from your windows PDC (primary domain controller) aka your main server ;-) unless you are in a very big netword etc. etc.
Here's an HowTo on installing winbind with Samba:
http://spegill.linux.is/samba/docs/htmldocs/Samba-HOWTO-Collection.html#WINBIND

Disadvantage of method 1, you need to create each user seperately, and have to keep two user administrations.

Disadvantage of method 2, installation/configuration is a bit harder, but it should be oke if you use the documentation.

Good Luck,

Rob

mattnull
12-13-2002, 09:43 AM
Hey thanks Rob....I will try it when I get home from school.

mattnull
12-13-2002, 01:29 PM
IF ANYONE HAS ANYMORE
SUGGESTIONS, THEY ARE
GREATLY APPRICIATED....!

mattnull
12-13-2002, 07:48 PM
When i typed smbpasswd -a Null (Null being the username i want to add) it gave me this reply after i typed the password....

"User Null does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user.
Failed to modify password entry for user Null"

-mattnull