Skip to content

Commit

Permalink
HPCC-18268 Default to no access if no user available
Browse files Browse the repository at this point in the history
Can occur from a stand alone program with dali access

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
  • Loading branch information
ghalliday committed Sep 14, 2017
1 parent a165d1a commit fdb43ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dali/base/dasess.cpp
Expand Up @@ -893,6 +893,8 @@ class CClientSessionManager: public CSessionManagerBase, implements IConnectionM
securitydisabled = true;
return SecAccess_Unavailable;
}
if (!udesc)
return SecAccess_Unknown;
CMessageBuffer mb;
mb.append((int)MSR_LOOKUP_LDAP_PERMISSIONS);
mb.append(key).append(obj);
Expand Down

0 comments on commit fdb43ad

Please sign in to comment.