<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
this time i tried this guide:<br>
<br>
<a href="http://wpkg.org/WPKG_with_winexe">http://wpkg.org/WPKG_with_winexe</a><br>
<br>
wpkg version: WPKG 1.3<br>
<br>
but unfortunately i still have not one package succesfully
installed.<br>
<br>
wpkg-client isn't installed at all<br>
<br>
in the logs i get the following:<br>
<br>
wpkg.log:<br>
<br>
Di 17. Jul 11:57:24 CEST 2012 buero2 (IP: 192.168.0.83, PID: 18525)
cscript was already running<br>
Di 17. Jul 11:57:24 CEST 2012 buero2 (IP: 192.168.0.83, PID: 18525)
processing done<br>
Tue Jul 17 11:57:37 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20097)
starting processing (share hit: IPC_)<br>
Tue Jul 17 11:57:37 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20097)
not updated during the last 24 h - starting WPKG<br>
Tue Jul 17 11:57:47 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20097)
process finished - winexe ended<br>
Tue Jul 17 11:57:48 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20121)
starting processing (share hit: IPC_)<br>
Tue Jul 17 11:57:48 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20121)
winexe already running<br>
Tue Jul 17 11:57:48 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20121)
processing done<br>
<br>
buero2.log:<br>
<br>
ERROR: Failed to open connection - NT_STATUS_IO_TIMEOUT<br>
<br>
i added to my smb.conf on pdc:<br>
<br>
root preexec = /opt/wpkg-preexec.sh %I %m %S &<br>
<br>
i edited wpkg-preexec.sh accordingly:<br>
<br>
WINUSER='WORKGROUP\installer'<br>
PASSWORD='s3cr3t'<br>
LOGPATH=/var/log/wpkg<br>
WINEXE=/opt/winexe<br>
<br>
and also adjusted the following:<br>
<br>
<span style="color: rgb(0, 0, 0); font-family: sans-serif;
font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: 19px;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; ">net use
\\\\branchdc\\unattended /user:$WINUSER $PASSWORD --> net use
\\\\pdc\\wpkg</span> /user:$WINUSER $PASSWORD<br>
<br>
cscript \\\\branchdc\\unattended\\software\\wpkg\\wpkg.js
/synchronize /nonotify /debug --> cscript \\\\pdc\\wpkg\\wpkg.js
/synchronize /nonotify /debug<br>
<br>
same for net use /delete \\\\branchdc\\unattended --> net use
/delete \\\\pdc\\wpkg<br>
<br>
all files are on the right place:<br>
<br>
ls -al /opt<br>
-rwxr-xr-x 1 root root 9922182 2012-07-17 11:02 winexe<br>
-rwxr-xr-x 1 root root 3410 2012-07-17 12:10 wpkg-preexec.sh<br>
<br>
if i type net share on windows commandline i get:<br>
<br>
ADMIN$<br>
C$<br>
IPC$<br>
<br>
so everything is looking fine.<br>
<br>
what could be wrong?<br>
<br>
please help. thanks a lot<br>
</body>
</html>