mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
Windows: add logging to smb_IoctlRead
Change-Id: Ia1c7fc1035eee07de47776e63d6a054ee2809f2f Reviewed-on: http://gerrit.openafs.org/5350 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
2588dd1247
commit
69463ac0cb
@ -223,6 +223,14 @@ smb_IoctlRead(smb_fid_t *fidp, smb_vc_t *vcp, smb_packet_t *inp, smb_packet_t *o
|
||||
smbp = (smb_t *) inp;
|
||||
uidp = smb_FindUID(vcp, smbp->uid, 0);
|
||||
if (uidp) {
|
||||
if (uidp->unp) {
|
||||
osi_Log3(afsd_logp, "Ioctl uid %d user %x name %s",
|
||||
uidp->userID, userp,
|
||||
osi_LogSaveClientString(afsd_logp, uidp->unp->name));
|
||||
} else {
|
||||
osi_Log2(afsd_logp, "Ioctl uid %d user %x no name",
|
||||
uidp->userID, userp);
|
||||
}
|
||||
isSystem = smb_userIsLocalSystem(uidp);
|
||||
userp = smb_GetUserFromUID(uidp);
|
||||
if (uidp->unp) {
|
||||
@ -422,7 +430,6 @@ smb_IoctlV3Read(smb_fid_t *fidp, smb_vc_t *vcp, smb_packet_t *inp, smb_packet_t
|
||||
|
||||
iop->uidp = uidp;
|
||||
|
||||
|
||||
code = smb_LookupTIDPath(vcp, ((smb_t *)inp)->tid, &iop->tidPathp);
|
||||
if (code) {
|
||||
if (uidp)
|
||||
|
Loading…
Reference in New Issue
Block a user