Cannot change password (error 31)

Sam Hartman hartmans at MIT.EDU
Tue Sep 2 13:19:58 EDT 2003


The password server changes look reasonable except that it looks like
waitpid is not called if ret manages to get set after the fork.  That
means you'll leak a process in the error case.  Of course calling
waitpid if the process is not going to exit will hang kadmind.


The code seems to have a lot of nested conditionals, although I'm not
sure that's actually wrong in this case--just hard to read.




More information about the Kerberos mailing list