[Samba] Listing AD group members

A. James Lewis james at fsck.co.uk
Mon Oct 30 15:51:28 UTC 2017


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... 

James


October 30, 2017 2:32 PM, "Rowland Penny via samba" <samba at lists.samba.org> wrote:

> On Mon, 30 Oct 2017 14:16:16 +0000
> "A. James Lewis" <james at fsck.co.uk> wrote:
> 
>> Oh, I assumed you meant -d10, since -d0 turns off all debug output,
>> so the output is long, but I get:-
> 
> Sorry, but no, I added that because I had 'log level = 10' in smb.conf.
> Please post the info I asked for.
> 
> Rowland
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba

--
A. James Lewis (james at fsck.co.uk)
"Engineering does not require science. Science helps a lot but people
built perfectly good brick walls long before they knew why cement works."



More information about the samba mailing list