s3-winbind: Move finding the domain to it's own function.
commitc30ce0bae6d5b29f31b5172ace185fccf9b28a12
authorAndreas Schneider <asn@samba.org>
Tue, 3 Jan 2012 15:54:39 +0000 (3 16:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:29:01 +0000 (23 21:29 +0100)
tree4dc51821e6ae4b97c8439e380331be27b29a3c18
parent45c5b631eb6e7789e399f13b426b7d60b9d89653
s3-winbind: Move finding the domain to it's own function.

This the first part to fix bug #8678.
(cherry picked from commit 5075e565684627dfbd23f715da344b4365351ccb)
(cherry picked from commit 2fca06a63d47619f2b6902b1c8601021843c4b95)
source3/winbindd/wb_next_pwent.c