Bug 1034050 - Errors in domain log when saving user to sysdb
Summary: Errors in domain log when saving user to sysdb
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Hrozek
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 07:47 UTC by Kaushik Banerjee
Modified: 2020-05-02 17:33 UTC (History)
5 users (show)

Fixed In Version: sssd-1.11.2-10.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:18:50 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3205 0 None None None 2020-05-02 17:33:32 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.