Hallo, Sabine, Du meintest am 10.02.11:
> The logoff from the network shares on the Windows 7 clients is > realised by a simple "net use * /d /yes" But you can't assure that every user disconnects via this command. [logon] > The little programm sends username > und password to the server and the server creates then the *.bat file > with the net use-command to connect the shares. To do so the > connection uses the linux-server ip adress e.g. > "\\10.94.1.3\login$\connect.exe" and user nobody as guest. The > created *.bat file contains the net use commands as > "\\servername\share" with the username and individual password. Windows is a multitasking system. Subsequent lines in a *.bat or *.cmd may be executed nearly parallel. To avoid that you should work with "start /w ...", p.e. start /w net use * /del /yes start /w net use u: \\%SERVER%\%USERNAME% Viele Gruesse! Helmut -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba