Expand LDAP groups only if accountMemberField set

If we don't have the attribute name to lookup recursive group
membership through, we can't actually perform the query, the
JNDI library will throw an NPE.

So instead skip out of the method if we haven't configured this
attribute for our environment.

Change-Id: Ic57eee457acb4a25ccf8929b98cadc80fc409e57
Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed