The Samba-Bugzilla – Bug 2658
net ads user info <username> does not show primary user group
Last modified: 2009-07-27 13:08:28 UTC
Primary user group not included into "memberOf" parameter and specified only by
Created attachment 1180 [details]
net ads user info primary user group patch
This patch adds output of Primary User Group name into "net ads user info"
Ldap info has the folowing structure(short example):
dn: CN=rpv,OU=Domain Admins,DC=aoi,DC=aoi
memberOf: CN=Schema Admins,CN=Users,DC=aoi,DC=aoi
memberOf: CN=Enterprise Admins,CN=Users,DC=aoi,DC=aoi
memberOf: CN=Domain Users,CN=Users,DC=aoi,DC=aoi
Proposed patch gets PrimaryGroupID and show Group Name.
Also some modifications added to libads.
Note what after applying this patch net utility will show "user not found"
On my todo list for Samba 3.3
Forgot to change assignee.
Created attachment 4476 [details]
Make net ads user info print the primary group as well.
Updated patch that applies to the master tree.
Pushed to master. Sorry this took so long.