Skip Menu |

This queue is for tickets about the Krb5 CPAN distribution.

Report information
The Basics
Id: 53952
Status: new
Priority: 0/
Queue: Krb5

People
Owner: Nobody in particular
Requestors: ansgar [...] 43-1.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] init_context() should return Context object
Date: Sun, 24 Jan 2010 18:40:19 +0900
To: bug-Krb5 [...] rt.cpan.org
From: Ansgar Burchardt <ansgar [...] 43-1.org>
Hi, the documentation for Authen::Krb5::init_context() says that the function is supposed to return a Authen::Krb5::Context object or undef in case of error, but it does return XSRETURN_YES. The attached patch changes this to the documented behavior and also makes it save to call init_context() several times (in case one needs access to the context object at a later time). The patch is needed to adapt Authen::Krb5::Admin to MIT Kerberos 1.8 as the kadm5_* functions started to expect a krb5_context object. Please consider applying it in the next release. Regards, Ansgar

Message body is not shown because sender requested not to inline it.