s3-winbind: Move finding the domain to it's own function.
authorAndreas Schneider <asn@samba.org>
Tue, 3 Jan 2012 15:54:39 +0000 (16:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Mar 2012 19:54:32 +0000 (20:54 +0100)
commitf13f4d1aa7963e2e89150bb5390010bc06d3bc8a
treea7e98eb39214abf017bef6d36c799acab21b5d2c
parentb6931cdc578cf69f081e07a681ffdcb2e096c402
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)
(cherry picked from commit 76137cbcfa6f8ecae2417b034e3f08d43242f5fa)
source3/winbindd/wb_next_pwent.c