[Samba] Listing AD group members

Rowland Penny rpenny at samba.org
Mon Oct 30 12:21:36 UTC 2017


On Mon, 30 Oct 2017 12:07:24 +0000
"A. James Lewis" <james at fsck.co.uk> wrote:

> I did come up with that option from Google, but wondered if it was
> only suitable if Samba was the AD controller, since that was always
> the context it was used in.
> 
> This is the result I get.
> 
> root at hostname:~# samba-tool group listmembers groupname
> ERROR(ldb): Failed to list members of "groupname" group  -
> ldb_search: invalid basedn '(null)' root at hostname:~# 

Try something like this:

root at devstation:~# samba-tool group listmembers Unix\ Admins -H ldap://dc3 -d0
rowland



More information about the samba mailing list