#4116 autofs: delete possible duplicate of an autofs entry
Closed: Fixed a year ago by pbrezina. Opened a year ago by pbrezina.

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.

Metadata Update from @pbrezina:
- Issue assigned to pbrezina

a year ago
  • master
    • 14b44e7 - autofs: delete possible duplicate of an autofs entry
    • b31f1e2 - autofs: remove unused enum
  • sssd-1-16
    • 4160649 - autofs: delete possible duplicate of an autofs entry
    • 04bd737 - autofs: remove unused enum

Metadata Update from @pbrezina:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/5077

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata