s3-winbind: Fix segfault if we can't map the last user.
authorAndreas Schneider <asn@samba.org>
Tue, 3 Jan 2012 15:55:25 +0000 (16:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 4 Jan 2012 20:17:16 +0000 (21:17 +0100)
commitb16104ddf431d81f673bc3cf5e998c0f9421f2e9
tree566e80e10d5b743239ba4dfceafb01316b9de500
parentc4e0462a9edfee64cba6cf5db18a54cc3c51c4f1
s3-winbind: Fix segfault if we can't map the last user.

This fixes bug #8678.

The issue is caused by bug #8608.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Jan  4 18:30:53 CET 2012 on sn-devel-104
(cherry picked from commit b9d208bdaa9da2a5ae534481865efc881b851b01)
(cherry picked from commit 23db6e7cf65bdd3974a4857dda0be6ad7d758b9a)
source3/winbindd/wb_next_pwent.c