1
0
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:
Simo Sorce 2012-04-19 09:35:08 -04:00
parent b31f773ae1
commit 70d44a9a17

View File

@ -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;
}