<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-user-manager, branch master</title>
<subtitle>OpenBMC Phosphor user management daemon sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-user-manager/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-user-manager/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/'/>
<updated>2019-04-05T04:55:28+00:00</updated>
<entry>
<title>LDAP:change default values of GroupNameAttribute and UserNamAttribute</title>
<updated>2019-04-05T04:55:28+00:00</updated>
<author>
<name>raviteja-b</name>
<email>raviteja28031990@gmail.com</email>
</author>
<published>2019-04-02T16:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=c3f56c50ffffe1076531eb4aad7c0a574a44841f'/>
<id>urn:sha1:c3f56c50ffffe1076531eb4aad7c0a574a44841f</id>
<content type='text'>
Modify UserNameAttribute default value to "cn" and
GroupNameAttribute default value to "gidNubmer"

create config already enabled to make these attributes
user configurable.these default values are to make sure ldap
config works if user does not configure these attributes.

Tested by:
Configured LDAP without specifying group name and user name
attributes and tested ldap user authentication

Change-Id: I0091389122a384e0966659161566e9e543608628
Signed-off-by: raviteja-b &lt;raviteja28031990@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: install into bin instead of sbin</title>
<updated>2019-03-28T18:15:42+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-03-28T18:15:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=cf832ae22e98028f1a630447e10564320ba67a77'/>
<id>urn:sha1:cf832ae22e98028f1a630447e10564320ba67a77</id>
<content type='text'>
Installs into bin instead of sbin per guidelines.

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: Ie3fd4aa21c2644b2673f80a17dee13819b6b546e
</content>
</entry>
<entry>
<title>Removing unused SetPassword D-Bus API method</title>
<updated>2019-03-19T08:34:23+00:00</updated>
<author>
<name>Sumanth Bhat</name>
<email>sumanth.bhat@intel.com</email>
</author>
<published>2019-03-06T08:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=736648e25eb250d1e200cea961fe75bf791f1355'/>
<id>urn:sha1:736648e25eb250d1e200cea961fe75bf791f1355</id>
<content type='text'>
Password update is done through pam_chauthtok() API,
and don't use SetPassword. Removing the unused code.

Tested-by:
N/A.

Change-Id: I42a5b7c73bc2cb2404801df1c1cd057a94a1a924
Signed-off-by: Sumanth Bhat &lt;sumanth.bhat@intel.com&gt;
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>LDAP: Add the persistency for the "Enabled" property</title>
<updated>2019-03-11T06:40:22+00:00</updated>
<author>
<name>Ratan Gupta</name>
<email>ratagupt@linux.vnet.ibm.com</email>
</author>
<published>2019-02-18T15:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=95a2931473dfa61a30e7a65606dab15ab24cd5b4'/>
<id>urn:sha1:95a2931473dfa61a30e7a65606dab15ab24cd5b4</id>
<content type='text'>
This property will control that whether the LDAP service would
be started or not.

We are persisting this property using cereal, other properties
is being persisted through nslcd.conf, nslcd doesn't give us
a way to put this property under nslcd.conf.

Tested By:
      Test the persistency of enabled property.
        Verified that it was getting persisted across restart/reboot.

Change-Id: Id64b23b71865bac15d3be2d79abad615aa576bea
Signed-off-by: Ratan Gupta &lt;ratagupt@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>squash the following commits</title>
<updated>2019-03-11T06:30:02+00:00</updated>
<author>
<name>Ratan Gupta</name>
<email>ratagupt@linux.vnet.ibm.com</email>
</author>
<published>2019-02-11T10:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=aeaf9413a965d225d11ee1cd2c8ee9aa1f8dc862'/>
<id>urn:sha1:aeaf9413a965d225d11ee1cd2c8ee9aa1f8dc862</id>
<content type='text'>
LDAP: Adding support for extra properties
Implement GetUserInfo function in phosphor-user-manager

Squashing the commits due to phosphor-dbus-interfaces
dependency as the interface gets merged and it requires implementation
so it is a deadlock for both the commits.

Implement GetUserInfo function in phosphor-user-manager

There was need to have api which return privilege for ldap user.
it was discussed in this commit
https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-dbus-interfaces/+/12027/
and decided to have generic api.

-Checks if user is local user, then returns map of properties of
 local user like user privilege,list of user groups,user enabled
 state and user locked state.

-If its not local user, then it checks if its a ldap user,
 then get the privilege mapping for the LDAP group and returns.

TestedBy: 1) getUserInfo with local user
             verify user details.
          2) getUserInfo with ldap user having privilege mapper
             entry, verify user details.
          3) getUserInfo with no existing user.
              check for exception UserNameDoesNotExist.

