Bug 671478

Summary: authconfig-tui/gtk removes "ldap_user_home_directory" from sssd.conf
Product: Red Hat Enterprise Linux 6 Reporter: Martin Poole <mpoole>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: benl, grajaiya, jgalipea, prc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.5.0-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 11:41:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 579778    

Description Martin Poole 2011-01-21 15:58:03 UTC
Description of problem:

authconfig-tui/gtk removes "ldap_user_home_directory" from sssd.conf 

How reproducible:
always

steps to re-produce: 

Add, ldap_user_home_directory = <some-value>  to sssd.conf,
run authconfig-tui/gtk

Actual results:

ldap_user_home_directory is missing

Expected results:

The entry "ldap_user_home_directory" present in sssd.conf after using authconfig

Additional info:

other entries like ldap_user_shell,ldap_user_name are not affected.

Comment 2 Stephen Gallagher 2011-01-21 22:07:35 UTC
Please give acks. This is already fixed upstream: http://git.fedorahosted.org/git/?p=sssd.git;a=commitdiff;h=22310aadc8733e87153d6519aff0aed7dea44e79

Comment 6 Gowrishankar Rajaiyan 2011-03-09 10:48:33 UTC
Method:

1. Configured sssd.conf as:
[domain/LDAP]
ldap_uri = ldaps://sssdldap.redhat.com:636
cache_credentials = true
enumerate = False
entry_cache_timeout = 5400
ldap_search_base = dc=example,dc=com
id_provider = ldap
auth_provider = ldap
ldap_tls_cacertdir = /etc/openldap/cacerts
ldap_tls_cacert = /etc/openldap/cacerts/cacert.asc
debug_level = 9
min_id = 1000
ldap_schema = rfc2307
ldap_user_home_directory = homeDirectory
ldap_user_shell = loginShell

2. authconfig/authconfig-tui/authconfig-gtk --enablesssdauth --enablesssdauth --updateall

3. Verify sssd.conf

Result: The entry "ldap_user_home_directory" still exists in sssd.conf even after using authconfig, as expected.

Verified in version: sssd-1.5.1-13.el6.x86_64

Comment 7 errata-xmlrpc 2011-05-19 11:41:03 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html

Comment 8 errata-xmlrpc 2011-05-19 13:09:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html