s4-auth: fixed status return
authorAndrew Tridgell <tridge@samba.org>
Thu, 13 Jan 2011 05:55:05 +0000 (16:55 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 14 Jan 2011 05:39:33 +0000 (16:39 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/auth/session.c

index 124fdb989b860c83436e291b29b0a14a49af1252..00a59229ecef956ebdaf926179ba9032e0181ec3 100644 (file)
@@ -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;
 }
 
 /**