Bug 1034050

Summary: Errors in domain log when saving user to sysdb
Product: Red Hat Enterprise Linux 7 Reporter: Kaushik Banerjee <kbanerje>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED CURRENTRELEASE QA Contact: Kaushik Banerjee <kbanerje>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: grajaiya, jgalipea, lslebodn, mkosek, pbrezina
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.11.2-10.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:18:50 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 Kaushik Banerjee 2013-11-25 07:47:57 UTC
Description of problem:
Errors in domain log when saving user to sysdb

Version-Release number of selected component (if applicable):
sssd-1.11.2-1.el7

How reproducible:
Always

Steps to Reproduce:
1.Add the followng ldif to ldap server:
dn: uid=usr\\\\001,ou=Users,dc=example,dc=com
uidNumber: 181818
gidNumber: 181818
objectClass: posixAccount
objectClass: account
cn: usr\\\\001
homeDirectory: /home/usr\\\\001
userPassword: Secret123

2. Lookup the user via sssd

# getent passwd usr\\\\001
usr\\001:*:181818:181818:usr\\\\001:/home/usr\\\\001:

Actual results:

The following is seen in the logs:

(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): commit ldb transaction (nesting: 3)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sysdb_add_user] (0x0400): Error: 5 (Input/output error)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): cancel ldb transaction (nesting: 2)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sysdb_store_user] (0x0040): Could not add user
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): cancel ldb transaction (nesting: 1)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sysdb_store_user] (0x0400): Error: 5 (Input/output error)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sdap_save_user] (0x0020): Failed to save user [usr\\001]
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sdap_save_users] (0x0040): Failed to store user 0. Ignoring.
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [ldb] (0x4000): commit ldb transaction (nesting: 0)
(Mon Nov 25 12:59:30 2013) [sssd[be[LDAP]]] [sdap_get_users_process] (0x4000): Saving 1 Users - Done


Expected results:
No errors in domain log.

Additional info:

Comment 2 Lukas Slebodnik 2013-11-25 16:25:31 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/2163

Comment 3 Jakub Hrozek 2013-11-29 14:03:13 UTC
Fixed upstream:

sssd-1-11:
    956be66436d9bcb66c7478052742b1e14ddd3f5d
    fec7eabfc1be9350e1797fc79beaf4ca2f5c62e2

Comment 5 Kaushik Banerjee 2014-01-06 11:58:45 UTC
Error is not seen in the domain log now. Verified with sssd-1.11.2-18.el7

Comment 6 Ludek Smid 2014-06-13 12:18:50 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.