Monday, August 24, 2009

perl read from standard in

$var = 

or
@vars =
foreach (@vars) {
}


from http://www.linuxtopia.org/Perl_Programming/pickingUpPerl_Input2.html

Tuesday, August 18, 2009

clean up old installers

Use MsiZap from ms visual studio with the G option to clean up orphaned installer patches.

From comments on http://blogs.msdn.com/heaths/archive/2007/01/17/the-patch-cache-and-freeing-space.aspx

Monday, August 17, 2009

smbpasswd failing with NT_STATUS_LOGON_FAILURE

when smbpasswd fails with "Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILURE" the issue is that the old password you are using is incorrect.

smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILURE
Failed to change password for

The old password being used is incorrect resulting in a failure to log into the machine to change your password.