1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r21518: fix panic, sorry...

metze
(This used to be commit 3c786eb6bd)
This commit is contained in:
Stefan Metzmacher 2007-02-23 12:29:21 +00:00 committed by Gerald (Jerry) Carter
parent d92bc6db36
commit 041b0cfa97

View File

@ -386,7 +386,7 @@ static NTSTATUS dcesrv_lsa_get_policy_state(struct dcesrv_call_state *dce_call,
talloc_free(forest_ref_res);
return NT_STATUS_INVALID_SYSTEM_SERVICE;
}
if (ref_res->count != 1) {
if (forest_ref_res->count != 1) {
talloc_free(forest_ref_res);
return NT_STATUS_NO_SUCH_DOMAIN;
}