summaryrefslogtreecommitdiffstats
path: root/phosphor-ldap-config
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2018-10-16 14:09:57 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-19 21:37:57 -0500
commit53dd108be2a9b3bc97e199af371e39335c310d68 (patch)
treef0e2d9134417e7e6a61dbed7e48cf8c5cc2c7787 /phosphor-ldap-config
parent808eda41206f9807b61ccf7ed67e0a7d40f98a9b (diff)
downloadphosphor-user-manager-53dd108be2a9b3bc97e199af371e39335c310d68.tar.gz
phosphor-user-manager-53dd108be2a9b3bc97e199af371e39335c310d68.zip
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>
Diffstat (limited to 'phosphor-ldap-config')
-rw-r--r--phosphor-ldap-config/ldap_configuration.cpp1
1 files changed, 0 insertions, 1 deletions
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";
}
OpenPOWER on IntegriCloud