Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux:samba [2010/01/29 17:47] 93.103.1.78 |
linux:samba [2012/05/17 08:36] greebo old revision restored |
||
---|---|---|---|
Line 16: | Line 16: | ||
add machine script = / | add machine script = / | ||
+ | |||
+ | <pre> | ||
+ | @ECHO OFF | ||
+ | if %username%==GOST goto izhod | ||
+ | NET USE Z: /HOME /YES | ||
+ | NET USE G: \\SERVER\USERS | ||
+ | NET USE H: \\SERVER\MEDIA | ||
+ | NET TIME \\SERVER /SET /YES | ||
+ | :izhod | ||
+ | </ | ||
+ | |||
< | < | ||
pdbedit --pwd-must-change-time=timestamp username | pdbedit --pwd-must-change-time=timestamp username |