Home Forums OS X Server and Client Discussion Questions and Answers kerberos / php on a mac

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #365242
    brandon
    Participant

    I’m running Mac Server OS X 10.4 and am using the stock php4 and apache 1.3 that it comes with. I want to be able to have my website work have a login page that will check against a kerberos server. This is proving to be harder then I orginally thought. On linux, i just install pam auth as a module in php and then configure it to work my kerberos server and call it a day. This doesnt work so well on OSX.

    I first downloaded the pam_auth code and compiled it. Worked fine and i dropped the pam_auth.so file into php. When i look at my phpsysinfo it shows “Pam Authentication Support active” so it worked. However, then i went to compile the kerberos module for pam and it said it cant find the krb5 lib. On MIT’s site it says 10.4 has it own krb5 lilbrary already. However this is the one provided by Apple and it seems to not contain the standard functions of the offical lib. So i figured i would compile krb5 lib off MIT’s site, however it gets a lot of build errors. I am using the latest version of XCode. I really need to get this working, has anyone had any experience with this?

    #365253
    Anonymous
    Participant

    pam_auth and kerb is a horrible hack.

    Use the built in mod_gssapi.

    -m

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed