s3:winbindd: make sure we don't try rpc requests against unaccessable domains
authorStefan Metzmacher <metze@samba.org>
Thu, 1 Apr 2010 07:29:38 +0000 (09:29 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 7 Apr 2010 12:00:06 +0000 (14:00 +0200)
commitcefa8e1a55329787787c3613f15f234ae31f85f3
tree69b3fec367737c95895343163bdf059bad071dfb
parentadaadefe263d8cd192b67a63d1f1c13ba9bf748c
s3:winbindd: make sure we don't try rpc requests against unaccessable domains

This makes sure we don't crash while trying to dereference domain->conn.cli->foo
while trying to establish a rpc connection to the server.

This fixes bug #7316.

metze
(cherry picked from commit d930904b997d310aeff781bde1e7e3ce47dde8a1)
(cherry picked from commit 01b60b113869f526dcf3bb478d70df21dbb207c8)
source3/winbindd/winbindd_cm.c