Unable to build 1.4.2 on FreeBSD

2005-08-11 Thread Vladimir Terziev
Hi, i tryed to build Kerberos 1.4.2 on FreeBSD 4.10, but i failed. The error i got is the following: [snip] [snip] making all in lib/gssapi/krb5... gmake[3]: Entering directory `/var/tmp/krb5-1.4.2/src/lib/gssapi/krb5' gcc -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\

Re: Unable to build 1.4.2 on FreeBSD

2005-08-11 Thread Dennis Davis
On Thu, 11 Aug 2005, Vladimir Terziev wrote: From: Vladimir Terziev [EMAIL PROTECTED] To: kerberos@mit.edu Date: Thu, 11 Aug 2005 12:31:38 +0300 Subject: Unable to build 1.4.2 on FreeBSD Hi, i tryed to build Kerberos 1.4.2 on FreeBSD 4.10, but i failed. The error i got is

Re: Unable to build 1.4.2 on FreeBSD

2005-08-11 Thread Vladimir Terziev
This is from import_name.c: [snip] ... [snip] #include gssapiP_krb5.h #ifndef NO_PASSWORD #include pwd.h #ifdef HAVE_GETPWUID_R #include stdio.h #endif #endif [snip] ... [snip] It seems the configure script doesn't define HAVE_GETPWUID_R for some reason. Respectively stdio.h

Re: Unable to build 1.4.2 on FreeBSD

2005-08-11 Thread Dennis Davis
On Thu, 11 Aug 2005, Vladimir Terziev wrote: From: Vladimir Terziev [EMAIL PROTECTED] To: Dennis Davis [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], kerberos@mit.edu Date: Thu, 11 Aug 2005 13:29:04 +0300 Subject: Re: Unable to build 1.4.2 on FreeBSD This is from import_name.c: [snip]

Re: Unable to build 1.4.2 on FreeBSD

2005-08-11 Thread Vladimir Terziev
I found the answer. It's not good for me, but it's an answer :( FreeBSD 4.x do not have the re-entrant version of getpwuid (e.g. getpwuid_r). FreeBSD 5.x has it, but not 4.x. I managed to workaround it. Including stdio.h explicitly in import_name.c solves the problem.

kpasswd problem on 1.4.1/1.4.2

2005-08-11 Thread Mike Friedman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just noticed that with 1.4.1 and 1.4.2, when I try to change my password with kpasswd, I get the following message after entering the new password twice: kpasswd: Permission denied changing password This occurs whether the KDC is at 1.3.4

Re: Unable to build 1.4.2 on FreeBSD

2005-08-11 Thread Tom Yu
Dennis == Dennis Davis [EMAIL PROTECTED] writes: Dennis However I'm not sure that things are as simple as getpwuid_r being Dennis (quite rightly) undefined. At first glance the code in krb5-1.4.2 Dennis doesn't look much different to the code in krb5-1.4.1. And I didn't Dennis see this problem

kpasswd problem on 1.4.1/1.4.2 (NOT!)

2005-08-11 Thread Mike Friedman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Earlier, I posted this: I just noticed that with 1.4.1 and 1.4.2, when I try to change my password with kpasswd, I get the following message after entering the new password twice: kpasswd: Permission denied changing password This occurs

1.4.x and perl modules

2005-08-11 Thread John Rudd
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

Re: 1.4.x and perl modules

2005-08-11 Thread Tim Mooney
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