[2419] in Kerberos_V5_Development
Kerberos V4 Re-entrancy Question and a Solaris threaded server.
daemon@ATHENA.MIT.EDU (Jeffery D. Jacobson)
Wed Jul 9 20:57:12 1997
Date: Wed, 9 Jul 1997 17:56:11 -0700
From: jdj@busstop.jpl.nasa.gov (Jeffery D. Jacobson)
To: krbdev@MIT.EDU
Cc: jdj@busstop.jpl.nasa.gov, tytso@MIT.EDU
I'm working on a server currently in use by the Mars Pathfinder
Mission. We may be having some problem servicing connection requests.
The code has been written in such a way that we receive an
authenticator from a client, then call krb_rd_req before creating a
thread to service the clients request. The developer thought that
this krb_rd_req was not thread safe, so he serialized access to it by
authenticating in the thread that accepts connections. I'd like to
put change the code to accept the connection, then do all of the auth
stuff in a new thread. My question is, do I need to mutext
krb_rd_req? It would be nice to remove this bottleneck.
Thankyou.
Jeff Jacobson Tel:818.354.8318 Fax:818.393.6962
Jet Propulsion Laboratory Mailstop: 168-414
4800 Oak Grove Drive
Pasadena, CA 91109