[freenet-cvs] r15007 - trunk/apps/new_installer/res/windows/bin
nextgens at freenetproject.org
nextgens at freenetproject.org
Fri Sep 7 17:43:35 UTC 2007
Author: nextgens
Date: 2007-09-07 17:43:35 +0000 (Fri, 07 Sep 2007)
New Revision: 15007
Added:
trunk/apps/new_installer/res/windows/bin/netuser.exe
Modified:
trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
Log:
new_installer: fix a critical bug on the win32 part; on windows they are both account expiration dates and password expiration dates! we were setting only the former, meaning that after 42 days most users had to reinstall because their node wouldn't start anymore
Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd 2007-09-07 17:14:04 UTC (rev 15006)
+++ trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd 2007-09-07 17:43:35 UTC (rev 15007)
@@ -68,6 +68,9 @@
:: We shouldn't reach that point
@echo The workaround is still not working! will install freenet to run as SYSTEM
@goto registerS
+:: We don't want the password to expire
+:: FIXME: what about that 3rd party code I haven't audited yet ? - Consider using something else
+ at bin\netuser.exe freenet /pwnexp:y
:pwgen
@echo wrapper.ntservice.password=%PASSWORD%>> wrapper.password
Added: trunk/apps/new_installer/res/windows/bin/netuser.exe
===================================================================
(Binary files differ)
Property changes on: trunk/apps/new_installer/res/windows/bin/netuser.exe
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the cvs
mailing list