]> git.sur5r.net Git - openldap/commitdiff
MIT Kerberos and krb5_free_creds_contents (ITS#715)
authorKurt Zeilenga <kurt@openldap.org>
Wed, 6 Sep 2000 18:21:39 +0000 (18:21 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 6 Sep 2000 18:21:39 +0000 (18:21 +0000)
fix suggested by Norbert Klasen <klasen@zdv.uni-tuebingen.de>

libraries/liblutil/passwd.c

index eca2ff12b16908981f81a2597e7b009301ade42b..427af165a02780c2529efda6dd0abc084ab22bb2 100644 (file)
@@ -48,6 +48,8 @@
 
 #include <lber.h>
 
+#include "ldap_pvt.h"
+
 #include "lutil_md5.h"
 #include "lutil_sha1.h"
 #include "lutil.h"
@@ -751,7 +753,7 @@ static int chk_kerberos(
 
                krb5_free_principal( context, client );
                krb5_free_principal( context, server );
-               krb5_free_creds_contents( context, &creds );
+               krb5_free_cred_contents( context, &creds );
                krb5_free_context( context );
 
                rtn = !!ret;