Peer networking basics

B

BigAl.NZ

Hi guys,

Can someone please put me on the right track here.

I was under the impression that if you had two XP PC's connected with
a crossover cable, Simple File Sharing turned on and a share set up on
each PC that to access the share there would be some authentication,
ie you would need to supply a user name and password of either a user
on the machine that you want to access, or you must have created a
identical user and password on the machine from which you are trying
to gain access.

Or use something like NET USE * \\server\share /user:username password

However I tried this without the password and it worked.

Can someone please explain why?

Does it change if I am doing this with a XP<->Vista PC, ie does vista
have simple file sharing or is it all permissions based?

Cheers

-Al
 
G

gordon

Hi guys,

Can someone please put me on the right track here.

I was under the impression that if you had two XP PC's connected with
a crossover cable, Simple File Sharing turned on and a share set up on
each PC that to access the share there would be some authentication,
ie you would need to supply a user name and password of either a user
on the machine that you want to access, or you must have created a
identical user and password on the machine from which you are trying
to gain access.

Or use something like NET USE * \\server\share /user:username password

However I tried this without the password and it worked.

Can someone please explain why?


Probably because you are using XP Home edition and the Guest account is
enabled on both.....that wouldn't happen on XP Pro unless you (as you say)
have the same User set up on each....
 
R

Richard G. Harper

Simple file sharing eliminates the need to use passwords and user accounts
to access shares, instead relying on the Guest account to share files and
printers. This article explains in more detail:

http://support.microsoft.com/kb/304040

--
Richard G. Harper [MVP Shell/User] (e-mail address removed)
* NEW! Catch my blog ... http://msmvps.com/blogs/rgharper/
* PLEASE post all messages and replies in the newsgroups
* The Website - http://rgharper.mvps.org/
* HELP us help YOU ... http://www.dts-l.org/goodpost.htm
 
D

Dianthus Mimulus

I was under the impression that if you had two XP PC's connected with
a crossover cable, Simple File Sharing turned on and a share set up on
each PC that to access the share there would be some authentication,
ie you would need to supply a user name and password of either a user
on the machine that you want to access, or you must have created a
identical user and password on the machine from which you are trying
to gain access.

Install an FTP server on one, and an FTP client on the other.

Put a second NIC in the one with the server and use that as the gateway to
the Internet.

Set the second to use the first as its gateway.

That way you'll be able to use FTP to transfer files.

Also, if you were using a better OS that M$ Windows you would be able to
set up NFS on both and then have the file system on one showing up as if
it were a part of the native internal file system of the other.

That way none of that bullshit "Simple File Sharing" rubbish would be
necessary.
 
E

Enkidu

Dianthus said:
Install an FTP server on one, and an FTP client on the other.
Lennier, he already has file sharing working. His question (part of
which you snipped was about *why* it worked without requiring user login.
Put a second NIC in the one with the server and use that as the gateway to
the Internet.

Set the second to use the first as its gateway.

That way you'll be able to use FTP to transfer files.
That wasn't his question. He already can do that.
Also, if you were using a better OS that M$ Windows you would be able to
set up NFS on both and then have the file system on one showing up as if
it were a part of the native internal file system of the other.
He's already able to do that!

That way none of that bullshit "Simple File Sharing" rubbish would be
necessary.
It works for him and millions of other. You probably know it better as
'Samba'.

Cheers,

Cliff
 
D

Dianthus Mimulus

It works for him and millions of other. You probably know it better as
'Samba'.

Cheers,

Cliff

I know Samba. I know NFS better - I use NFS to have the documents on my
file server available from my desktop.

No drive letter required. It's simply a part of the file system (like any
other partition is.
 
D

dilberts_left_nut

Hi guys,

Can someone please put me on the right track here.

I was under the impression that if you had two XP PC's connected with
a crossover cable, Simple File Sharing turned on and a share set up on
each PC that to access the share there would be some authentication,
ie you would need to supply a user name and password of either a user
on the machine that you want to access, or you must have created a
identical user and password on the machine from which you are trying
to gain access.

Or use something like NET USE * \\server\share /user:username password

However I tried this without the password and it worked.

Can someone please explain why?

Does it change if I am doing this with a XP<->Vista PC, ie does vista
have simple file sharing or is it all permissions based?

Cheers

-Al

Since the abundence of other replies have completely ignored your
question, I will attempt an answer.

If you have 'Simple Flie Sharing' enabled (on both server & client),
this bypasses the user having to supply correct credentials as all
clients connect as the 'Guest' user, and shares are made available to
'Guest' (or maybe 'Everybody' - not sure on this).

When SFS is turned off, is when you must authenticate as an authorised
user of the share on the server that is hosting it. If there is no
domain authentication (as in a peer to peer network) then the connecting
client must authenticate with the username & password of an existing
user on the server. The shares must also have permissions set for the
correct user to connect.

So if you just want to connect two XP boxen to transfer files, turn on
SFS, get the job done quick, then find something fun to do with all your
spare time. (maybe read all the NFS man pages?)

As for Vista...don't know yet. Will probably have to know soon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top