Problems with file sharing across multi os network

G

Guest

Hello all,

I've got a brand new Vista Home Basic laptop from Dell. Everthing is nice
and shiny, but... When I try to connect via my Wireless connection to a share
on a Windows XP computer or a Fedora Samba server I get this: The connection
is made and I see the shares I want to see. If I'm quick I can access the
folders of this share. If I take to long (about 10 sec's) I get: "The
specified network resource is no longer available".

I've tried to make a share on Vista and connect to that through an Xp
system, but the same occurs. The connection apears to time out for some
reason. I've tried to find the GPO editor, but am unable to find it (Aaargh).

Can anyone help me out? Thanks,
 
R

Robert L [MVP - Networking]

Try to create an identical user on all computers. This link may help,

Vista common issue - can see but access
http://www.chicagotech.net/netforums/viewforum.php?f=3

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Hello all,

I've got a brand new Vista Home Basic laptop from Dell. Everthing is nice
and shiny, but... When I try to connect via my Wireless connection to a share
on a Windows XP computer or a Fedora Samba server I get this: The connection
is made and I see the shares I want to see. If I'm quick I can access the
folders of this share. If I take to long (about 10 sec's) I get: "The
specified network resource is no longer available".

I've tried to make a share on Vista and connect to that through an Xp
system, but the same occurs. The connection apears to time out for some
reason. I've tried to find the GPO editor, but am unable to find it (Aaargh).

Can anyone help me out? Thanks,
 
M

Malke

Zhoerd said:
Hello all,

I've got a brand new Vista Home Basic laptop from Dell. Everthing is nice
and shiny, but... When I try to connect via my Wireless connection to a share
on a Windows XP computer or a Fedora Samba server I get this: The connection
is made and I see the shares I want to see. If I'm quick I can access the
folders of this share. If I take to long (about 10 sec's) I get: "The
specified network resource is no longer available".

I've tried to make a share on Vista and connect to that through an Xp
system, but the same occurs. The connection apears to time out for some
reason. I've tried to find the GPO editor, but am unable to find it (Aaargh).

Can anyone help me out? Thanks,

See this link for Vista networking:
http://www.microsoft.com/technet/network/evaluate/vista_fp.mspx

And here is information about networking to *nix boxen:

From Michael Bishop (MS) - Basically, the issue with Samba and Vista is
that Vista no longer permits LM or NTLM authentication by default; only
NTLMv2. Samba versions 1.x and 2.x only support LM and NTLM, so there's
an issue there.

Recommended solution: upgrade to Samba 3.x and enable NTLMv2 by adding
"client ntlmv2 auth = yes" to your smb.conf file. Because of another
issues with previous versions, I strongly recommend upgrading to 3.0.22
or later regardless of your choice for this particular instance.

Alternate solution: change Vista's security settings to permit
lower-security authentications. (as below)

To enable Windows Vista to connect to *nix with Windows File Sharing
enabled, you will need to change the following policy in Windows Vista:

Start>Run>secpol.msc [enter]

Click on "Local Policies" --> "Security Options"

Navigate to the policy "Network Security: LAN Manager authentication
level" and double-click it to get its Properties. By default Windows
Vista sets the policy to "NTVLM2 responses only". Use the drop-down
arrow to change this to "LM and NTLM – use NTLMV2 session security if
negotiated".

In Vista Home Premium, you won't have this tool so per Steve Winograd, do:

1. Run the registry editor and open this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

1. If it doesn't already exist, create a DWORD value named
LmCompatibilityLevel

3. Set the value to 1

4. Reboot

And here is some more information I've gathered from newsgroup posts
about Vista to *nix networking. The person "speaking" in the section
below isn't me - I didn't try this. All I did to get my Vista working
with OS X and SUSE was to use the first Alternate Solution above.

*****
Issue 2: You cannot connect to a Vista-shared printer from Mac. I used
to use the Advanced username:password@server/printer method and, no
matter what I did, I could not get this to work with Vista. Ultimately
what I had to do was to install the lpd service on the Vista machine
(included on my Home Premium DVD) and set the Mac up to connect to that
instead. Now it works like a charm.

Issue 3: After I got those two things working I would go to transfer
larger video files between the PC and Mac and it would go VERY slow and
fail half the time. We are talking 250kilobits/sec on a theoretically
54Mbit wireless connection. I never seemed to have such speed problems
in the past. Per some internet research I made two changes to my Mac -
one to the /etc/smb.conf file and the other to some TCP settings in
/etc/sysctl.conf file.
1.) Add "large readwrite=no" to the [global] section of /etc/smb.conf
2.) create a /etc/sysctl.conf with the following inside it
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.inet.tcp.delayed_ack=0
net.inet.udp.recvspace=73728

The most important thing seems to be the net.inet.tcp.delayed_ack=0 - on
UNIX systems and Macs they will hold off on sending ACKs to save
Network/CPU usage and it is a good thing. Windows however seems to wait
on things until it gets ACKSs with SMB and so it kills performance.
After making these settings changes my SMB connection speed to my Vista
box is unbelievably improved - things that were taking almost an hour
before are done in like 5 minutes.
*****

HTH,


Malke
 

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