copy_component_quoting
q += copy_component_quoting(q, &principal->data[i], flags);
q += copy_component_quoting(q, &principal->realm, flags);