From 70d44a9a177621b173c8a24c7cb503f5632a8ff7 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 19 Apr 2012 09:35:08 -0400 Subject: Fix Error messages --- source4/auth/kerberos/srv_keytab.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source4/auth') diff --git a/source4/auth/kerberos/srv_keytab.c b/source4/auth/kerberos/srv_keytab.c index ca2d3853da..b7a2079520 100644 --- a/source4/auth/kerberos/srv_keytab.c +++ b/source4/auth/kerberos/srv_keytab.c @@ -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; } -- cgit