summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/auth/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/session.c b/source4/auth/session.c
index 124fdb989b..00a59229ec 100644
--- a/source4/auth/session.c
+++ b/source4/auth/session.c
@@ -231,7 +231,7 @@ NTSTATUS authsam_get_session_info_principal(TALLOC_CTX *mem_ctx,
talloc_steal(mem_ctx, *session_info);
}
talloc_free(tmp_ctx);
- return NT_STATUS_OK;
+ return nt_status;
}
/**