Repository navigation
v0.7.0
Typed escape hatch and core API: any FreeIPA command can be called with
typed decoding, truncated searches are reported, attributes can be changed
one at a time, several commands can run in one round trip, and calls for
features newer than the server fail early. Checked against real FreeIPA
4.9, 4.12 and 4.13 by the contract tests.
Added
Call[T], a generic typed call for any FreeIPA command, andEntry, a
result object withHas,Str,Strs,Bool,Int,Time,Bytes,
DNandRawaccessors that read FreeIPA's attribute lists,
__datetime__and__base64__valuesFindEntries(ctx, c, method, args, opts, sizelimit)andErrTruncated:
a*_findthat reports a result truncated by the server's size limit
instead of returning it silentlyServerVersionandErrNotSupported: passkey calls (FreeIPA 4.11) and
SubIDFind/SubIDGenerate(4.9.7) fail before sending when the known
server is olderModify(command, keys...):setattr/addattr/delattrupdates of
single attributes on any object, nested ones includedBatch: several commands in one round trip with per-command results;
BatchResult.Erris anerrorholding a bare*IpaErrorCodeConversion(3008),CodeObjectclassViolation(4205) andCodeOnlyOneValueAllowed(4207)ipatest:SetVersion,sizelimittruncation onuser_find,
group_findandhost_find,setattr/addattr/delattronuser_mod
andstageuser_mod(includingOnlyOneValueAllowed), andbatch