Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: daniel on July 20, 2009, 04:32:58 PM

Title: Windows Vista and Windows 7 enhancements
Post by: daniel on July 20, 2009, 04:32:58 PM
In testing Windows Vista SP2 and Windows 7RC1, I've come across some hacks that help make the Os work better with Samba (linux) and CIFS (netware).

1. Change Security network connection from default to LM & NTLM.  Open up Local Security Policy editor. Select Local Policy | Security Options.  Change Network Security: Lan Manager Authentication Level to Send LM&NTLM-use NTLM2 if session is negotiated.

2.   Change RDC.  Open Control Panel | Programs and Features. Select Turn Windows features on or off.  Uncheck the Remote Differential Compression.  This will require a reboot of the workstation.  This turns off the adjustments the network makes in talking to shares on linux (or Netware).

3.   Disable autotuning.  Open a command prompt, Start | Run | CMD to open a dos window.  In the window type netsh interface tcp set global autotuning=disabled  This must be run as an administrator on the local machine.  This will require a reboot of the workstation.   This makes talking to the SME server in a web browser much quicker as well as most other internet web pages.

These are the hacks I make on all my Vista/Win7 systems and so far I have only seen remarkable improvement when connecting to SME servers. 
Title: Re: Windows Vista and Windows 7 enhancements
Post by: shawnbishop on July 22, 2009, 01:06:10 PM
Definelty should be added to Wiki, under Windows Integration..
Title: Re: Windows Vista and Windows 7 enhancements
Post by: dtech on July 22, 2009, 03:13:15 PM
Just wondering if these tweaks allow Windows 7 to join an SME/NT4 domain. The last time I looked or tried to get it to work, it wouldn't and Microsoft's position was that it wasn't going to.
Title: Re: Windows Vista and Windows 7 enhancements
Post by: cactus on July 22, 2009, 09:21:03 PM
Just wondering if these tweaks allow Windows 7 to join an SME/NT4 domain. The last time I looked or tried to get it to work, it wouldn't and Microsoft's position was that it wasn't going to.
True. And here is why: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/5eae37ad-585d-44f1-976b-2c39414e7d22
Title: Re: Windows Vista and Windows 7 enhancements
Post by: Stefano on July 22, 2009, 09:44:34 PM
True. And here is why: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/5eae37ad-585d-44f1-976b-2c39414e7d22

interesting.. someone should explain to M$ that all samba's domains are NT4-style domains.. anyway, IMHO (I'm not starting a religion war) vista and w7 are the best M$ OS to.. move to linux even on desktops. all IMVHO

