Fwd: Samba4 how to list all members of a group
lukas at eecs.qmul.ac.uk
Mon Apr 30 07:59:59 MDT 2012
On 30/04/12 14:47, steve wrote:
> On 30/04/12 14:10, Lukasz Zalewski wrote:
>> On 30/04/12 10:20, steve wrote:
>>> Sorry to forward but I had no luck with this on the samba list.
>>> On s4 at the cli, is it possible to get a list of members of say, Domain
>> Hi Steve,
>> For Domain Users you can try:
>> /usr/local/samba/bin/ldbsearch -a -H /usr/local/samba/private/sam.ldb
>> '(|(primaryGroupID=513)(memberOf=CN=Domain Users,CN=Users,DC=...))' dn
> Hi Lukasz
> Yes. That gets us there. Thanks.
> I can only think that this is not something I should need to do.
Where you thinking more of the samba-tool option, i.e.
samba-tool group listmembers <grouname>?
More information about the samba-technical