[23841] in Kerberos

home help back first fref pref prev next nref lref last post

Re: AIX 5.2 and Kerberos 1.4.1 Patches

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Fri May 6 17:14:11 2005

In-Reply-To: <6.0.1.1.2.20050505144936.02db1c50@cic-mail.lanl.gov>
Mime-Version: 1.0 (Apple Message framework v622)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <29ff2e02d855061ab52cd848fa1983ac@mit.edu>
Content-Transfer-Encoding: 7bit
From: Ken Raeburn <raeburn@MIT.EDU>
Date: Fri, 6 May 2005 17:12:23 -0400
To: Milton Turley <mturley@lanl.gov>
cc: kerberos@MIT.EDU
Errors-To: kerberos-bounces@MIT.EDU

On May 5, 2005, at 17:08, Milton Turley wrote:
> Following are 2 patches for kerberos 1.4.1 to build on AIX 5.2.  The 
> patches are for the problem of not being able to resolve the address 
> for the kdc.

Except, apparently, not for Lamar Saxon...

> The patch for dsnglue.c is if "thread-support" is enabled.  The patch 
> adds a 1024 byte buffer after the  _res_state structure.  IBM AIX has 
> a problem where 735+- bytes are overlaid when res_ninit is called.  
> The 1024 bytes pads the storage to stop res_ninit from overlaying 
> critical storage.  Ken Raeburn had tried a similar patch with 72 
> bytes.

Actually, I suggested the patch, but can't try it out, Lamar did that.

It would be nice if someone at IBM could check into this for us and let 
us know why the __res_state struct we allocate isn't enough, when the 
docs we've found all seem to suggest that it should be.

Um, how does this relate to thread support?

> The patch for locate_kdc.c is when "disable-thread-support" is set for 
> configure.  Again the #ifndef LANL and #ifdef LANL is a local compiler 
> directive.  This will need to be changed for local setting or -D LANL 
> set for configure process.

>> + #ifndef _AIX
>> + #ifdef AI_NUMERICSERV
>> +     hint.ai_flags = AI_NUMERICSERV;
>> + #endif
>> + #endif  /* _AIX */

So, are you saying that AI_NUMERICSERV doesn't work for numeric service 
strings on AIX 5.2?  (And does this relate to thread support?)

Ken

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post