[OpenAFS] Windows client install options

Gémes Géza geza@kzsdabas.hu
Wed, 23 May 2012 14:54:50 +0200


This is a multi-part message in MIME format.
--------------000006020707090907090308
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 2012-05-23 10:41, Christian wrote:
> All,
>
> we have a bunch of machines with old versions of the windows client
> left over in ill-defined states (old CellServDBs, old krb5.ini, old
> registry keys, Loopback adapter installed,...). We currently do not
> have anything like an Active Directory or other centralized deployment
> solution.
>
> It would be great if we had a batch file on a CD or on the network or
> something like that, and with one double-click it would wipe out all
> previous configuration items, remove the loopback adapter, re-install
> kerberos and openafs, set the cell name and copy the krb5.ini, and
> possibly enable integrated logon. Does anybody have something like
> this available or something close which could be modified?
>
> Thanks,
>
> Christian
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
I use wpkg to deploy openafs to windows workstations, with the help of
the attached batch files.

Hope it helps

Regards

Geza

--------------000006020707090907090308
Content-Type: application/x-msdos-program;
 name="openafs_hosts.bat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="openafs_hosts.bat"

QEVDSE8gT0ZGDQoNCmlmIG5vdCBleGlzdCAiJXByb2dyYW1maWxlcyVcR251V2luMzJcYmlu
XGdyZXAuZXhlIiBnb3RvIGVuZA0KaWYgbm90IGV4aXN0ICIlcHJvZ3JhbWZpbGVzJVxHbnVX
aW4zMlxiaW5cYXdrLmV4ZSIgZ290byBlbmQNCmlmIG5vdCBleGlzdCAiJXByb2dyYW1maWxl
cyVcR251V2luMzJcYmluXHNlZC5leGUiIGdvdG8gZW5kDQoNCjpob3N0cw0KdHlwZSAlc3lz
dGVtcm9vdCVcc3lzdGVtMzJcZHJpdmVyc1xldGNcaG9zdHMgfCAiJXByb2dyYW1maWxlcyVc
R251V2luMzJcYmluXGdyZXAuZXhlIiBBRlMgPiBOVUxMDQppZiBlcnJvcmxldmVsIDEgZ290
byByZXBhaXINCmdvdG8gbG1ob3N0cw0KDQo6bG1ob3N0cw0KdHlwZSAlc3lzdGVtcm9vdCVc
c3lzdGVtMzJcZHJpdmVyc1xldGNcbG1ob3N0cyB8ICIlcHJvZ3JhbWZpbGVzJVxHbnVXaW4z
MlxiaW5cZ3JlcC5leGUiIEFGUyA+IE5VTEwNCmlmIGVycm9ybGV2ZWwgMSBnb3RvIHJlcGFp
cg0KZ290byBlbmQNCg0KOnJlcGFpcg0KY29weSAveSAlU09GVFdBUkUlXG9wZW5hZnNcaG9z
dHMgJXN5c3RlbXJvb3QlXHN5c3RlbTMyXGRyaXZlcnNcZXRjXA0KY29weSAveSAlU09GVFdB
UkUlXG9wZW5hZnNcbG1ob3N0cyAlc3lzdGVtcm9vdCVcc3lzdGVtMzJcZHJpdmVyc1xldGNc
DQoNCjplbmQNCg==
--------------000006020707090907090308
Content-Type: application/x-msdos-program;
 name="openafs_install.bat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="openafs_install.bat"

