ccache and OS X API problem

Dennis Putnam dennis.putnam at aimaudit.com
Thu Dec 7 12:28:06 EST 2006


Thanks and you are correct. The Authen::Krb5 module provides a means  
of obtaining a ccache as you suggested (although using the variable  
was not necessary). When I did that, all worked. Thanks to all who  
help me with this.

On Dec 7, 2006, at 12:21 PM, Booker C. Bense wrote:

>
> On Dec 6, 2006, at 11:58 AM, Dennis Putnam wrote:
>
>> I am writing a perl script that uses the Authen:Krb5 module. The
>> script is simply trying to obtain an initial ticket. The problem
>> arises when I try to run the script from a PHP page. The script fails
>> with the call that initializes the ccache ($cc->initialize
>> ($pclient)). The error, according to the author of Authen::Krb5,
>> indicates that the ccache cannot be written due to a permissions
>> problem.
>>
>> Is someone here familiar enough with the API thing that Apple uses in
>> its implementation to suggest a plan of action for debugging this?
>
> Depending on how you expect to use the ticket once you have it, you  
> might be better off just setting the KRB5CCNAME variable for the  
> script to
> FILE:/tmp/uniquename . I'm pretty sure the version of kerberos on  
> OS X supports this usage, well at least the command line kinit does.
>
> _ Booker C. Bense



Dennis Putnam
Sr. IT Systems Administrator
AIM Systems, Inc.
11675 Rainwater Dr., Suite 200
Alpharetta, GA  30004
Phone: 678-240-4112
Main Phone: 678-297-0700
FAX: 678-297-2666 or 770-576-1000
The information contained in this e-mail and any attachments is  
strictly confidential. If you are not the intended recipient, any  
use, dissemination, distribution, or duplication of any part of this  
e-mail or any attachment is prohibited. If you are not the intended  
recipient, please notify the sender by return e-mail and delete all  
copies, including the attachments.





More information about the Kerberos mailing list