Primary user group not included into "memberOf" parameter and specified only by Group ID.
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" command. Ldap info has the folowing structure(short example): dn: CN=rpv,OU=Domain Admins,DC=aoi,DC=aoi memberOf: CN=shell,CN=Users,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=Administrators,CN=Builtin,DC=aoi,DC=aoi memberOf: CN=Domain Users,CN=Users,DC=aoi,DC=aoi memberOf: CN=duty,CN=Users,DC=aoi,DC=aoi name: rpv primaryGroupID: 512 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" warning.
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.