Startup Load the ratsconf file. If it fails log and exit. Establish a listen socket. If it fails, log and exit. On connection accept and fork a child.
Parent closes conversation socket, child closes listen socket.
If no, log and exit. Child accepts content over socket and decrypts it. Child parses the command number. If the api call is inside the valid range but unsupported, it fails, logs, and exits. If the call is valid, it passes the arguments onto either the kerberos handling code or the pdb handling code.