Bug 4739 - wbinfo return partial result compare to net ads
Summary: wbinfo return partial result compare to net ads
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.23c
Hardware: x86 Linux
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-24 23:17 UTC by CK Ng
Modified: 2007-07-10 07:56 UTC (History)
0 users

See Also:


Attachments
DC screenshot of 'Group Type' (30.99 KB, image/jpeg)
2007-06-24 23:20 UTC, CK Ng
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description CK Ng 2007-06-24 23:17:31 UTC
Cause:
'wbinfo -g' & 'gentent groups' only return partial result compare to 'net ads group'. But able to get missing group info. 

Problem: 
Unable to authenticate group.

# wbinfo -g | wc -l
4998
# net ads group | wc -l
9114
# getent group | wc -l
5047        [+ local groups]

Take a group dl.samplegroup, which is in the DC, but missing from wbinfo

# net ads group | grep dl.samplegroup
dl.samplegroup    [found]
# wbinfo -g | grep dl.samplegroup
[not found]
# getent group | grep dl.samplegroup
[not found]

BUT, these works

# getent group dl.samplegroup
dl.samplegroup:*:15053: user1,user2,....
# wbinfo -n dl.samplegroup
S-1-5-21-839012768-2468886555-2058922813-7287 Domain Group (2)
# wbinfo -Y S-1-5-21-839012768-2468886555-2058922813-7287
15053 


From the PDC, it turns out that the groups does not appear
in wbinfo are of Group Type: 'Distribution' in Win2k AD? The other is of
'Security'.


My system:
CentOS 5 2.6.18-8.el5
Samba:
samba-common-3.0.23c-2.el5.2.0.2
samba-3.0.23c-2.el5.2.0.2
Comment 1 CK Ng 2007-06-24 23:20:42 UTC
Created attachment 2779 [details]
DC screenshot of 'Group Type'
Comment 2 Roberto Lizana 2007-07-10 07:56:23 UTC
(In reply to comment #1)
> Created an attachment (id=2779) [edit]
> DC screenshot of 'Group Type'
> 

I have the same problem of you, my system is:
Ubuntu Server Feisty 
Samba 3.0.24
Winbind 3.0.24
libpam-smbpass 3.0.24