r21382: Important fix for winbind when using non-AD domains.
authorGünther Deschner <gd@samba.org>
Fri, 16 Feb 2007 13:30:19 +0000 (13:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:59 +0000 (12:17 -0500)
commitca072a99985eaa3036be8116027ea951abc6a759
treeca9208bf58a546985ac4e324b8ea1b06f7d9f9ef
parent3057c3975cd8c38fe72a0a425decff11c177c7f9
r21382: Important fix for winbind when using non-AD domains.

Jeremy, I'm afraid you removed the "domain->initialized" from the
set_dc_types_and_flags() call when the connect to PI_LSARPC_DS failed
(with rev. 19148).

This causes now that init_dc_connection_network is called again and
again which in turn rescans the DC each time (which of course fails each
time with NT_STATUS_BUFFER_TOO_SMALL). Just continue with the
non-PI_LSARPC_DS scan so that the domain is initialized properly.

Guenther
(This used to be commit c6f63a08f55a4121cbe5aac537d2ef983dc25a97)
source3/nsswitch/winbindd_cm.c
source3/rpc_client/cli_pipe.c