TODO Determine proper usage and return codes for the various calls. Document any weird situations. Example scripts that work for various calls to test the nss_exec_test program. Fill in missing functions for nss_exec_test.