You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
942 B
35 lines
942 B
#include "pch.h"
|
|
#include "..\..\w95upgnt\migmain\migmainp.h"
|
|
|
|
INT
|
|
__cdecl
|
|
main (
|
|
INT argc,
|
|
CHAR *argv[]
|
|
)
|
|
{
|
|
if (!MyInitLibs (argc >= 2 ? argv[1] : NULL)) {
|
|
printf ("Unable to initialize!\n");
|
|
return 255;
|
|
}
|
|
|
|
MemDbSetValue (TEXT("KnownDomain\\Redmond\\jimschm"), 0);
|
|
MemDbSetValue (TEXT("KnownDomain\\Redmond\\marcw"), 0);
|
|
MemDbSetValue (TEXT("KnownDomain\\Redmond\\mikeco"), 0);
|
|
MemDbSetValue (TEXT("KnownDomain\\Red-Mo\\joehol"), 0);
|
|
MemDbSetValue (TEXT("KnownDomain\\Red-Mo\\Administrator"), 0);
|
|
MemDbSetValue (TEXT("AutosearchDomain\\w95mig1"), 0);
|
|
MemDbSetValue (TEXT("AutosearchDomain\\w95mig5"), 0);
|
|
MemDbSetValue (TEXT("AutosearchDomain\\fooacct"), 0);
|
|
|
|
if (!SearchDomainsForUserAccounts()) {
|
|
printf ("SearchDomainsForUserAccounts failed. Error=%u\n", GetLastError());
|
|
}
|
|
|
|
MyTerminateLibs();
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
|