From: Jo Sutton Date: Tue, 16 Apr 2024 04:28:55 +0000 (+1200) Subject: s4:dsdb: Explicitly return success error code X-Git-Tag: tdb-1.4.11~1068 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdc63fa68d81deb0ea1398b32adea5d4be0f6279;p=thirdparty%2Fsamba.git s4:dsdb: Explicitly return success error code Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/samdb/ldb_modules/managed_pwd.c b/source4/dsdb/samdb/ldb_modules/managed_pwd.c index cb3fffc0143..735e58b65c6 100644 --- a/source4/dsdb/samdb/ldb_modules/managed_pwd.c +++ b/source4/dsdb/samdb/ldb_modules/managed_pwd.c @@ -118,6 +118,7 @@ static int gmsa_managed_password(struct ldb_context *const ldb, if (!allowed_to_view) { /* Sorry, you can’t view the password. */ + ret = LDB_SUCCESS; goto out; } }