URL: https://github.com/SSSD/sssd/pull/431
Title: #431: Remove ldap_groups_use_matching_rule_in_chain,ldap_initgroups_use_mat…
jhrozek commented:
"""
Hi @amitkumar50,
since this PR has been stalled for quite some time, I'm going to close it. Please feel free to reopen the PR if you plan on addressing the issues that I brought up. Also, please feel free to work with us on the #sssd IRC channel if you need some help.
"""
See the full comment at https://github.com/SSSD/sssd/pull/431#issuecomment-390787704
URL: https://github.com/SSSD/sssd/pull/430
Title: #430: tests: Remove the pysss.local interface
jhrozek commented:
"""
Hi @amitkumar50,
since this PR has been stalled for quite some time, I'm going to close it. Please feel free to reopen the PR if you plan on addressing the issues that I brought up. Also, please feel free to work with us on the #sssd IRC channel if you need some help.
"""
See the full comment at https://github.com/SSSD/sssd/pull/430#issuecomment-390787588
URL: https://github.com/SSSD/sssd/pull/387
Author: amitkumar50
Title: #387: Setting ldap_sudo_include_regexp to false
Action: opened
PR body:
"""
Disable ldap_sudo_include_regexp option by default since this is costly
operation for evaluation on ldap server.
Resolves: https://pagure.io/SSSD/sssd/issue/3515
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/387/head:pr387
git checkout pr387
URL: https://github.com/SSSD/sssd/pull/247
Author: mzidek-rh
Title: #247: Subdomain inherit
Action: opened
PR body:
"""
I tested if the options that work in subdomain inherit also work in trusted domain section in sssd.conf. Most seem to work without any changes in the code except for two. With these two patches only one that does not work remains (I wanted to send patchset that adds all the options, but I got stuck on the option that sets the ldap principal, so I am sending this in the meantime).
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/247/head:pr247
git checkout pr247
URL: https://github.com/SSSD/sssd/pull/573
Author: sumit-bose
Title: #573: winbind idmap plugin: fix detection
Action: opened
PR body:
"""
Currently when compiling the detection code for the idmap interface
version only SMBCLIENT_CFLAGS are used. Since libsmbclient does not use
NTSTATUS the cflags do not contain '-DHAVE_IMMEDIATE_STRUCTURES=1' which
make NTSTATUS to a struct instead of an integer. Since Samba itself
might be complied with this define (it typically is) we have to make
sure we use it as well. Otherwise the test program might crash on
platforms where this change changes the calling convention as well.
Related to https://pagure.io/SSSD/sssd/issue/3741
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/573/head:pr573
git checkout pr573
URL: https://github.com/SSSD/sssd/pull/572
Author: sumit-bose
Title: #572: winbind idmap plugin: support inferface version 6
Action: opened
PR body:
"""
With Samba 4.7 the interface version of the idmap plugin was updated to
6. The patch adds support for this new version but can be complied with
the older version as well.
A configure option is added to select the version, if no version is
given configure tries to detect the version with the help of an internal
Samba library libidmap-samba4.so.
To make sure that always the right version is used configure will fail
if Samba is used (--with-samba, default) and no version can be
determined.
Resolves https://pagure.io/SSSD/sssd/issue/3741
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/572/head:pr572
git checkout pr572
URL: https://github.com/SSSD/sssd/pull/571
Author: amitkumar50
Title: #571: MAN: Clarify how comments work in sssd.conf
Action: opened
PR body:
"""
PR changes comment description in sssd.conf from:
'A line comment starts with a hash sign...'
to
'A comment line starts with a hash sign...'
Resolves: https://pagure.io/SSSD/sssd/issue/1117
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/571/head:pr571
git checkout pr571
URL: https://github.com/SSSD/sssd/pull/556
Author: fidencio
Title: #556: COVERITY: Add coverity support
Action: opened
PR body:
"""
Using travis-ci we can start doing coverity scans on every pushed code.
This is not something new as so far we have been relying on sgallagh's
internal infra to do so, unfortunatelly the infra is about to be
retired ... thus, start to use public coverity's instance is a hard
requirement for us.
Signed-off-by: Fabiano Fidêncio <fidencio(a)redhat.com>
Signed-off-by: Edjunior Machado <emachado(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/556/head:pr556
git checkout pr556
Hi,
there are several PRs that were not touched for months. I would like to close them with a friendly message that the reporter can reopen them if they are inclined:
https://github.com/SSSD/sssd/pull/175 - Add module for starting services
- does not apply anymore. It’s a good effort in general, though and I would like to see someone revive it, there is too much code duplication in the integration tests
https://github.com/SSSD/sssd/pull/247 - Subdomain inherit
- we want this change to be done eventually, but there’s no reason to keep tracking this PR as long as we have a ticket upstream
https://github.com/SSSD/sssd/pull/387 - Setting ldap_sudo_include_regexp to false
- no updates from the submitter for several months
https://github.com/SSSD/sssd/pull/410 - IPA: sanitize name in override search filter - Backport to SSSD-1.13
- I don’t think anyone will respin this PR..
https://github.com/SSSD/sssd/pull/430 - tests: Remove the pysss.local interface
- no updates from the submitter for several months
https://github.com/SSSD/sssd/pull/431 - Remove ldap_groups_use_matching_rule_in_chain
- no updates from the submitter for several months
https://github.com/SSSD/sssd/pull/436 - subdomains: Remove code only used in tests
- no updates from the submitter for several months
Is anyone against closing these?
URL: https://github.com/SSSD/sssd/pull/531
Author: fidencio
Title: #531: Add the needed machinery to have automated builds for our COPR repos
Action: opened
PR body:
"""
As the title says, these patches are introducing the needed machinery to have automated builds for our COPR repos.
The next steps are:
- On Pagure, someone who has admin rights will have to:
- Go to the project's web page: https://pagure.io/SSSD/sssd
- Click in the "Settings" button
- Go down to the "Hook" section
- Click in the "Fedmsg" field
- Check the "Active" checkbox
- Click in the "Update" button
- On COPR:
- Go to the each project's webpage:
- https://copr.fedorainfracloud.org/coprs/g/sssd/sssd-1-13/
- https://copr.fedorainfracloud.org/coprs/g/sssd/sssd-1-14/
- To be created
- https://copr.fedorainfracloud.org/coprs/g/sssd/sssd-1-16/
- https://copr.fedorainfracloud.org/coprs/g/sssd/sssd-master/
- Go to the "Packages" tab
- Click in "sssd" package
- In "Default Build Source" section, click in the "Edit" button
- In the SCM tab do:
- Type: Git
- Clone url: https://pagure.io/SSSD/sssd.git
- Committish: <branch name> (eg, master, sssd-1-13, sssd-1-14, ...)
- In the "How to build SRPM from the source" section, select:
- make srpm
- Click in the "Submit" button
After those steps, a new push would trigger a new copr build to the project.
The OSes that we're targeting are:
- el (all version, all arches)
- fedora (all versions, all arches)
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/531/head:pr531
git checkout pr531
URL: https://github.com/SSSD/sssd/pull/570
Title: #570: p11_child: add OpenSSL support
jhrozek commented:
"""
OK, I'm done with the code review. tl;dr the zero timeut is confusing and the commented out code needs to be removed. I'm struggling a bit with testing with Yubikey for some reason, but let me fight with it until tomorrow at least, if I can't figure out everything by myself, I'll ping you for help..
"""
See the full comment at https://github.com/SSSD/sssd/pull/570#issuecomment-388821204
URL: https://github.com/SSSD/sssd/pull/569
Author: sumit-bose
Title: #569: NSS: remove timed event if related object is removed
Action: opened
PR body:
"""
setnetgrent_result_timeout() is called as a timed event to free the
netgr data is the cache lifetime is exceeded. If the data is freed
earlier the timed event should be removed as well to avoid a double
free issue.
Since talloc is used here the most easy way to achieve this is to
allocate the timed event on the netgr object itself.
Related to https://pagure.io/SSSD/sssd/issue/3523
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/569/head:pr569
git checkout pr569
URL: https://github.com/SSSD/sssd/pull/464
Author: fidencio
Title: #464: SYSDB: Properly handle name/gid override when using domain resolution order
Action: opened
PR body:
"""
When using name/gid override together with domain resolution order the
mpg name/gid may be returned instead of the overridden one.
In order to avoid that, let's add a check in case the domain supports
mpg so we can ensure that the originalADname and originalADgidNumber
attributes are the very same as the ones searched and then normally
proceed with the current flow in the code. In case those are not the
same, we *must* follow the code path for the non-mpg domains and then
return the proper values.
Resolves: https://pagure.io/SSSD/sssd/issue/3595
Signed-off-by: Fabiano Fidêncio <fidencio(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/464/head:pr464
git checkout pr464
URL: https://github.com/SSSD/sssd/pull/570
Title: #570: p11_child: add OpenSSL support
jhrozek commented:
"""
Let me review the whole lot and sorry PR #553 was taking too long, but downstream was..busy..lately..
first, I'll just add comments about the patches as I read them, testing will be next. So feel free to reply to comments, but let's respin the patches if needed only later..
"""
See the full comment at https://github.com/SSSD/sssd/pull/570#issuecomment-388336862
URL: https://github.com/SSSD/sssd/pull/566
Author: sumit-bose
Title: #566: NSS: nss_clear_netgroup_hash_table() do not free data
Action: opened
PR body:
"""
nss_clear_netgroup_hash_table() is called during the clearEnumCache SBUS
request, which is e.g. used during 'sss_cache -E', to remove netgroup
data cached in the memory of the NSS responder.
Currently nss_clear_netgroup_hash_table() calls
'sss_ptr_hash_delete_all(nss_ctx->netgrent, true);' which not only
removes all entries in the 'netgerent' hash table but frees them as
well.
The second step is not needed because nss_setnetgrent_set_timeout()
takes care that the data is freed after a timeout. Additionally freeing
the data in nss_clear_netgroup_hash_table() can even do harm when the
request is received by the NSS responder while waiting for the backend
to acquire the netgroup data. Because if the backend is done the NSS
responder tries do use enum_ctx which might have been freed in the
meantime.
Because of this nss_clear_netgroup_hash_table() should only remove the
data from the hash table but not free it.
Related to https://pagure.io/SSSD/sssd/issue/3731
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/566/head:pr566
git checkout pr566
Hi,
I have noticed that sssd does not trim whitespaces from strings while
parsing netgroup triples. Comment inside code explains that it follow
the nss_ldap implementation:
src/db/sysdb_search.c:
1687 /* This function splits a three-tuple into three strings
1688 * It assumes that any whitespace between the parentheses
1689 * and commas are intentional and does not attempt to
1690 * strip them out. Leading and trailing whitespace is
1691 * ignored.
1692 *
1693 * This behavior is compatible with nss_ldap's
1694 * implementation.
1695 */
1696 static errno_t sysdb_netgr_split_triple(TALLOC_CTX *mem_ctx,
Don't know which nss_ldap implementation is referenced, the one from
PADL trim the spaces (and glibc too):
https://github.com/PADL/nss_ldap/blob/154730b5a2b58a4212e419b498476fcb5
a60de7b/ldap-netgrp.c#L251
Is the difference intended?
I run into it when LDAP server returns some of the host strings with
spaces around which works with nss_ldap form PADL, but not with sssd.
Fix is easy, but I'm afraid that it could break some other corner cases
like netgroup rules for users with leading/trailing whitespaces in
username.
What's your opinion on it?
Thanks
This test was introduced in
https://github.com/SSSD/sssd/commit/ac9c3ad8228000140d80f91d4c5492d89d6e79f6
and its failing every now and then when running in our internal CI.
I'd like to have it reverted, at least for now, and re-added later
whenever we have a more stable CI or a more stable test.
Any objections?
Best Regards,
--
Fabiano Fidêncio
URL: https://github.com/SSSD/sssd/pull/565
Author: jhrozek
Title: #565: CACHE_REQ: Do not fail the domain locator plugin if ID outside the domain range is looked up
Action: opened
PR body:
"""
A fix for upstream bug #3569 and the domain-locator feature were both
developed in the context of the same upstream version and therefore touched
the same code, but the domain locator did not account for the
ERR_ID_OUTSIDE_RANGE error code.
Therefore lookups for IDs that are outside the range for the domain caused
the whole lookup to fail instead of carrying on to the next domain.
This patch just handles ERR_ID_OUTSIDE_RANGE the same way as if the ID was
not found at all. Also some whitespace errors are fixed.
Resolves: https://pagure.io/SSSD/sssd/issue/3728
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/565/head:pr565
git checkout pr565
URL: https://github.com/SSSD/sssd/pull/564
Author: jhrozek
Title: #564: Do not keep allocating external groups on a long-lived context
Action: opened
PR body:
"""
The hash table with the external groups was never freed, so the
server_mode->ext_groups context was growing over time.
This patch keeps the new hash on the state if something failed, then frees
the previous hash and finally steals the new hash onto the server mode.
Resolves: https://pagure.io/SSSD/sssd/issue/3719
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/564/head:pr564
git checkout pr564
URL: https://github.com/SSSD/sssd/pull/563
Author: jhrozek
Title: #563: SYSDB: Only check non-POSIX groups for GID conflicts
Action: opened
PR body:
"""
When checking for a GID conflict, it doesn't make sense to check for one
when the group being added is a non-POSIX one, because then the GID will
always be 0.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/563/head:pr563
git checkout pr563