Change-Id: I44af41953db60ff96b39498d72839c2ab64bc8bd
Signed-off-by: raviteja-b &lt;raviteja28031990@gmail.com&gt;

LDAP: Adding support for extra properties

This commit also decouple the ldap service(nslcd) start
with each property update,Now there is a D-bus property
ldap service enabled which controls that whether the LDAP
service will be restarted after each property update,so now user
have an option to disable the ldap service and do multi-
property update and then enable the service again.

TestedBy: 1) Create the config with new added properties
               Verify that it was getting reflected on the D-bus object.
          2) After making the change restarted the ldap-conf service
               Verify that new properties(usernameattr,groupnameattr) are correctly updated.
          3) Authenticaton test
               Verify that LDAP authentication worked fine.
          4) Set the enabled property to true
               Verify that it starts the nslcd service
          5) Set the enabled property to false
               Verify that it stops the nslcd.service
          6) Set the enabled property to true and change any other config property
               Verify that it starts the nslcd.service
          7) Set the enabled property to false which stops the nslcd service
                 and change any other config property.
               Verify that it doesn't start the nslcd service.

Change-Id: Ie3ca04a2adbbb1fe113764199348c4f7ac67f648
Signed-off-by: Ratan Gupta &lt;ratagupt@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Corrected the error log message.</title>
<updated>2019-03-06T18:22:15+00:00</updated>
<author>
<name>Ratan Gupta</name>
<email>ratagupt@linux.vnet.ibm.com</email>
</author>
<published>2019-02-20T10:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=a929752bef26e02ccd103a5669a402ba2b5d5eec'/>
<id>urn:sha1:a929752bef26e02ccd103a5669a402ba2b5d5eec</id>
<content type='text'>
Change-Id: I682dda32c0482e0849289a70d5b3ffa624bb915d
Signed-off-by: Ratan Gupta &lt;ratagupt@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>MAINTAINERS: Remove myself, add Ratan and Richard</title>
<updated>2019-03-05T15:24:07+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2019-03-05T14:44:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=6848428771dd466650d6f8556893ddf198160575'/>
<id>urn:sha1:6848428771dd466650d6f8556893ddf198160575</id>
<content type='text'>
I haven't written any code in this project, and I haven't been able
allocate much time to peer review either so it doesn't make any sense
for me to be a maintainer.

Richard and Ratan both have written code in PUM, been active in peer
review, and know a lot about the overall user management implementation
in OpenBMC.  Richard and Ratan will both provide timely and quality
feedback to PUM contributors, so it makes a lot of sense for them to
co-maintain PUM in place of Brad.

Change-Id: I72b9c471f2c42b4b962de4ecc040d6c8489ee21f
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>build: pkg anti-pattern: use defaults</title>
<updated>2019-02-13T22:54:49+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-02-13T22:54:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=5e8ccb979c80044e0fa608f269f55b3613ecfd1c'/>
<id>urn:sha1:5e8ccb979c80044e0fa608f269f55b3613ecfd1c</id>
<content type='text'>
Use the defaults in the pkg check where the default error message is
sufficient to identify which package is missing.

Change-Id: I09cf1888ea4f41b5c22d18d72b169d2ca32fc339
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>Remove output user name comparison for pam_tally2</title>
<updated>2018-11-28T14:35:00+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2018-11-22T17:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=f5c2df5eef850900ece9aa8efeaa09ec083313c9'/>
<id>urn:sha1:f5c2df5eef850900ece9aa8efeaa09ec083313c9</id>
<content type='text'>
pam_tally2 output restricts printing user name to 15 characters
This makes the extra precautionary user name comparison to fail
causing system to fail inadvertently. Hence removed the
precautionary condition, as user name is passed to pam_tally2
as argument

Unit test:
Added user name of 16 characters or more and tried querying
the user locked for failed attempt, and got successful data

Change-Id: I889c423324e53e4c554e9dce772a39f1843803b2
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Add unit tests for ldap mapper application</title>
<updated>2018-11-26T14:33:39+00:00</updated>
<author>
<name>Tom Joseph</name>
<email>tomjoseph@in.ibm.com</email>
</author>
<published>2018-11-19T04:25:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-user-manager/commit/?id=f870b48ec87c6f41e1f25343d6cf2f09c43a5647'/>
<id>urn:sha1:f870b48ec87c6f41e1f25343d6cf2f09c43a5647</id>
<content type='text'>
Change-Id: I2d75a4f2e27f6e6640e8a16cc7834116b260f547
Signed-off-by: Tom Joseph &lt;tomjoseph@in.ibm.com&gt;
</content>
</entry>
</feed>
