From: Simo Sorce Date: Thu, 19 Apr 2012 13:35:08 +0000 (-0400) Subject: Fix Error messages X-Git-Tag: samba-4.0.0alpha20~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70d44a9a177621b173c8a24c7cb503f5632a8ff7;p=thirdparty%2Fsamba.git Fix Error messages --- diff --git a/source4/auth/kerberos/srv_keytab.c b/source4/auth/kerberos/srv_keytab.c index ca2d3853da2..b7a2079520c 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; }