r19391: Fix crash bug within the winbind caching method.
authorGünther Deschner <gd@samba.org>
Wed, 18 Oct 2006 14:22:08 +0000 (14:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:32 +0000 (12:15 -0500)
commit4d6503d1377a262ba8b87f344be7daf04e011ef2
tree081187facbf737b0f4fbfe9e381fc8b9bf77edce
parent6ff2ad4246a7e6c51ac8764c417fffc57c6d49df
r19391: Fix crash bug within the winbind caching method.

That one was hard to find: when coming from offline mode and switching
to online, a refresh sequence number call (using the default MS-RPC
mechanism) may reset domain->backend to NULL (by the set_domain_online
event). We need to make sure to reidentify the remote domain in that
case.

Guenther
source/nsswitch/winbindd_cache.c