Piping password to kinit on a windows server

Anonym
2019-03-04T15:33:08+00:00

We are setting up a system where we need to re-verify a user's identify before he/she is allowed to perform a specific task. The user enters his/her password into the website, and then PHP runs kinit to verify that the password is correct. We use Kerberos for authentication. This is what we successfully tried on a Linux server:

echo "base64_encoded_password" | base64 --decode | kinit ******@REALM.COM

The problem is that the system is running on a Windows server. We have installed kinit, but cannot seem to get the same thing to work. Running that same command, with or without the quotes, just gives us this output:

kinit: Generic preauthentication failure while getting initial credentials

Any suggestions on what could be done here?

Edit: Running simply "kinit" and then entering the password at the prompt, works well.

Windows for home | Annet | Apper

Låst spørsmål. Dette spørsmålet ble overført fra Microsofts kundestøttefelleskap. Du kan stemme på om det er nyttig, men du kan ikke legge til kommentarer eller svar eller følge spørsmålet.

0 kommentarer Ingen kommentarer

1 svar

Sorter etter: Eldste
  1. Anonym
    2019-04-09T09:18:47+00:00

    Hello Rasmus,

    This is the Norwegian community, so I will reply in Norwegian.

    If you want support in English,you can create a thread for that language here.

    Da dette er et problem som er mer passende for Technet, ønsker jeg at du

    trykker her for å komme til rett forum. 

    MVH,

    Emma S

    Var dette svaret nyttig?

    0 kommentarer Ingen kommentarer