Comment 1 for bug 1832766

Revision history for this message
Pen Gale (pengale) wrote :

Reading through the code, and testing a few hacks on _dn_to_id, I can confirm that the method naively finds the value of the first element of the user key, without trying to figure out whether it's a uid or not.

@afreiberger one thing I'm not clear on -- in your case, is there a "uid" field in the key that you're passing in. Is it just a matter of finding and returning that uid? Or do you want to actually do a lookup for "Name.domain.tld" in a database, and return the uid of that entry?