winbindd: use POPT_COMMON_DAEMON
commit9d82454cdfc2b4b8007c7b54b3afd5686f49be19
authorRalph Boehme <slow@samba.org>
Fri, 3 Sep 2021 10:25:00 +0000 (3 12:25 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 6 Sep 2021 13:26:35 +0000 (6 13:26 +0000)
tree44e85cb371ebad1e06aa69119ff7047c56c1f7b4
parenta20f63b384750d389aeafd4bd5e229aed72cb271
winbindd: use POPT_COMMON_DAEMON

Note: this also changes logging to go to stderr instead of stdout which is the
same behaviour as smbd and nmbd (starting with 4.15).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14803

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd.c