Bug 1376374

Summary: SSSD Transaction error. Could not add LOCAL group
Product: Red Hat Enterprise Linux 7 Reporter: Amith <apeetham>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED NOTABUG QA Contact: Steeve Goveas <sgoveas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: apeetham, grajaiya, jhrozek, lslebodn, mkosek, mzidek, pbrezina
Target Milestone: rcKeywords: Regression
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: 2016-09-15 11:22:16 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:

Description Amith 2016-09-15 09:24:07 UTC
Description of problem:
SSSD throws transaction error upon executing LOCAL group add command.

# sss_groupadd -g 2000 group2000
Transaction error. Could not add group.

Version-Release number of selected component (if applicable):
sssd-1.14.0-36.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup sssd.conf as follows:
[sssd]
config_file_version = 2
services = nss, pam
domains = LOCAL
debug_level = 6

[nss]
filter_groups = root
filter_users = root

[pam]

[domain/LOCAL]
enumerate = TRUE
id_provider = local
debug_level = 0xFFF0
max_id = 2010
min_id = 2000

2. Restart sssd service and execute the following command:

# sss_groupadd -g 2000 group2000
Transaction error. Could not add group.

Actual results:
Transaction error. Could not add group.

Expected results:
Group should be added.

Additional info:
I don't see any logs or cache information for LOCAL domain.

Comment 1 Lukas Slebodnik 2016-09-15 10:18:48 UTC
If it reproducible with 1.14.0-41?

Comment 4 Amith 2016-09-15 11:18:17 UTC
With the latest SSSD build: sssd-1.14.0-41.el7.x86_64, the issue is resolved.

# sss_groupadd -g 2000 group2000

-- No error.