Web lists-archives.com

Re: [Samba] net ads and wbinfo are painfully slow -- but they work




On 2/02/2017 18:28, Chris Stankevitz via samba wrote:

This:
wbinfo -u took 4 minutes to complete.  It completed and displayed the
correct/valid list of users.
and this:
gss_acquire_creds failed for GSS_C_NO_NAME with [ No credentials were
supplied, or the credentials w
ere unavailable or inaccessible.: unknown mech-code 0 for mech 1 2 840
113554 1 2 2] -the caller may
  retry after a kinit.

Remind me too much of https://bugzilla.samba.org/show_bug.cgi?id=11852 which was fixed after 4.2.10 but before 4.2.14 - so you shouldn't be impacted actually, but it might be worth to double check it.
Check in your winbindd debug log for the following:

"Current tickets expire in 36000 seconds (at <timestamp>, time is now <timestamp>)"

If it states anything negative (e.g. "Current ticket expire in -1474558139 seconds") you're hitting the above mentioned bug which results in a super slow wbinfo (because it has to kinit for every user you want to list).

Just my 2 cents!

Regards,
Geert








--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba