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
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: +branch: sssd-1-16
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: +Waiting for review
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
sumit-bose commented: """ Hi,
the patch functionality was already tested successfully and neither me nor Coverity found any issues. The CI failures are not related to the patch. ACK.
bye, Sumit """
See the full comment at https://github.com/SSSD/sssd/pull/936#issuecomment-552875198
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: +Accepted
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: -Waiting for review
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: +Ready to push
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
pbrezina commented: """ * `master` * 14b44e721c52207fd17e449cc6ae0a75fbb05369 - autofs: delete possible duplicate of an autofs entry * b31f1e26ce85d36357f62778b2e764bde43658a2 - autofs: remove unused enum * `sssd-1-16` * 41606494979da8cb7fb09170687131a556a643c7 - autofs: delete possible duplicate of an autofs entry * 04bd7372fe8d1209069c76781f4546377e02d301 - autofs: remove unused enum
"""
See the full comment at https://github.com/SSSD/sssd/pull/936#issuecomment-553777047
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: +Pushed
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: -Accepted
URL: https://github.com/SSSD/sssd/pull/936 Author: pbrezina Title: #936: autofs: delete possible duplicate of an autofs entry Action: closed
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
URL: https://github.com/SSSD/sssd/pull/936 Title: #936: autofs: delete possible duplicate of an autofs entry
Label: -Ready to push
sssd-devel@lists.fedorahosted.org