s3:libnetapi: Return error from RequestOfflineJoin
authorSamuel Cabrero <scabrero@samba.org>
Wed, 30 Aug 2023 17:59:04 +0000 (19:59 +0200)
committerJule Anger <janger@samba.org>
Wed, 29 Nov 2023 14:51:11 +0000 (14:51 +0000)
commitf731d75081fe3fa2330dee26e931b260669d3f27
treef959dc567c4600a8cbe1b92ac71fb76e8c97d889
parent6c06c9ed427f64034507aea2924d0cb9d0bb3c3e
s3:libnetapi: Return error from RequestOfflineJoin

The error code must be returned to caller even if the error string is not set.

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

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit e4afb211fe32f2aa92cc903df948874046f60305)
source3/lib/netapi/joindomain.c