Mandi! Johannes.Brix at evidian.com In chel di` si favelave... > Any idea how to solve this? I've some branch office, all with the same configuration, and some road warriors. My WPKG installation have the recipes heavily parametrized and client are profiled, so i simply copy (scp, rsync) my 'WPKG database' between branches. Every client try to load database and software packages from, respectively, the FILE and MEDIA servers, that are aliases of the local server(s) (i use samba, with 'netbios aliases' option). In WPKGClient settings.xml i've defined an anvironment variable (LOCALNET) to an unique id of that branch office. In pre execution script (that reside server-side) i've simply put: if not "%LOCALNET%" == "sv" ( exit 1 ) so, if a foreign client came from another branch office, access the WPKG system at wire speed (because they try to use anyway \\FILE\wpkg that locally exist), but does nothing because LOCALNET does not match. Note that this is not security, it is only commodity. ;-) A far better security approach would be to have aliases for servers (to speedup), but not to use guest access for share but user/pass access, using different password for different branch offices. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) |