[OpenAFS-devel] Openafs 1.0.3 + S/390 + kas wierdness

jacobi@de.ibm.com jacobi@de.ibm.com
Tue, 15 May 2001 16:10:53 +0200


--0__=MzQ2IGjKonxgkOrlofecEx4orooyA2CavpOjyaLVDaDKOORmB03tRd9R
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline




Yep, it seems I found the bug. I made a little change to the mentioned
lines (my
last posting) in the source code, and now he (I means "kas") behaves
differently
(patch is attached). I could also write an essay about the reasons why this
patch solves
the problem, but I will do that only on demand because so many issues must
be explained
in order to understand what is going on there (this behaviour occurs only
on 31-bit
S/390-Systems, the "s390x"-machines should change the AFS-password also
without this patch as far as I can imagine) ...

Carsten Jacobi

(See attached file: openafs-1.0.4-s390_SetPassword.patch)

--0__=MzQ2IGjKonxgkOrlofecEx4orooyA2CavpOjyaLVDaDKOORmB03tRd9R
Content-type: application/octet-stream; 
	name="openafs-1.0.4-s390_SetPassword.patch"
Content-Disposition: attachment; filename="openafs-1.0.4-s390_SetPassword.patch"
Content-transfer-encoding: base64

LS0tIHNyYy9rYXV0aC9hZG1pbl90b29scy5jLm9yaWcJTW9uIEFwciAyMyAwODoxMTozMiAyMDAx
CisrKyBzcmMva2F1dGgvYWRtaW5fdG9vbHMuYwlUdWUgTWF5IDE1IDE0OjEzOjU4IDIwMDEKQEAg
LTc2OCw3ICs3NjgsMTEgQEAKICAgICBpZiAoYXMtPnBhcm1zWzNdLml0ZW1zKSAKICAgICAgIHNz
Y2FuZiAoYXMtPnBhcm1zWzNdLml0ZW1zLT5kYXRhLCAiJWQiLCAma3Zubyk7CiAKKyNpZmRlZiBB
RlNfUzM5MF9MSU5VWDIwX0VOVgorICAgIGNvZGUgPSB1YmlrX0NhbGwgKEtBTV9TZXRQYXNzd29y
ZCwgY29ubiwgMCwgbmFtZSwgaW5zdGFuY2UsIGt2bm8sIDAsIGtleSk7CisjZWxzZQogICAgIGNv
ZGUgPSB1YmlrX0NhbGwgKEtBTV9TZXRQYXNzd29yZCwgY29ubiwgMCwgbmFtZSwgaW5zdGFuY2Us
IGt2bm8sIGtleSk7CisjZW5kaWYKICAgICBpZiAoY29kZSkgY29tX2VyciAod2hvYW1pLCBjb2Rl
LAogCQkgICAgICAgInNvIGNhbid0IHNldCBwYXNzd29yZCBmb3IgJXMuJXMiLCBuYW1lLCBpbnN0
YW5jZSk7CiAgICAgcmV0dXJuIGNvZGU7Cg==

--0__=MzQ2IGjKonxgkOrlofecEx4orooyA2CavpOjyaLVDaDKOORmB03tRd9R--