From: Jeffrey Altman Date: Wed, 30 Nov 2005 06:39:40 +0000 (+0000) Subject: windows-afskfw-20051130 X-Git-Tag: openafs-devel-1_5_0~182 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=eeee5a9e14a693538a62565483db8f1b3d46cc99;p=packages%2Fo%2Fopenafs.git windows-afskfw-20051130 correct the construction of the client name (with realm) when krb524 is being used. --- diff --git a/src/WINNT/afsd/afskfw.c b/src/WINNT/afsd/afskfw.c index 99324f3b3..9113989ff 100644 --- 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);