diff options
author | Simo Sorce <idra@samba.org> | 2012-04-19 09:35:08 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2012-04-19 15:55:30 +0200 |
commit | 70d44a9a177621b173c8a24c7cb503f5632a8ff7 (patch) | |
tree | 7cecc4a958eee1ee5ef2fb613ddb8f11c601dfc8 /source4 | |
parent | b31f773ae1640313dc1ba86b334e9bbb9cb31bd6 (diff) | |
download | samba-70d44a9a177621b173c8a24c7cb503f5632a8ff7.tar.gz samba-70d44a9a177621b173c8a24c7cb503f5632a8ff7.tar.bz2 samba-70d44a9a177621b173c8a24c7cb503f5632a8ff7.zip |
Fix Error messages
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/kerberos/srv_keytab.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; } |