mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 14:07:39 +00:00
viced-hcps-logging-20060504
log whenever a client host does not have an hcps value. log the host by dotted ip-addr and port number
This commit is contained in:
parent
97a9d19643
commit
ea3ed375e8
@ -660,10 +660,13 @@ GetRights(struct client *client, struct acl_accessList *ACL,
|
|||||||
#endif /* AFS_PTHREAD_ENV */
|
#endif /* AFS_PTHREAD_ENV */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client->host->hcps.prlist_len && !client->host->hcps.prlist_val) {
|
if (!client->host->hcps.prlist_len || !client->host->hcps.prlist_val) {
|
||||||
|
char hoststr[16];
|
||||||
ViceLog(0,
|
ViceLog(0,
|
||||||
("CheckRights: len=%u, for host=0x%x\n",
|
("CheckRights: len=%u, for host=%s:%d\n",
|
||||||
client->host->hcps.prlist_len, client->host->host));
|
client->host->hcps.prlist_len,
|
||||||
|
afs_inet_ntoa_r(client->host->host, hoststr),
|
||||||
|
ntohs(client->host->port)));
|
||||||
} else
|
} else
|
||||||
acl_CheckRights(ACL, &client->host->hcps, &hrights);
|
acl_CheckRights(ACL, &client->host->hcps, &hrights);
|
||||||
H_UNLOCK;
|
H_UNLOCK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user