[SSSD] [PATCH] util: sss_get_domain_name regex mismatch not fatal

Michal Židek mzidek at redhat.com
Fri Nov 21 21:26:18 UTC 2014


Hi,

please see attached patch for ticket
https://fedorahosted.org/sssd/ticket/2487

Probably in some part of the code we call the
function sss_get_domain_name with FQDN. We use
regular expression to check if it is the case and
if not (and regex is configured not to accept
non FQDN) than this function fails to construct the
requested name in the output.

Since the sss_parse_name is here only used to detect
if the name contains domain portion, it is safe
to assume it does not contain it if regular
expression has failed to match anything.

Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-util-sss_get_domain_name-regex-mismatch-not-fatal.patch
Type: text/x-patch
Size: 1253 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141121/9b872b20/attachment.bin>


More information about the sssd-devel mailing list