Y2FsbCAlU09GVFdBUkUlXG9wZW5hZnNcb3BlbmFmc192ZXJzaW9uLmJhdA0KDQo6Y29tbW9u
DQo6OmNhbGwgJVNPRlRXQVJFJVxvcGVuYWZzXG9wZW5hZnNfaG9zdHMuYmF0DQppZiBub3Qg
ZXhpc3QgJVN5c3RlbURyaXZlJVxURU1QXE5VTCBtZCAlU3lzdGVtRHJpdmUlXFRFTVANCmNv
cHkgL3kgJVNPRlRXQVJFJVxvcGVuYWZzXG9wZW5hZnMqLWVuX1VTLSoldmVyc2lvbiUuKiAl
U3lzdGVtRHJpdmUlXFRFTVANCg0KdmVyIHwgZmluZCAiWFAiID4gTlVMDQppZiAlRVJST1JM
RVZFTCUgPT0gMCBnb3RvIHhwDQoNCmdvdG8gYml0cw0KDQo6eHANCiIlU09GVFdBUkUlXG9w
ZW5hZnNcV2luZG93c1hQLUtCOTU1NTM1LXg4Ni1IVU4uZXhlIiAvcXVpZXQgL25vcmVzdGFy
dA0KIiVTT0ZUV0FSR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ZXNzDQpzdGFydCAvd2FpdCAlY29tc3BlYyUgL2MgJVN5
c3RlbVJvb3QlXHN5c3RlbTMyXG1zaWV4ZWMgL2kgJVN5c3RlbURyaXZlJVxURU1QXG9wZW5h
ZnMtMzJiaXQtdG9vbHMtZW5fVVMtJXZlcnNpb24lLm1zaSBUUkFOU0ZPUk1TPSVTeXN0ZW1E
cml2ZSVcVEVNUFxvcGVuYWZzLTMyYml0LXRvb2xzLWVuX1VTLSV2ZXJzaW9uJS5tc3QgL3F1
aWV0IC9xbiBSRUJPT1Q9UmVhbGx5U3VwcHJlc3MNCmdvdG8gZW5kDQoNCjplbmQ=
--------------000006020707090907090308
Content-Type: application/x-msdos-program;
 name="openafs_upgrade.bat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="openafs_upgrade.bat"

Y2FsbCAlU09GVFdBUkUlXG9wZW5hZnNcb3BlbmFmc192ZXJzaW9uLmJhdA0KDQo6OmNhbGwg
JVNPRlRXQVJFJVxvcGVuYWZzXG9wZW5hZnNfaG9zdHMuYmF0DQppZiBub3QgZXhpc3QgJVN5
c3RlbURyaXZlJVxURU1QXE5VTCBtZCAlU3lzdGVtRHJpdmUlXFRFTVANCmNvcHkgL3kgJVNP
RlRXQVJFJVxvcGVuYWZzXG9wZW5hZnMqLWVuX1VTLSoldmVyc2lvbiUuKiAlU3lzdGVtRHJp
dmUlXFRFTVANCjo6Y29weSAveSAlU09GVFdBUkUlXGtpeFxXS0lYMzIuRVhFICVTeXN0ZW1E
cml2ZSVcVEVNUA0KOjpjb3B5IC95ICVTT0ZUV0FSRSVcb3BlbmFmc1xvcGVuYWZzX3JlbW92
ZV9sb29wYmFjay4qICVTeXN0ZW1Ecml2ZSVcVEVNUA0KOjpjb3B5IC95ICVTT0ZUV0FSRSVc
b3BlbmFmc1xpbnN0bG9vcC5leGUgJVN5c3RlbURyaXZlJVxURU1QDQolU3lzdGVtUm9vdCVc
c3lzdGVtMzJcbmV0LmV4ZSBzdG9wICJPcGVu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WVu
X1VTLTY0Yml0LSV2ZXJzaW9uJS5tc3QgL3F1aWV0IC9xbiBSRUJPT1Q9UmVhbGx5U3VwcHJl
c3MNCnN0YXJ0IC93YWl0ICVjb21zcGVjJSAvYyAlU3lzdGVtUm9vdCVcc3lzdGVtMzJcbXNp
ZXhlYyAvaSAlU3lzdGVtRHJpdmUlXFRFTVBcb3BlbmFmcy0zMmJpdC10b29scy1lbl9VUy0l
dmVyc2lvbiUubXNpIFRSQU5TRk9STVM9JVN5c3RlbURyaXZlJVxURU1QXG9wZW5hZnMtMzJi
aXQtdG9vbHMtZW5fVVMtJXZlcnNpb24lLm1zdCAvcXVpZXQgL3FuIFJFQk9PVD1SZWFsbHlT
dXBwcmVzcw0KZ290byBlbmQNCg0KOmVuZA0KJVN5c3RlbVJvb3QlXHN5c3RlbTMyXG5ldC5l
eGUgc3RhcnQgIk9wZW5BRlMgQ2xpZW50IFNlcnZpY2UiDQo=
--------------000006020707090907090308
Content-Type: application/x-msdos-program;
 name="openafs_version.bat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="openafs_version.bat"

c2V0IHZlcnNpb249MS03LTEyMDANCg==
--------------000006020707090907090308--