3

I'm writing an C application which authenticate an user via MIT Kerberos.

krb5_get_init_creds_password(..) works fine, john.doe@EXAMPLE.COM can be authenticated, but i have to define

[realms]
    EXAMPLE.COM = {
        kdc = example.com
    }

in the krb5.conf file.

Is there any possibility for set the KDC server address in C API?

I do not want to use the krb5.conf file or make a environment setting.

Thanks in advance, Darwin

T-Heron
  • 5,385
  • 7
  • 26
  • 52

0 Answers0