mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:dsdb: Explicitly return success error code
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
1b765edbc9
commit
cdc63fa68d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user