Fix Error messages
authorSimo Sorce <idra@samba.org>
Thu, 19 Apr 2012 13:35:08 +0000 (09:35 -0400)
committerSimo Sorce <idra@samba.org>
Thu, 19 Apr 2012 13:55:30 +0000 (15:55 +0200)
source4/auth/kerberos/srv_keytab.c

index ca2d3853da200f33e16b7e5952bbfcbb1376e337..b7a2079520ca69ee5a9ed2258c46739cafb9f790 100644 (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;
        }