Detecting kerberos version from header file

Daniel Berger djberg96 at gmail.com
Mon Feb 1 12:12:32 EST 2010


Hi,

Is there a way to detect which version of kerberos I'm using within a
C program? Is there a #define somewhere I can use?

I ask because the prototype for kadm5_init_with_password changed in
1.6 and later (db_args was added) and I need to alter my code
depending on whether or not it takes 7 or 8 arguments.

Regards,

Dan



More information about the Kerberos mailing list