From 196c4b5f53c5ae9d6a471ed2da1eea4d78746fcb Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Tue, 20 Aug 2013 15:34:39 +0200 Subject: Fix tests which fail after ipa-adtrust-install Some unit tests were failing after ipa-adtrust-install has been run on the IPA server, due to missing attributes ('ipantsecurityidentifier') and objectclasses ('ipantuserattrs' and 'ipantgroupattrs'). This patch detects if ipa-adtrust-install has been run, and adds missing attributes and objectclasses where appropriate. https://fedorahosted.org/freeipa/ticket/3852 --- API.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'API.txt') diff --git a/API.txt b/API.txt index 5d47956f..761d1d17 100644 --- a/API.txt +++ b/API.txt @@ -2974,6 +2974,10 @@ option: Str('version?', exclude='webui') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('summary', (, ), None) output: Output('value', , None) +command: sidgen_was_run +args: 0,1,1 +option: Str('version?', exclude='webui') +output: Output('result', None, None) command: sudocmd_add args: 1,7,3 arg: Str('sudocmd', attribute=True, cli_name='command', multivalue=False, primary_key=True, required=True) -- cgit