#6943 server-del doesn't remove server from defaultServerList in cn=default,ou=profile,$BASE
Closed: fixed 7 years ago Opened 7 years ago by frenaud.

ipa server-del should remove the server from the entry cn=default,ou=profile,$BASE.

Install ipa with a master and a replica. The entry cn=default,ou=profile,$BASE looks like the following:

dn: cn=default,ou=profile,dc=domain,dc=com
defaultServerList: vm-server.domain.com vm-replica.domain.com

After running ipa server-del vm-replica.domain.com, the defaultServerList attribute should be updated but it is not:

$ echo $PASSWORD | kinit admin
$ ipa server-del vm-replica.domain.com
Removing vm-replica.domain.com from replication topology, please wait...
----------------------------------------------------------
Deleted IPA server "vm-replica.domain.com"
----------------------------------------------------------
$ ldapsearch -h `hostname` -p 389 -Y GSSAPI -b cn=default,ou=profile,dc=domain,dc=com -LLL -Q -o ldif-wrap=no dn defaultserverlist 
dn: cn=default,ou=profile,dc=domain,dc=com
defaultserverlist: vm-server.domain.com vm-replica.domain.com

Metadata Update from @frenaud:
- Issue assigned to frenaud

7 years ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/780

7 years ago

Metadata Update from @mbabinsk:
- Issue set to the milestone: FreeIPA 4.6

7 years ago

master:

  • a02a0a9 server-del: update defaultServerList in cn=default,ou=profile,$BASE

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

7 years ago

Log in to comment on this ticket.

Metadata