Re: [Samba] net ads and wbinfo are painfully slow -- but they work
- Date: Tue, 31 Jan 2017 14:04:34 -0800
- From: Chris Stankevitz via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] net ads and wbinfo are painfully slow -- but they work
On Tue, Jan 31, 2017 at 12:36 PM, Rowland Penny via samba
> On Tue, 31 Jan 2017 12:06:14 -0800
> Chris Stankevitz <chrisstankevitz@xxxxxxxxx> wrote:
>> On Tue, Jan 31, 2017 at 9:22 AM, Rowland Penny via samba
>> <samba@xxxxxxxxxxxxxxx> wrote:
>> > I would also expect to see at least something like this:
>> > idmap config SAMDOM : backend = rid
>> > idmap config SAMDOM : range = 10000-999999
>> Thank you. I corrected the mistake you identified by adding a rid
>> backend and range for my domain.
>> However, some operations are still outrageously slow. For example,
>> "net ads testjoin" takes 5 minutes to complete. The logs imply the
>> slowdown is at or soon after "Starting GENSEC sub mechanism gse-krb5".
>> Do you know of a way I can methodically identify the source of the
>> slowdown? If not, does your instinct lead you to suspect my new samba
>> setup or my new Windows Server 2012R2 domain (or perhaps my network or
>> Thank you again,
> That is very very slow ;-)
> time net ads testjoin
> Join is OK
> real 0m0.476s
> user 0m0.108s
> sys 0m0.008s
Yes, I know... I have a similar setup (same version of samba, same
hardware, same OS but a different windows domain on a different
network) that is working fine.
> Is the Windows AD DC running a dns server ?
> Does the Unix client have the AD DC as its nameserver ?
> I would also look at the ethernet cables, switches etc
> Can you post your /etc/resolv.conf and /etc/hosts
> It might also help if you can upgrade to a later version of Samba.
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
To unsubscribe from this list go to the following URL and read the