Forum Mac Os X server

Forum francophone sur les technologies serveur d'Apple
 
AccueilAccueil  FAQFAQ  RechercherRechercher  S'enregistrerS'enregistrer  MembresMembres  GroupesGroupes  Connexion  

Partagez | 
 

 Network Home Redirector

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
Alex_
Admin


Nombre de messages : 442
Localisation : Nantes_Fr
Date d'inscription : 13/11/2005

MessageSujet: Network Home Redirector   Lun 23 Oct - 11:57

Jeff Ochsner nous propose Network Home Redirector

Un petit script permettant la redirection de quelques fichiers caches : caches Safari, mais aussi le 'dossier utilisateur' Microsoft… qui, lors de la mise en place des 'network-based home directories'
occupent inutilement de la bande passante.

Ce script propose donc un reroutage vers un dossier en local de ces quelques fichiers gourmands en ressource…

Ci dessous le descriptif :

The purpose of this package installer is to provide you with an easy way to distribute a script(s) that will redirect several files and folders from a network home user's home on the server to the local machine. These files and folders can include Microsoft User Data, AppleWorks User Data, Caches, Fonts, Movies, Music and Pictures folders. By redirecting these folders to the local machine, it can help with server performance, since these files and folders will "live" on the local machine and not on the server.

The package installer will install clean.sh (or cleanbasic.sh or cleanmm.sh - depending on the package that you install) and cleanup.sh in the /Library/Scripts folder of the local machine. It will then set a login and logout hook on the local machine so that clean.sh (or cleanbasic.sh or cleanmm.sh - depending on the package that you install) will run at each login and cleanup.sh at each logout. All local accounts (including mobile accounts and portable home directories) will bypass these scripts, and only users with network homes will be affected.

NHRBasic.pkg simply redirects the network user's Caches and Fonts folders to the local machine (Caches into /tmp and Fonts to /Library/Fonts). NHR.pkg redirects the network user's Caches and Fonts folders, along with the user's Microsoft User Data and AppleWorks User Data folders. One thing that is important for this installer to work correctly, is to make sure the local admin user (the first account set up on the local machine - with UID 501), has launched all of the Office applications - Word, Excel and PowerPoint and AppleWorks. It is also important to note that you need to throw away the local admin user's Library/Preferences/Microsoft/Clip Gallery Preference file. If this file is present, it will cause Clip Art Gallery to hang on network home users. NHRMM.pkg will do everything that NHR.pkg does, and will also redirect the network user's Movies, Music and Pictures folders to the local machine (in /Users/Shared/). And NHRUninstall.pkg is a package that will delete all scripts from any of the package installs above and the login and logout hooks.

Note: Currently, the network user needs to have a login shell defined in Workgroup Manager for the scripts to function properly (If it is set to None, the scripts won't be able to run properly). Also, I have only tested the Microsoft Office redirection with Office v.2004 - earlier versions have not been tested and might not work as expected. Also, if Entourage is used, do not run the redirection for Office, as Entourage will not work correctly.

Disclaimer: Use these packages and scripts at your own risk. Although I have complete confidence in the NHR scripts, you are reminded that use of these scripts are at your own risk without any warranty. In no event shall I be liable for any damage that these scripts might cause. Test these scripts out extensively before mass deploying it to your machines.

If you have questions or comments, please send them to jochsner@neb.rr.com

Special thanks to Steve Hayman, Mike Bombich and Corey Carson for helping with this project!!
Revenir en haut Aller en bas
Voir le profil de l'utilisateur http://www.erba-nantes.fr
 
Network Home Redirector
Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» AcronisTrue Image Home 2010 Netbook Edition : est-ce que ça vaut le coup ?
» Partenariat: "GFX Home"
» calagan57: sketchup pour projet de réalisation d'une salle home cinema
» LG : un nouveau mode pour du Home Cinéma au casque
» (RESOLU) Infecté par Delta home

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Forum Mac Os X server :: Installation Os X serveur-
Sauter vers: