Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getsidbyid does not work with 1.15.3 #4511

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

getsidbyid does not work with 1.15.3 #4511

sssd-bot opened this issue May 2, 2020 · 0 comments
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/3485

  • Created at 2017-08-21 11:41:00 by lslebodn
  • Closed at 2017-09-06 13:17:47 as Fixed
  • Assigned to nobody

How to reproduce:

  • configure sssd against AD
  • the simplest is to test with python bindings
sh# python
Python 2.7.5 (default, May  3 2017, 07:55:04) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import grp
>>> import pysss_nss_idmap
>>> 
>>> grp.getgrnam("Domain Users@sssdad2012r2.com")
grp.struct_group(gr_name='sssdad2012r2.com\\domain users', gr_passwd='*', gr_gid=233600513, gr_mem=['sssdad2012r2.com\\testuser01-2012532'])
>>> 
>>> dom_users = grp.getgrnam("Domain Users@sssdad2012r2.com")
>>> 
>>> dom_users.gr_gid
233600513
>>> pysss_nss_idmap.getsidbyid(dom_users.gr_gid)
{}

Additional info:
Other functions from that module works quite well.

>>> pysss_nss_idmap.getsidbyname(dom_users.gr_name)
{'sssdad2012r2.com\\domain users': {'type': 2, 'sid': u'S-1-5-21-179626712-3177568055-3763416661-513'}}
>>> 
>>> pysss_nss_idmap.getnamebysid('S-1-5-21-179626712-3177568055-3763416661-513')
{'S-1-5-21-179626712-3177568055-3763416661-513': {'type': 2, 'name': u'sssdad2012r2.com\\domain users'}

Comments


Comment from lslebodn at 2017-08-21 11:44:15

Metadata Update from @lslebodn:

  • Custom field version adjusted to 1.15.3
  • Issue tagged with: regression

Comment from lslebodn at 2017-08-21 12:01:18

#351


Comment from lslebodn at 2017-08-21 12:01:19

Metadata Update from @lslebodn:

  • Issue tagged with: PR

Comment from jhrozek at 2017-08-31 21:39:55

Metadata Update from @jhrozek:

  • Issue set to the milestone: SSSD 1.15.4

Comment from lslebodn at 2017-09-06 13:17:32

master:


Comment from lslebodn at 2017-09-06 13:17:51

Metadata Update from @lslebodn:

  • Issue close_status updated to: Fixed
  • Issue status updated to: Closed (was: Open)

Comment from jhrozek at 2017-10-19 22:36:43

Metadata Update from @jhrozek:

  • Issue set to the milestone: SSSD 1.16.0 (was: SSSD 1.15.4)
@sssd-bot sssd-bot added Closed: Fixed Issue was closed as fixed. Regression labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

1 participant