r21382: Important fix for winbind when using non-AD domains.
commitc6f63a08f55a4121cbe5aac537d2ef983dc25a97
authorGünther Deschner <gd@samba.org>
Fri, 16 Feb 2007 13:30:19 +0000 (16 13:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:59 +0000 (10 12:17 -0500)
tree369b092b719df1bddac5087c4af93d70ebd62227
parent3d85eb758d2261e0749f6db0ce368a7c0d4df149
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
source/nsswitch/winbindd_cm.c
source/rpc_client/cli_pipe.c