s4:auth/pyauth.c - temporarily add compatibility code for Python 2.4