[Samba] Listing users from a group (net rap groupmember list)

Leonardo Rodrigues leonardovcr2 at gmail.com
Tue Feb 12 05:46:49 GMT 2008

Hello list!

I've been trying to list the users from a group of my samba server
(running on an OpenBSD 4.2 box) by using "net rap groupmember list
GROUPNAME -S PDC -U administrator%password -w DOMAIN", but I get
nothing in return.

By running the command with a -d for debug purposes, I get the messages above:

  NetGroupGetUsers gave error 2220
  NetGroupGetUsers no data returned

The souce file (clirap2.c) tells me that error 2220 means "Group does
not exist". But I'm pretty sure that the group I'm looking for does

I'm lost here. Is "net rap groupmember list" broken? Or do I have a
problem in my setup?

Thanks in advance!

Leonardo Rodrigues

PS. I'm not subscribed to the list, please CC me.

More information about the samba mailing list