Bug 6780 - group type in ldapsam_enum_aliasmem and ldapsam_modify_aliasmem
group type in ldapsam_enum_aliasmem and ldapsam_modify_aliasmem
Status: NEW
Product: Samba 3.3
Classification: Unclassified
Component: User & Group Accounts
3.3.8
All Linux
: P3 normal
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-06 08:33 UTC by Zrin
Modified: 2009-10-06 08:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zrin 2009-10-06 08:33:21 UTC
In passdb/pdb_ldap.c,
functions ldapsam_enum_aliasmem and ldapsam_modify_aliasmem,
the group type, corresponding with "sambaGroupType" is choosen as follows:

if (sid_check_is_in_builtin(alias)) {
    type = SID_NAME_ALIAS;
}
if (sid_check_is_in_our_domain(alias)) {
    type = SID_NAME_ALIAS;
}

Shouldn't the second one read

if (sid_check_is_in_our_domain(alias))
    type = SID_NAME_DOM_GRP;

?

regards,
Zrin