create_dir
if (create_dir(TIMESTAMP_DIR) != PAM_SUCCESS)
if (create_dir(dirname(timestampdir)) != PAM_SUCCESS)