winbind: Simplify wb_gettoken
authorVolker Lendecke <vl@samba.org>
Sun, 25 Dec 2016 10:19:38 +0000 (10:19 +0000)
committerVolker Lendecke <vl@samba.org>
Mon, 2 Jan 2017 17:04:14 +0000 (18:04 +0100)
commit730b176ffb3ba2e1452d04e1c75a4405b90132e6
tree3b5d5cfe9e0db6f8eb0a9d972fb04b2ceab374ff
parent7bc161db7a5c5c3b05160a92abfd5f646c4ea8f0
winbind: Simplify wb_gettoken

All we need from the domain struct is it's sid. Directly use it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/wb_gettoken.c