On 1/25/07, Adam Williams <[EMAIL PROTECTED]> wrote: > > if your computers are in a samba domain with login scripts, you can just > add > > net time \\time_server_name /set /yes > > to their login script for each user. > > the time server has to run samba for that command to work. > > > Guenael Sanchez wrote: > > Hello everyone, > > > > I'm trying to add a package with execute="always". This package is > supposed > > to set a correct ntp server, and synchronize time. > > > > I saw in "silent installers" on wpkg's wiki, a package executing: > > > > net time \\time_server_name /set /yes. However, as local administrator, > I > > get "System error 5" (might not be the exact translation). That means > the > > current user have no rights to access the time server (local > administrator > > opposed to domain users). OK. > > > > I try another method with: w32tm /resync > > > > This command is working when I use it in my cmd, but as soon this > command is > > executed by wpkg.js (I run manually wpkg-start.bat), It's not working > > anymore... > > > > Do you have an idea ? > > > > PS: The time server is a unix ntp server that does'nt require > authentication > > (w32tm /resync) opposed to our domain server that required a valid user > to > > give time (net time \\server /set /yes) ... :( > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > wpkg-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wpkg-users > > > > > > > > Hello,
Good idea but our users don't have rights to change date&time. Thx anyway, GS ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
