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/windows/cns | |
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/windows/cns')
-rw-r--r-- | src/windows/cns/changelo | 4 | ||||
-rw-r--r-- | src/windows/cns/kpasswd.c | 3 |
2 files changed, 6 insertions, 1 deletions
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; /* |