git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ae2f1d3
)
windows-afskfw-20051130
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Wed, 30 Nov 2005 06:39:40 +0000 (06:39 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Wed, 30 Nov 2005 06:39:40 +0000 (06:39 +0000)
correct the construction of the client name (with realm) when krb524
is being used.
src/WINNT/afsd/afskfw.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/afskfw.c
b/src/WINNT/afsd/afskfw.c
index
99324f3
..
9113989
100644
(file)
--- a/
src/WINNT/afsd/afskfw.c
+++ b/
src/WINNT/afsd/afskfw.c
@@
-3074,11
+3074,8
@@
KFW_AFS_klog(
}
strcpy(aclient.instance, "");
- if ( strcmp(realm_of_cell, creds.realm) )
- {
- strncat(aclient.name, "@", MAXKTCNAMELEN - 1);
- strncpy(aclient.name, creds.realm, MAXKTCREALMLEN - 1);
- }
+ strncat(aclient.name, "@", MAXKTCNAMELEN - 1);
+ strncat(aclient.name, creds.realm, MAXKTCREALMLEN - 1);
aclient.name[MAXKTCREALMLEN-1] = '\0';
strcpy(aclient.cell, CellName);