mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-14 06:54:55 -05:00
Separated Tracker implementations into standalone package
The previous way of implementing trackers in the module with the test caused circular imports. The separate package resolves this issue. https://fedorahosted.org/freeipa/ticket/5467 Reviewed-By: Ales 'alich' Marecek <amarecek@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
b8c619a713
commit
17f9ca154b
@@ -706,3 +706,9 @@ def change_principal(user, password, client=None, path=None):
|
||||
client.Backend.rpcclient.disconnect()
|
||||
|
||||
client.Backend.rpcclient.connect()
|
||||
|
||||
def get_group_dn(cn):
|
||||
return DN(('cn', cn), api.env.container_group, api.env.basedn)
|
||||
|
||||
def get_user_dn(uid):
|
||||
return DN(('uid', uid), api.env.container_user, api.env.basedn)
|
||||
|
||||
Reference in New Issue
Block a user