Leashw32.dll

Jeffrey Altman jaltman at columbia.edu
Mon Aug 25 10:18:05 EDT 2003


In the current code, only Kerberos 4 errors result in non-zero return 
values for Leash_checkpwd and Leash_kinit.  This is now corrected in my 
current sources.  Contact me off the list to get a copy to test.

As for Leash_changepwd() that should be returning non-zero return values 
on error regardless of the module (krb5, krb4, or afs) that produces the 
error.

Jeffrey Altman


Stewart Loewy wrote:

>Hello,
>
>I work for the University at Buffalo.  I recently downloaded the
>Kerberos source and am trying to use some of the functions exported by
>leashw32.dll.  My goal is to use a few of these API's to do something's
>in a third party application we will be implementing here at UB, such as
>basic authentication.  The following calls (see below) seem to be
>working correctly.  I can change my Kerberos password and kinit
>successfully.  The problem is that the return values are always Zero
>even if I pass bogus arguments into the functions.  I'd really like to
>be able to check the return value to for the Leash_checkpwd() function
>to do basic auth.  I'm a relative novice when it come to C programming
>and am wondering if I'm just missing something obvious.
>
>lsh_errno = Leash_checkpwd(principal, password);
>
>lsh_errno = Leash_kinit(principal, password,100);
>
>lsh_errno = Leash_changepwd(principal, password, newpassword,
>result_string);  
>
>
>Thanks in advance for any help that can be provided
>
>Stew Loewy
>CIT- Technical Services
>University at Buffalo
>(716) 645-7748
>
>_______________________________________________
>krbdev mailing list             krbdev at mit.edu
>https://mailman.mit.edu/mailman/listinfo/krbdev
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3427 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.mit.edu/pipermail/krbdev/attachments/20030825/92115f51/attachment.bin


More information about the krbdev mailing list