Update: (BUG) Removed invalid getProprty() for LDAP

We have also added 

env.put(javax.naming.Context.AUTHORITATIVE, "true");
env.put(javax.naming.Context.REFERRAL, "follow");

but not sure