s3:winbind: fail ads_cached_connection_connect() if realm == NULL
commit163c0b31b9b1c9b9c9bbecd8ec8c65f6a09ed8b0
authorMichael Adam <obnox@samba.org>
Thu, 29 Aug 2013 14:38:08 +0000 (29 16:38 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 30 Aug 2013 08:22:52 +0000 (30 10:22 +0200)
tree925ad3775aeb208a469e9e4028b0e2042d4c6f3c
parent1c53cdd2eef878b31b73cd68b1e4c5ca749fd809
s3:winbind: fail ads_cached_connection_connect() if realm == NULL

This prevents segfaults when e.g. a previous SMB_STRDUP failed..

Signed-off-by: Michael Adam <obnox@samba.org>
The last 8 patches address bug #10107 - winbind on DC with trusted AD domains
crashes.
source3/winbindd/winbindd_ads.c