389ds / 389-ds-base

The enterprise-class Open Source LDAP server for Linux
https://www.port389.org/
Other
210 stars 89 forks source link

lib389 - Add the option to get an agreement by the host and the port #2901

Open 389-ds-bot opened 4 years ago

389-ds-bot commented 4 years ago

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49842


We should be able to get the Agreement object, not by the dn and the selector but also by the combination of target instance's the host and the port.

agmts = Agreements(M1)
agmt_to_2 = agmts.get(host=M1.host, port=M2.port)
389-ds-bot commented 4 years ago

Comment from mreynolds (@mreynolds389) at 2018-07-12 17:59:46

Metadata Update from @mreynolds389:

389-ds-bot commented 4 years ago

Comment from mreynolds (@mreynolds389) at 2020-02-12 19:55:33

Metadata Update from @mreynolds389: