summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNagaraju Goruganti <ngorugan@in.ibm.com>2018-10-10 08:48:12 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-19 21:37:57 -0500
commit808eda41206f9807b61ccf7ed67e0a7d40f98a9b (patch)
tree5128c86531ed355d511eb69cd928e51dc1d3feea
parent59287f090c9ea371a6d7f9c151f26c46a068a0b3 (diff)
downloadphosphor-user-manager-808eda41206f9807b61ccf7ed67e0a7d40f98a9b.zip
phosphor-user-manager-808eda41206f9807b61ccf7ed67e0a7d40f98a9b.tar.gz
phosphor-ldap-conf: update nslcd.conf file for OpenLdap
update the config file with "filter group (objectclass=posixGroup)" for OpenLdap. Change-Id: I4a0a4693294745391d58d7ee9158c75468637f36 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
-rw-r--r--phosphor-ldap-config/ldap_configuration.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/phosphor-ldap-config/ldap_configuration.cpp b/phosphor-ldap-config/ldap_configuration.cpp
index 6fdc511..9e918e4 100644
--- a/phosphor-ldap-config/ldap_configuration.cpp
+++ b/phosphor-ldap-config/ldap_configuration.cpp
@@ -137,6 +137,7 @@ void Config::writeConfig()
confData << "filter passwd (objectclass=*)\n";
confData << "map passwd uid cn\n";
confData << "map passwd gecos displayName\n";
+ confData << "filter group (objectclass=posixGroup)\n";
}
try
{
OpenPOWER on IntegriCloud