URL: https://github.com/SSSD/sssd/pull/755
Author: sumit-bose
Title: #755: ad: replace ARRAY_SIZE with N_ELEMENTS
Action: opened
PR body:
"""
ARRAY_SIZE is taken from the Samba header file memory.h which is not
available as a public header in newer Samba versions anymore. This patch
replaces it with an internal macro.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/755/head:pr755
git checkout pr755
URL: https://github.com/SSSD/sssd/pull/743
Author: alexey-tikhonov
Title: #743: lib/cifs_idmap_sss: fixed unaligned mem access
Action: opened
PR body:
"""
Fixed following warning:
```
lib/cifs_idmap_sss/cifs_idmap_sss.c: In function ‘sss_sid_to_id’:
lib/cifs_idmap_sss/cifs_idmap_sss.c:221:47: warning: taking address
of packed member of ‘struct cifs_uxid’ may result in an unaligned
pointer value [-Waddress-of-packed-member]
err = sss_nss_getidbysid(sid, (uint32_t *)&cuxid->id.uid, &id_type);
```
Actually there are two issues:
1) Packed `cifs_uxid::id.uid` may be unaligned thus generating run time
error on some architectures (as compiler complains);
2) In theory size of `uid_t` may be different than size of `uint32_t`
thus resulting in corruption of `cifs_uxid` content.
Proposed patch is not ideal due to `(uid_t)uid` cast but solves most
of issues with minimal effor. Proper solution would require patching of
`sss_nss_getidbysid()` and all underlying functions for no good reason.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/743/head:pr743
git checkout pr743
URL: https://github.com/SSSD/sssd/pull/746
Author: sumit-bose
Title: #746: PAM: use user name hint if any domain has set it
Action: opened
PR body:
"""
When using multiple domains the user name hint should be shown even if
only one domain has set the flag to have a consistent user experience.
Currently this would only be related to logins with GDM and activated
GDM Smartcard plugin.
Related to https://pagure.io/SSSD/sssd/issue/3949
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/746/head:pr746
git checkout pr746
URL: https://github.com/SSSD/sssd/pull/736
Author: jhrozek
Title: #736: KCM: Allow representing ccaches with a NULL principal
Action: opened
PR body:
"""
Related: https://pagure.io/SSSD/sssd/issue/3873
We need to make it possible to create an internal ccache representation
without passing in a principal. The principal is only assigned to the
ccache with krb5_cc_initialize(), but some programs like openssh use the
following sequence of calls:
krb5_cc_new_unique
krb5_cc_switch
krb5_cc_initialize
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/736/head:pr736
git checkout pr736
URL: https://github.com/SSSD/sssd/pull/712
Author: thalman
Title: #712: SSSCTL: user-checks does not show custom attributes
Action: opened
PR body:
"""
"sssctl user-checks" also query the IFP interface of sssd. The problem
is, that this command only displays POSIX user attrs, no matter if we
configured the InfoPipe for additional user attributes.
With this patch additional attributes are also printed out.
Resolves:
https://pagure.io/SSSD/sssd/issue/3866
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/712/head:pr712
git checkout pr712