[sssd PR#985][opened] ssh: improvements for ssh_use_certificate_matching_rules
by sumit-bose
URL: https://github.com/SSSD/sssd/pull/985
Author: sumit-bose
Title: #985: ssh: improvements for ssh_use_certificate_matching_rules
Action: opened
PR body:
"""
ssh: add 'no_rules' and 'all_rules' to ssh_use_certificate_matching_rules
To make ssh_use_certificate_matching_rules option more flexible and
predictable the keywords 'all_rules' and 'no_rules' are added.
'no_rules' can be used to allow all certificates.
If rules names are given but no matching rules can be found this is
considered an error and no ssh keys will be derived from the certificates.
ssh: do not mix different certificate lists
There was a list of binary certificates and a list with base64 encoded ones
which might be different depending on the active matching rules. Only the
base64 one with the filtered results should be used.
Related to https://pagure.io/SSSD/sssd/issue/4121
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/985/head:pr985
git checkout pr985
4 years, 2 months
[sssd PR#986][opened] sss_sockets: pass pointer instead of integer
by pbrezina
URL: https://github.com/SSSD/sssd/pull/986
Author: pbrezina
Title: #986: sss_sockets: pass pointer instead of integer
Action: opened
PR body:
"""
```
/home/pbrezina/workspace/sssd/src/util/sss_sockets.c: In function ‘set_fd_common_opts’:
/home/pbrezina/workspace/sssd/src/util/sss_sockets.c:123:61: error: passing argument 4 of ‘setsockopt’ makes pointer from integer without a cast [-Werror=int-conversion]
123 | ret = setsockopt(fd, IPPROTO_TCP, TCP_USER_TIMEOUT, milli,
| ^~~~~
| |
| unsigned int
In file included from /home/pbrezina/workspace/sssd/src/util/sss_sockets.c:28:
/usr/include/sys/socket.h:216:22: note: expected ‘const void *’ but argument is of type ‘unsigned int’
216 | const void *__optval, socklen_t __optlen) __THROW;
| ~~~~~~~~~~~~^~~~~~~~
CC src/util/sssd_kcm-sss_iobuf.o
cc1: all warnings being treated as errors
```
Introduced by 7aa96458f3bec4ef6ff7385107458e6b2b0b06ac
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/986/head:pr986
git checkout pr986
4 years, 2 months