[Samba] Listing AD group members

Rowland Penny rpenny at samba.org
Mon Oct 30 16:16:13 UTC 2017


On Mon, 30 Oct 2017 15:51:28 +0000
"A. James Lewis" <james at fsck.co.uk> wrote:

> I must admit I assumed that it was completely hung which is why I
> looked at your command line to see if there was a typo etc... but
> here's the output you asked for:-
> 
> root at hostname:~# time samba-tool group listmembers testgroup -H
> ldap://adserver -d0 FUNC-UNIX
> 
> real	11m33.761s    <------ LONG TIME!
> user	0m0.327s
> sys	0m0.021s
> 
> I guess they have some nested groups set up... it does appear to be
> returning something, but obviously not at list of users.
> 
> 
> However, for example:-
> 
> root at hostname:~# time wbinfo -g jlewis | grep testgroup
> testgroup
> 
> real	0m0.134s
> user	0m0.019s
> sys	0m0.005s
> 
> I don't have any issue logging on, or using the host... 
> 

Will you please post the info I asked you to post, plus I think you
better tell us what OS you are using.

Whilst nested groups might slow things down, it shouldn't slow things
down to the extent you are seeing.

Rowland



More information about the samba mailing list