From 39849419a32b17600911fc8aba33aae0363c83c9 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 25 Jun 2012 18:10:06 +0200 Subject: [PATCH] Fix templates smb.conf et netlogon.bat --- .../templates/etc/smb.conf/{50homesGenNetlogon => 22GenNetlogon} | 0 .../e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename root/etc/e-smith/templates/etc/smb.conf/{50homesGenNetlogon => 22GenNetlogon} (100%) diff --git a/root/etc/e-smith/templates/etc/smb.conf/50homesGenNetlogon b/root/etc/e-smith/templates/etc/smb.conf/22GenNetlogon similarity index 100% rename from root/etc/e-smith/templates/etc/smb.conf/50homesGenNetlogon rename to root/etc/e-smith/templates/etc/smb.conf/22GenNetlogon diff --git a/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts b/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts index 4d5061f..81d4c9f 100644 --- a/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts +++ b/root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts @@ -4,7 +4,7 @@ my $ip = $InternalInterface{'IPAddress'}; $OUT .=<<"EOF"; SET IPASSERELLE_IP=$ip REM Scripts globaux -for /F "tokens=*" %%f in ('dir /B /ON \\\\%IPASSERELLE_IP%\\tools\\scripts\\session\\*.bat') do call \\\\%IPASSERELLE_IP\\tools\\scripts\\session\\%%f +for /F "tokens=*" %%f in ('dir /B /ON \\\\%IPASSERELLE_IP%\\tools\\scripts\\session\\*.bat') do call \\\\%IPASSERELLE_IP%\\tools\\scripts\\session\\%%f REM Script personnel if exist \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat call \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat