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:52:09 +0000 (14:52 +0000)
commit1f91db224fa096bf424b032390d7bdedd8da6820
tree8dbd34a1e0092d947f5e3fca4f52dc3c029c4bcb
parentf45acdafa90d1f873e07180f34b5906c7860c202
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