1.4.x and perl modules

Tim Mooney mooney at dogbert.cc.ndsu.NoDak.edu
Thu Aug 11 19:02:43 EDT 2005


In regard to: 1.4.x and perl modules, John Rudd said (at 3:33pm on Aug 11,...:

>
> I'm sorry if this is overly vague, I'll try to follow up with details if
> my question is only met with confusion.
>
> I have been developing a local module for managing our kerberos accounts
> that makes use of Authen::Krb5, Authen::Krb5::Admin, and
> Authen::Krb5::Simple.  This module would replace some existing modules
> (that make direct command-line calls to kadmin, and/or use
> Authen::Krb5::Simple).
>
> When I tried to upgrade my development machine to krb5 1.4.1, that all
> fell apart (so I downgraded).

Can you be more specific about what symptoms you're seeing?

>  It looks like the API change in 1.4.x
> makes Authen::Krb5 stop working.  But I'm not actually sure that the
> problem is within Authen::Krb5 and not Authen::Krb5::Admin (nor if
> Authen:Krb5::Simple is immune to this problem).

You don't say what versions of the modules you're using.  Are you using
Authen::Krb5 1.4 and Authen::Krb5::Admin 0.07?

If you are using Authen::Krb5 1.4, do things work better if you apply
this patch, rebuild Authen::Krb5, and reinstall?:


diff -ur Authen-Krb5.orig/Krb5.xs Authen-Krb5/Krb5.xs
--- Authen-Krb5.orig/Krb5.xs	2005-02-12 10:15:40.000000000 -0600
+++ Authen-Krb5/Krb5.xs	2005-02-25 16:56:29.000000000 -0600
@@ -122,7 +122,7 @@
  krb5_init_ets()

  	CODE:
-	krb5_init_ets(context);
+	/* krb5_init_ets(context); */
  	XSRETURN_YES;

  void


I ask because when I updated from krb5 1.2.8 to 1.4, I encountered a
problem with krb5_init_ets not being part of the libkrb shared library,
even though the ABI of the library had not changed from what 1.2.8 used.

Tim
-- 
Tim Mooney                              mooney at dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


More information about the Kerberos mailing list