#1628 user id lookup fails using proxy provider
Closed: Fixed None Opened 9 years ago by jhrozek.

https://bugzilla.redhat.com/show_bug.cgi?id=874673 (Red Hat Enterprise Linux 6)

Description of problem:
user id lookup fails with proxy provider

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add a user and group in ldap as:
Group1 --> puser1

2. Setup sssd.conf for proxy provider as:
id_provider = proxy
debug_level = 0xFFF0
proxy_lib_name = ldap
proxy_pam_target = sssdproxyldap

3. # getent group Group1

# id puser1
id: puser1: No such user

Note: You need to run it in correct order as:
# getent group Group1;id puser1

Actual results:
"id puser1" fails.

Expected results:
"id puser1" should work.

Additional info:
/var/log/sssd/sssd_PROXY.log shows:
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [ldb] (0x4000): cancel ldb
transaction (nesting: 2)
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [sysdb_error_to_errno] (0x0020):
LDB returned unexpected error: [No such attribute]
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [sysdb_add_user] (0x0400): Error:
14 (Bad address)
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [ldb] (0x4000): cancel ldb
transaction (nesting: 1)
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [sysdb_store_user] (0x0040): Could
not add user
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [ldb] (0x4000): cancel ldb
transaction (nesting: 0)
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [sysdb_store_user] (0x0400):
Error: 14 (Bad address)
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [save_user] (0x0040): Could not
add user to cache
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [get_pw_name] (0x0040): proxy ->
getpwnam_r failed for 'puser1' <14>: Bad address
(Thu Nov  8 18:33:57 2012) [sssd[be[PROXY]]] [acctinfo_callback] (0x0100):
Request processed. Returned 3,14,Internal Error (Cannot make/remove an entry
for the specified session)

Fields changed

blockedby: =>
blocking: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
owner: somebody => okos
status: new => assigned
testsupdated: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.4

Fields changed

patch: 0 => 1

milestone: SSSD 1.9.4 => SSSD 1.9.3
resolution: => fixed
status: assigned => closed

Metadata Update from @jhrozek:
- Issue assigned to okos
- Issue set to the milestone: SSSD 1.9.3

4 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2670

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.