ciao
Stefano
Title: Re: Windows Vista and Windows 7 enhancements
Post by: cactus on July 22, 2009, 09:48:59 PM
IMHO (I'm not starting a religion war) vista and w7 are the best M$ OS to.. move to linux even on desktops.
Perhaps, but not in most corporate environments... :-(
Title: Re: Windows Vista and Windows 7 enhancements
Post by: daniel on July 22, 2009, 10:03:21 PM
I think what will help keep SME Server on track as a great small business server in a Vista/win7 workstation environment is to keep the updating moving toward a stable V8, integrated LDAP, updated SAMBA to support AD.  My original thread was a mere suggestion for helping those that might be having some of the same issues I have in integration to vista/win7.   :P
Title: Re: Windows Vista and Windows 7 enhancements
Post by: Stefano on July 22, 2009, 10:21:25 PM
Quote
Perhaps, but not in most corporate environments... :-(

give your definition of "corporate environments", thank you ;-)

Stefano
Title: Re: Windows Vista and Windows 7 enhancements
Post by: mdo on August 01, 2009, 11:29:24 PM
But there should be some hope for Windows 7 to be part of a Samba (NT4) domain:

http://ggts.net/2009/05/17/joining-a-windows-7-system-to-a-samba-domain/
Title: Re: Windows Vista and Windows 7 enhancements
Post by: Franco on August 15, 2009, 07:42:27 PM
vista and w7 are the best M$ OS to.. move to linux even on desktops.
Just out of curiosity, what linux system would you recommend move to? I´m about to wipe a laptop with w7 for a friend :-D
Title: Re: Windows Vista and Windows 7 enhancements
Post by: Stefano on August 15, 2009, 09:04:17 PM
Just out of curiosity, what linux system would you recommend move to? I´m about to wipe a laptop with w7 for a friend :-D

well, I'm using ubuntu 9.04 on my laptop and centos 5.3 on my desktop.. this last one has the advantage that makes me fell "at home" because of yum, rpms, directories ecc..

HTH
Ciao
Stefano
Title: Re: Windows Vista and Windows 7 enhancements
Post by: firstgalaxycomputer on August 18, 2009, 10:50:48 AM
i need help guys anyone here can help me solve my problem i cannot rename the folder if i using vista os pls help did some here here able to help i really thanksfull to you all

thanks

Title: Re: Windows Vista and Windows 7 enhancements
Post by: Stefano on August 18, 2009, 08:01:01 PM
i need help guys anyone here can help me solve my problem i cannot rename the folder if i using vista os pls help did some here here able to help i really thanksfull to you all

please don't hijack topics, open a new one

in any case, before posting asking for help, think about we are far from your server and without crystal ball, so you should be more verbose in describing your problem..

Ciao
Stefano
Title: Re: Windows Vista and Windows 7 enhancements
Post by: RedBeard on September 03, 2009, 09:18:33 PM
FYI, Don't now if this will help but I ran across this today:

Samba 3 and Windows Vista Clients
http://www.pcc-services.com/samba/samba-vista.html (http://www.pcc-services.com/samba/samba-vista.html)
Title: Re: Windows Vista and Windows 7 enhancements
Post by: Stefano on September 03, 2009, 09:37:04 PM
Samba 3 and Windows Vista Clients
http://www.pcc-services.com/samba/samba-vista.html (http://www.pcc-services.com/samba/samba-vista.html)

very nice, thank you

Stefano
Title: Re: Windows Vista and Windows 7 enhancements
Post by: gippsweb on October 07, 2009, 03:16:40 PM
But there should be some hope for Windows 7 to be part of a Samba (NT4) domain:

win7 will connect to SME using the registry hacks/changes that are available. However the workstations will not login using any SME accounts.

It will only throw an error about the workstation not being trusted on the domain. Then logging in to the PC as a local user stops any file sharing on it from others on the network with the same error msg.

Damn win 7, if we didn't need a PC running it for staff training I think I'd put xp back on it....
Title: Re: Windows Vista and Windows 7 enhancements
Post by: brianr on October 08, 2009, 07:21:37 AM
this is relevant to being able to use W7 on an SME domain.

http://bugs.contribs.org/show_bug.cgi?id=5423
Title: Re: Windows Vista and Windows 7 enhancements
Post by: gippsweb on October 08, 2009, 07:56:48 AM
I am happy to try the changes in the other thread here http://forums.contribs.org/index.php/topic,43219.msg216768.html#msg216768 and mentioned in bugzilla

Does anyone think it will cause any sme upgrade problems down the track though, I have tried to keep mine as vanilla as possible to keep upgrades as easy as possible.
If upgrading samba is likely to break future upgrades though I will leave it be for the moment..
Title: Re: Windows Vista and Windows 7 enhancements
Post by: cactus on October 08, 2009, 08:06:14 AM
If upgrading samba is likely to break future upgrades though I will leave it be for the moment..
My guess is they most likely will brake future upgrades. The source of the packages is unknown and certainly not one of our 'trusted' providers like CentOS or Fedora EPEL. There has been some discussion of rolling our own newer samba packages compared to CentOS (which is our upstream provider), see http://bugs.contribs.org/show_bug.cgi?id=5423#c20 and http://bugs.contribs.org/show_bug.cgi?id=5423#c21 .
Title: Re: Windows Vista and Windows 7 enhancements
Post by: gippsweb on October 08, 2009, 08:30:57 AM
I've been following that bug for a while.
We had 7 rtm for about 4-6 weeks already(Technet subs), so have been able to do a fair bit of testing with it.
I've had it connected to an ubuntu server with samba 3.4, but even upgrading from that breaks it.
So I think 3.4 is currently the sweet spot..
Title: Re: Windows Vista and Windows 7 enhancements
Post by: beckynet on October 10, 2009, 08:44:00 AM
Hello World,

I've try the following to Join SME 7.4 and Win 7 without succes. I've also try other registry setting.
My SME System use samba-3.0.33-0.17.el4 that seem incompatible with Win 7.
I've read that Win 7 require Samba 3.3.4
http://www.1stbyte.com/2009/05/31/join-windows-7-to-samba-pdc/ (http://www.1stbyte.com/2009/05/31/join-windows-7-to-samba-pdc/)

Can I update mine Samba without risk ?

Thanks Olivier

In testing Windows Vista SP2 and Windows 7RC1, I've come across some hacks that help make the Os work better with Samba (linux) and CIFS (netware).

1. Change Security network connection from default to LM & NTLM.  Open up Local Security Policy editor. Select Local Policy | Security Options.  Change Network Security: Lan Manager Authentication Level to Send LM&NTLM-use NTLM2 if session is negotiated.

2.   Change RDC.  Open Control Panel | Programs and Features. Select Turn Windows features on or off.  Uncheck the Remote Differential Compression.  This will require a reboot of the workstation.  This turns off the adjustments the network makes in talking to shares on linux (or Netware).

3.   Disable autotuning.  Open a command prompt, Start | Run | CMD to open a dos window.  In the window type netsh interface tcp set global autotuning=disabled  This must be run as an administrator on the local machine.  This will require a reboot of the workstation.   This makes talking to the SME server in a web browser much quicker as well as most other internet web pages.

These are the hacks I make on all my Vista/Win7 systems and so far I have only seen remarkable improvement when connecting to SME servers.