s3:winbindd: fix anon fallback in cm_prepare_connection()
authorStefan Metzmacher <metze@samba.org>
Tue, 16 Dec 2014 11:28:41 +0000 (11:28 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Dec 2014 05:47:40 +0000 (06:47 +0100)
commitb9e4a8b869db20eb296950750ceb110eec3e3cd8
treed029093d6bd241053bf811f853574955e9c6100e
parentb0e97793aba2847726455df8f4d694d2564442f7
s3:winbindd: fix anon fallback in cm_prepare_connection()

We should not crash with machine_password==NULL.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11010

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/winbindd_cm.c