}
}
- /*
- * If we have resource groups and the caller wants them returned, we
- * oblige.
- */
- if (resource_groups != NULL &&
- info.logon_info.info->resource_groups.groups.count != 0)
- {
- *resource_groups = &info.logon_info.info->resource_groups;
- }
-
/*
* Based on the presence of a REQUESTER_SID PAC buffer, ascertain
* whether the ticket is a TGT. This helps the KDC and kpasswd service
user_info_dc_out->ticket_type = TICKET_TYPE_TGT;
}
+ /*
+ * If we have resource groups and the caller wants them returned, we
+ * oblige.
+ */
+ if (resource_groups != NULL &&
+ info.logon_info.info->resource_groups.groups.count != 0)
+ {
+ *resource_groups = &info.logon_info.info->resource_groups;
+ }
+
*user_info_dc = user_info_dc_out;
return 0;