mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
repair-afs-cryptall-20010111
This makes it possible to have encryption enabled, but does not expose an interface to do so. That will follow tomorrow, when hopefully OpenAFS and Arla will have synchronized pioctls allowing userspace compatibility
This commit is contained in:
parent
4e81c489ee
commit
10892a7bde
@ -220,15 +220,15 @@ struct conn *afs_ConnBySA(struct srvAddr *sap, unsigned short aport,
|
||||
|
||||
if (cryptall) {
|
||||
level=rxkad_crypt;
|
||||
isec=3;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
level=rxkad_clear;
|
||||
isec=2;
|
||||
}
|
||||
/* kerberos tickets on channel 2 */
|
||||
csec = rxkad_NewClientSecurityObject(level, tu->ct.HandShakeKey,
|
||||
/* kvno */ tu->ct.AuthHandle, tu->stLen, tu->stp);
|
||||
isec=2;
|
||||
/* kerberos tickets on channel 2 */
|
||||
csec = rxkad_NewClientSecurityObject(level, tu->ct.HandShakeKey,
|
||||
/* kvno */
|
||||
tu->ct.AuthHandle,
|
||||
tu->stLen, tu->stp);
|
||||
}
|
||||
if (isec == 0)
|
||||
csec = rxnull_NewClientSecurityObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user