Bug 8887 - wbinfo --group-info=administrators return not found
Summary: wbinfo --group-info=administrators return not found
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-22 23:01 UTC by Matthieu Patou
Modified: 2020-10-03 01:07 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 Matthieu Patou 2012-04-22 23:01:40 UTC
I would expect this command to return the gid for this group.
Comment 1 Andrew Bartlett 2012-04-23 04:04:24 UTC
Indeed, while the domain groups are working:

 bin/wbinfo --group-info='domain admins'
Domain Admins:*:3000000:

you are correct to note that, local aliases do not appear to be:

failed to call wbcGetgrnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for group administrators
Comment 2 Matthieu Patou 2012-04-23 07:16:19 UTC
That's not a highly critical issue but more something that should be fixed eventually.

At a first glance it didn't look like it's too easy to fix it.
Comment 3 Matthias Dieter Wallnöfer 2012-04-23 09:03:39 UTC
In "master".
Comment 4 Andrew Bartlett 2012-04-23 09:32:50 UTC
this particular issue, that we do not look up domain aliases, is not yet in master
Comment 5 Björn Jacke 2020-10-03 01:07:06 UTC
wbinfo --group-info='BUILTIN\administrators' (note the right domain also) works correctly, tested with 4.12