You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But that doesn't create the certmap data. In fact it is ignored. (works in CLI and GUI)
From the ipauser.py module
def convert_certmapdata(certmapdata):
if certmapdata is None:
return None
_result = []
for x in certmapdata:
certificate = x.get("certificate")
issuer = x.get("issuer")
subject = x.get("subject")
data = x.get("data")
if data is None:
if issuer is None and subject is None:
cert = load_cert_from_str(certificate)
issuer = cert.issuer
subject = cert.subject
_result.append("X509:<I>%s<S>%s" % (DN_x500_text(issuer),
DN_x500_text(subject)))
else:
_result.append(data)
return _result
Documentation:
certmapdatalist / elements =dictionary -- List of certificate mappings. Only usable with IPA versions 4.5 and up.
certificate string Base-64 encoded user certificate
data string Certmap data
issuer string Issuer of the certificate
subject string |Subject of the certificate
The text was updated successfully, but these errors were encountered:
There seems to be a bug in the certmap data within the ipauser.py
In ansible, the certificate is passed which should be enough to build the certmap
But that doesn't create the certmap data. In fact it is ignored. (works in CLI and GUI)
From the ipauser.py module
Documentation:
certmapdatalist / elements =dictionary -- List of certificate mappings. Only usable with IPA versions 4.5 and up.
certificate string Base-64 encoded user certificate
data string Certmap data
issuer string Issuer of the certificate
subject string |Subject of the certificate
The text was updated successfully, but these errors were encountered: