diff options
author | Paul Park <pjpark@mit.edu> | 1995-06-05 18:27:15 +0000 |
---|---|---|
committer | Paul Park <pjpark@mit.edu> | 1995-06-05 18:27:15 +0000 |
commit | fcb74b8920213d7cc0c01e35cf47b81e29f0109b (patch) | |
tree | 252fdb48cc10fd448247791060e765331f9a912c /src | |
parent | 7c5b0c7ac67d9df2b230f8888f542c1db30fb647 (diff) | |
download | krb5-fcb74b8920213d7cc0c01e35cf47b81e29f0109b.tar.gz krb5-fcb74b8920213d7cc0c01e35cf47b81e29f0109b.tar.xz krb5-fcb74b8920213d7cc0c01e35cf47b81e29f0109b.zip |
Use new krb5_adm_connect() calling sequence
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5947 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/kadmin/kpasswd/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/kpasswd/kpasswd.c | 4 | ||||
-rw-r--r-- | src/windows/cns/changelo | 4 | ||||
-rw-r--r-- | src/windows/cns/kpasswd.c | 3 |
4 files changed, 14 insertions, 2 deletions
diff --git a/src/kadmin/kpasswd/ChangeLog b/src/kadmin/kpasswd/ChangeLog index 10eebef44f..fc5827c894 100644 --- a/src/kadmin/kpasswd/ChangeLog +++ b/src/kadmin/kpasswd/ChangeLog @@ -1,4 +1,9 @@ +Mon Jun 5 13:48:23 EDT 1995 Paul Park (pjpark@mit.edu) + * kpasswd.c - Change argument list to krb5_adm_connect() for new + calling sequence. We take the defaults here. + + Tue May 9 15:27:36 EDT 1995 Paul Park (pjpark@mit.edu) Fix compiler warnings. diff --git a/src/kadmin/kpasswd/kpasswd.c b/src/kadmin/kpasswd/kpasswd.c index 42abcf86d9..2c015dc204 100644 --- a/src/kadmin/kpasswd/kpasswd.c +++ b/src/kadmin/kpasswd/kpasswd.c @@ -280,7 +280,9 @@ main(argc, argv) opassword, &conn_socket, &auth_context, - &ccache)) { + &ccache, + (char *) NULL, + 0)) { switch (kret) { case KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN: fprintf(stderr, kpwd_bad_client_fmt, argv[0], diff --git a/src/windows/cns/changelo b/src/windows/cns/changelo index 721abbdba1..ce3cae9c23 100644 --- a/src/windows/cns/changelo +++ b/src/windows/cns/changelo @@ -1,3 +1,7 @@ + +Mon Jun 5 14:19:51 EDT 1995 Paul Park (pjpark@mit.edu) + * kpasswd.c : Use new krb5_adm_connect() calling sequence. + Fri Jun 2 11:45:23 1995 Keith Vetter (keithv@fusion.com) * makefile: cleaned up and made consistent with telnet's makefile. diff --git a/src/windows/cns/kpasswd.c b/src/windows/cns/kpasswd.c index 2a79b84f70..93939e095d 100644 --- a/src/windows/cns/kpasswd.c +++ b/src/windows/cns/kpasswd.c @@ -130,12 +130,13 @@ k5_change_password ( if (name == NULL) return ENOMEM; sprintf (name, "%s@%s", user, realm); + ccache = (krb5_ccache) NULL; /* ** Establish the connection. */ kret = krb5_adm_connect (k5context, name, NULL, opasswd, &conn_socket, - &auth_context, &ccache); + &auth_context, &ccache, NULL, 0); if (kret) goto done; /* |