winbind: Fix CID 1427625 Calling risky function
authorVolker Lendecke <vl@samba.org>
Tue, 10 Apr 2018 19:13:37 +0000 (21:13 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 11 Apr 2018 17:07:24 +0000 (19:07 +0200)
commit6a9bc0fa209798c8e4d88a68dcc6ad0b95925a52
treebbd940c5af21cec37a0a053b5c6d03763738202c
parent37b094c3387310fc66eb523b4ccda4b587cf5e95
winbind: Fix CID 1427625 Calling risky function

Probably not really a problem, but we have generate_random(), so why not
use it?

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_gpupdate.c