Fix templates smb.conf et netlogon.bat

sessionscripts
Daniel Berteaud 13 years ago
parent 5cf0041b2a
commit 39849419a3
  1. 0
      root/etc/e-smith/templates/etc/smb.conf/22GenNetlogon
  2. 2
      root/etc/e-smith/templates/home/e-smith/files/samba/netlogon/netlogon.bat/75CallSessionsScripts

@ -4,7 +4,7 @@ my $ip = $InternalInterface{'IPAddress'};
$OUT .=<<"EOF"; $OUT .=<<"EOF";
SET IPASSERELLE_IP=$ip SET IPASSERELLE_IP=$ip
REM Scripts globaux 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 REM Script personnel
if exist \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat call \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat if exist \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat call \\\\%IPASSERELLE_IP%\\tools\\scripts\\users\\%USERNAME%.bat

Loading…
Cancel
Save