summaryrefslogtreecommitdiff
path: root/source3/libsmb/clikrb5.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-10-21 20:51:27 +0000
committerJeremy Allison <jra@samba.org>2001-10-21 20:51:27 +0000
commitcfd68eaac48a29dec245dc6de03aae0d58698862 (patch)
tree116b33a2a7428a4d92fcc875c3536dface88536f /source3/libsmb/clikrb5.c
parente68daea2bd6e05b2faf8e61e478a876f49cd77ee (diff)
downloadsamba-cfd68eaac48a29dec245dc6de03aae0d58698862.tar.gz
samba-cfd68eaac48a29dec245dc6de03aae0d58698862.tar.bz2
samba-cfd68eaac48a29dec245dc6de03aae0d58698862.zip
Ok, I know it's a language thing and it shouldn't matter.... but a kerberos
name is a "principal", not a principle. English majors will complain :-). Jeremy. (This used to be commit b668d7d656cdd066820fb8044f24bcd4fda29524)
Diffstat (limited to 'source3/libsmb/clikrb5.c')
-rw-r--r--source3/libsmb/clikrb5.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 5641692f2e..b4ce271235 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -28,7 +28,7 @@
static krb5_error_code krb5_mk_req2(krb5_context context,
krb5_auth_context *auth_context,
const krb5_flags ap_req_options,
- const char *principle,
+ const char *principal,
krb5_ccache ccache,
krb5_data *outbuf)
{
@@ -38,9 +38,9 @@ static krb5_error_code krb5_mk_req2(krb5_context context,
krb5_creds creds;
krb5_data in_data;
- retval = krb5_parse_name(context, principle, &server);
+ retval = krb5_parse_name(context, principal, &server);
if (retval) {
- DEBUG(1,("Failed to parse principle %s\n", principle));
+ DEBUG(1,("Failed to parse principal %s\n", principal));
return retval;
}
@@ -87,7 +87,7 @@ cleanup_princ:
/*
get a kerberos5 ticket for the given service
*/
-DATA_BLOB krb5_get_ticket(char *principle)
+DATA_BLOB krb5_get_ticket(char *principal)
{
krb5_error_code retval;
krb5_data packet;
@@ -112,7 +112,7 @@ DATA_BLOB krb5_get_ticket(char *principle)
if ((retval = krb5_mk_req2(context,
&auth_context,
0,
- principle,
+ principal,
ccdef, &packet))) {
goto failed;
}
@@ -131,7 +131,7 @@ failed:
#else /* HAVE_KRB5 */
/* this saves a few linking headaches */
- DATA_BLOB krb5_get_ticket(char *principle)
+ DATA_BLOB krb5_get_ticket(char *principal)
{
DEBUG(0,("NO KERBEROS SUPPORT\n"));
return data_blob(NULL, 0);