[sssd PR#936][opened] autofs: delete possible duplicate of an autofs entry
by pbrezina
URL: https://github.com/SSSD/sssd/pull/936
Author: pbrezina
Title: #936: autofs: delete possible duplicate of an autofs entry
Action: opened
PR body:
"""
Steps to reproduce:
1. Create the following autofs objects
```ldif
dn: ou=auto.master,ou=autofs,dc=ldap,dc=vm objectClass:
automountMap objectClass: top ou: auto.master
dn: automountKey=/home,ou=auto.master,ou=autofs,dc=ldap,dc=vm objectClass:
automount objectClass: top automountInformation: auto.home automountKey:
/home
dn: ou=auto.home,ou=autofs,dc=ldap,dc=vm objectClass: automountMap
objectClass: top ou: auto.home
dn: automountKey=/home1,ou=auto.home,ou=autofs,dc=ldap,dc=vm objectClass:
automount objectClass: top automountInformation: home1 automountKey: /home1
```
2. Use e.g. the test tool to fetch the maps:
```
./autofs_test_client auto.master
./autofs_test_client auto.home -n /home1
```
3. Change automountInformation of /home1
``` dn: automountKey=/home1,ou=auto.home,ou=autofs,dc=ldap,dc=vm
objectClass: automount objectClass: top automountInformation: home1_1
automountKey: /home1
```
4. Run the test tool again:
```
./autofs_test_client auto.master
./autofs_test_client auto.home -n /home1
> error happens
```
It is important the `get entry by name is called` thus the `-n` parameter.
Resolves: https://pagure.io/SSSD/sssd/issue/4116
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/936/head:pr936
git checkout pr936
4 years, 4 months
[sssd PR#929][opened] failover: make sure we switch to anoter server if only port differs
by pbrezina
URL: https://github.com/SSSD/sssd/pull/929
Author: pbrezina
Title: #929: failover: make sure we switch to anoter server if only port differs
Action: opened
PR body:
"""
This is a regression introduced in 735af71a8e169f17fa5462db610a1567c9618e29.
After this commit we checked only server name instead of name and port combo.
Steps to reproduce:
1. Configure SSSD to use two servers with same name but different ports
```
[domain/LDAP]
debug_level=0xFFF0
id_provider = ldap
ldap_uri = ldap://$SERVER1:12345,ldap://$SERVER1:389
ldap_tls_cacertdir = /etc/openldap/certs
ldap_search_base = dc=example,dc=com
```
2. The first server port is unreachable, the second is working.
3. Run sssd and try to resolve user.
4. Without the patch SSSD tries to connect to the first server twice
because new URI is not constructed and goes offline.
Resolves:
https://pagure.io/SSSD/sssd/issue/4112
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/929/head:pr929
git checkout pr929
4 years, 4 months