Bug 1269961

Summary: Modifying user details such at IPA server UI, are not immediately reflected at client login.
Product: Red Hat Enterprise Linux 7 Reporter: Nikhil Dehadrai <ndehadra>
Component: doc-Linux_Domain_Identity_Management_GuideAssignee: Aneta Šteflová Petrová <apetrova>
Status: CLOSED CURRENTRELEASE QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: ndehadra
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-10 11:25:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikhil Dehadrai 2015-10-08 15:32:57 UTC
Description of problem:
Modifying user details such as homedir, shell at IPA server UI, are not immediately reflected at client login. The details get up updated at the client system after 5 minutes approximately. 

Version-Release number of selected component (if applicable):
IPA server version: 4.2.0
sssd-1.13.0-36.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a user at the IPA server, defined with parameters such as homedir and shell. ( In my case user=test1,shell=/bin/bash,homedir=/home/test1)
2. Click Save and verify that the user and its details are correctly populated at the IPA server UI.
3. Now login to the client system using the created user in step1 and check homedir (using pwd) and shell (using echo $0)
4. Now at the server UI, modify the shell details.(In my case shell=/bin/sh)
5. Again login to the client system using the same user account and notice the shell details.
6. After 5 mins (approximately), again login to the client machine using the same user account and notice the shell.

Actual results:
1. After step3, the shell homedir and shell details are correctly reflected. (In my case shell=/bin/bash,homedir=/home/test1)
2. After step5, the shell homedir and shell details are not correctly reflected. (In my case shell=/bin/bash,homedir=/home/test1)
3. After step6, the shell homedir and shell details gets updated and is  correctly reflected. (In my case shell=/bin/sh,homedir=/home/test1)

Expected results:
After step5, the user details should be updated and reflected at the client system immediately.


Additional info: 
As per discussion with the DEV team, this is an expected behaviour and needs to be documented. 
The workaround to this would be by lowering the cache timeouts
or manually invalidate the cache at the client machine.

Comment 3 Aneta Šteflová Petrová 2017-03-27 12:42:58 UTC
Nikhil reviewed the update in an email. I've implemented his feedback.

To summarize the changes: Section 10.3. Editing Users now includes this paragraph:

----
After you update user details in the web UI, the new values are not synchronized immediately. It might take up to approximately 5 minutes before the new values are reflected at the client system.
----

Comment 5 Aneta Šteflová Petrová 2017-04-10 11:25:03 UTC
We've published the update. For the latest version of the guide, see https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/index.html