winbindd: use add_trusted_domain_from_auth
authorRalph Boehme <slow@samba.org>
Wed, 29 Nov 2017 09:55:25 +0000 (10:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 13 Jan 2018 11:55:08 +0000 (12:55 +0100)
commit939592c660263b6f9969c30e4c6a1903fcc75831
treeeea352e6a0e1571f22ad55655f4000a45d3bde3c
parentf4d27f2bf9a32fec02da01351fa5af3867f4b1f7
winbindd: use add_trusted_domain_from_auth

After a successfully authentication, ensure we have the users domain in our
domain list and the TDC.

Signed-off-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_pam_auth.c
source3/winbindd/winbindd_pam_auth_crap.c