phosphor-ldap-conf: Don't map the uid with cn for openLDAP
User residing on the openLDAP server havibg the uid and the
cn attribute so no need to map the uid with cn.
Change-Id: Ie1ef9798191831d0b532b310960115c5dd8a1b33
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/phosphor-ldap-config/ldap_configuration.cpp b/phosphor-ldap-config/ldap_configuration.cpp
index 9e918e4..5582bf1 100644
--- a/phosphor-ldap-config/ldap_configuration.cpp
+++ b/phosphor-ldap-config/ldap_configuration.cpp
@@ -135,7 +135,6 @@
else if (lDAPType() == ldap_base::Config::Type::OpenLdap)
{
confData << "filter passwd (objectclass=*)\n";
- confData << "map passwd uid cn\n";
confData << "map passwd gecos displayName\n";
confData << "filter group (objectclass=posixGroup)\n";
}