Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#262 Win-sc:user_item\group entity values are not machine qualified in ovaldi

Version 5.11
closed-fixed
None
5
2014-06-26
2013-10-07
Chris Coffin
No

ovaldi currently returns SC user_item\group entity values without a machine qualifier while the documentation states that local groups should be qualified with the machine name. Note that only local groups are ever returned here (those listed in the Computer management UI). This issue does NOT affect the related SC group_item\user or group_item\subgroup values as they include qualifiers. ovaldi should include the machine qualifier in the SC user_item\group entity values.

Examples (current ovaldi behavior):

E1. Input:
<user_object>
<user>System1\Guest</user>
</user_object>

SC Output:
<user_item>
<user>System1\Guest</user>

    <group>Guests</group>
</user_item>

E2. Input:
<user_object>
<user>Admin</user>
</user_object>

SC Output:
<user_item>
<user>Admin</user>

    <group>Administrators</group>

    <group>None</group>

    <group>Users</group>

    <group>test</group>
</user_item>

Discussion

    • status: open --> closed-fixed
    • assigned_to: Michael Chisholm
     
  • The code for getting the containing groups of a trustee is different from the code getting the trustees contained in a group. That's why the user_test and group_test behaved differently w.r.t. normalization of trustee names.

    There are actually two bugs described here (in the user test):
    1) trustees aren't properly formatted
    2) domain groups are never returned

    Both are fixed in r1785.