mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
Fix Error messages
This commit is contained in:
parent
b31f773ae1
commit
70d44a9a17
@ -54,8 +54,7 @@ static krb5_error_code principals_from_list(TALLOC_CTX *parent_ctx,
|
||||
}
|
||||
|
||||
if (!realm) {
|
||||
*error_string = "Cannot have a kerberos secret in "
|
||||
"secrets.ldb without a realm";
|
||||
*error_string = "Cannot make principal without a realm";
|
||||
ret = EINVAL;
|
||||
goto done;
|
||||
}
|
||||
@ -134,8 +133,7 @@ static krb5_error_code salt_principal(TALLOC_CTX *parent_ctx,
|
||||
}
|
||||
|
||||
if (!realm) {
|
||||
*error_string = "Cannot have a kerberos secret in "
|
||||
"secrets.ldb without a realm";
|
||||
*error_string = "Cannot make principal without a realm";
|
||||
return EINVAL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user