Difference between revisions of "Windows 7 Support"
(→Roaming Profiles: add note about temporary profiles) |
(add source code links) |
||
Line 61: | Line 61: | ||
chown -R admin.admin admin.v2 | chown -R admin.admin admin.v2 | ||
chmod -R 700 admin.v2 | chmod -R 700 admin.v2 | ||
+ | |||
+ | ==Source Code== | ||
+ | SerNet publishes the source code for their latest Samba build at http://ftp.sernet.de/pub/samba/3.5/src/rpm/ | ||
+ | |||
+ | Code for older builds is also available at http://ftp.sernet.de/pub/samba/old/src/rpm/ | ||
---- | ---- | ||
[[Category:Howto]] | [[Category:Howto]] | ||
[[Category:Administration]] | [[Category:Administration]] |
Revision as of 04:12, 11 March 2011
Author
Background
Windows 7 was released in October 2009. Due to changes in the way that trust relationships are established with domain controllers, older versions of Samba do not allow Windows 7 clients to log in once joined to a domain.
Although an upstream fix was made available for SME 8 beta (based on CentOS 5, see bug 5425), there is no comparable fix available from the upstream vendor for SME 7.x (based on CentOS 4).
Adding Windows 7 Support
Thanks to SerNet, SME 7 users can now install an updated version of Samba which fixes the domain trust issues.
Installation
- Add the SerNet repository for CentOS 4.x
db yum_repositories set SerNet repository \ BaseURL http://ftp.sernet.de/pub/samba/3.5/centos/4 \ EnableGroups yes \ GPGCheck no \ Name 'SerNet Samba Team packages (CentOS 4)' \ Visible yes \ status enabled signal-event yum-modify
- Update SME Server - the new Samba packages will install automatically.
yum update signal-event post-upgrade ; signal-event reboot
Configuring Clients
- Install the Windows 7 registry patch from http://yourserver/server-resources/
- Add the client machine to the domain as normal.
- Log in as the 'admin' user for the first time.
Roaming Profiles
Windows 7 clients require that a version 2 profile folder exist in the profiles$ share, which on SME Server is located in /home/e-smith/files/samba/profiles
Any new users you add will automatically be given this additional folder, see bug 5423.
For existing users, you will need to add the folder manually:
cd /home/e-smith/files/samba/profiles mkdir <myuser>.v2 chown -R <myuser>.<myuser> <myuser>.v2 chmod -R 700 <myuser>.v2
Replace <myuser> with each user account name in turn.
For the admin user only, the v2 profile folder is created automatically when logging in to a client machine. In this case, you should secure the folder to prevent unauthorised access by other users:
cd /home/e-smith/files/samba/profiles chown -R admin.admin admin.v2 chmod -R 700 admin.v2
Source Code
SerNet publishes the source code for their latest Samba build at http://ftp.sernet.de/pub/samba/3.5/src/rpm/
Code for older builds is also available at http://ftp.sernet.de/pub/samba/old/src/rpm/