Re: [newbie] password samba

2001-11-14 Thread Michael D. Viron

At 11:35 AM 11/14/2001 -0700, you wrote:
Hello:

Not sure I understand completely, but let me give it a shot.  As I
understand it, you created an account in your linbox named user and you
want the two pc's networked for printer and file sharing.  If so, you have
two alternatives.  One, is to name your winbox user and provide a password
for it, which needs to be the same as the password you are using in your
user account in your linbox.  Second alternative, if your winbox has a
different name, you can still get it to work by associating the name of
the winbox with the account in linux.  You can accomplish this correlation
by adding the following line to your smb.conf file under global settings:
Nope--the network name of the windows box has absolutely nothing to do with
accessing samba network shares.

If you have a different username on your windows box than on the linux box,
you must indicate the 'mapping' in /etc/smbusers, by adding:

linux_username = windows_username

You must then, using your text editor, add a line to your /etc/smbusers
file consisting of the following information:

your linbox account name = name of your winbox
Again, the name of the winbox has absolutely nothing to do with samba,
unless you are trying to mount a windows network share on the linux box.

Again, the password for  your winbox must be the same as the password for
your user account.

It does not need to be, but it simplifies getting access to network shares.

That should read 'the password for your windows username should be the same
as the password for your linux username'.

I am not sure why you added or had to add the line linux user = samba
user but I would at least comment the line out.


Nope--you need the line, if you are using a different username on the
windows machine from the one on the linux box.  Otherwise, you will get an
'invalid username' type error, and will have no access to the linux box.
This of course, is all explained in the samba docs available from samba.org
or from your local hard drive.

Michael

--
Michael Viron
Registered Linux User #81978
Senior Systems  Administration Consultant
Web Spinners, University of West Florida




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] password samba

2001-11-14 Thread Jose M. Sanchez

On your Linux box use SMBCLIENT to check that the passwords are
correct...

I.E.

smbclient -L linuxbox -U username

It should respond with a password prompt.

-JMS


|-Original Message-
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED]] On Behalf Of belcoop
|Sent: Wednesday, November 14, 2001 1:00 PM
|To: [EMAIL PROTECTED]
|Subject: [newbie] password samba
|
|
|When accessing the linuxcomputer from the windows computer, he 
|says you must 
|supply a password to make this connection 
|
|Whatever password I try, he refuses. Is there somewhere a 
|password I don 
|know? 
|
|I created the shares with swat, localizing them where the user 
|I created is 
|(/home/user). I use the same name for the share as the user. 
|
|Somewhere I added linuxuser = sambauser
|
|How do I crack thsi password? 
|
|Geert
|
|




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com