Client Server Authentication using Kerberos
I have two servers. Server 1, the client application, is a Windows Web Server. Server 2, the listener application, is a Ubuntu Server. I need server 1 to pass information to server 2, then server 2 to pass information back to server 1. I have this much working already using sockets and streams.
Now I want to add Kerberos authentication. I have a Kerberos KDC server configured and working, as well as a DNS server. I want the client and listener applications to authenticate with each other before they pass any information. The client application is coded in C# and listener application is coded in C.
Can anyone point me to a tutorial or something to get me started? How does a C server application mutually authenticate with a client using Kerberos?