Bug 6780 - group type in ldapsam_enum_aliasmem and ldapsam_modify_aliasmem
Summary: group type in ldapsam_enum_aliasmem and ldapsam_modify_aliasmem
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: User & Group Accounts (show other bugs)
Version: 3.3.8
Hardware: All Linux
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 08:33 UTC by Zrin
Modified: 2020-12-22 01:32 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
Comment 1 Björn Jacke 2020-12-22 01:32:45 UTC
that's the local sam, there is no error here.