From 53dd108be2a9b3bc97e199af371e39335c310d68 Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Tue, 16 Oct 2018 14:09:57 +0530 Subject: 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 --- phosphor-ldap-config/ldap_configuration.cpp | 1 - 1 file changed, 1 deletion(-) 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 @@ void Config::writeConfig() 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"; } -- cgit v1.2.1