From c43505b621725c9a754f0ee98318d451b093f2ed Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 12 Jul 2012 15:55:21 +0200 Subject: s3: rename sid_check_is_domain() to sid_check_is_our_sam() This does not check whether the given sid is the domain sid, but whether it is the sid of the local sam, which is different for a domain member server. --- source3/winbindd/wb_next_grent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/winbindd/wb_next_grent.c') diff --git a/source3/winbindd/wb_next_grent.c b/source3/winbindd/wb_next_grent.c index 2b3799ab93..d3b0333358 100644 --- a/source3/winbindd/wb_next_grent.c +++ b/source3/winbindd/wb_next_grent.c @@ -62,7 +62,7 @@ struct tevent_req *wb_next_grent_send(TALLOC_CTX *mem_ctx, } if ((state->gstate->domain != NULL) - && sid_check_is_domain(&state->gstate->domain->sid)) { + && sid_check_is_our_sam(&state->gstate->domain->sid)) { state->gstate->domain = state->gstate->domain->next; } @@ -125,7 +125,7 @@ static void wb_next_grent_fetch_done(struct tevent_req *subreq) state->gstate->domain = state->gstate->domain->next; if ((state->gstate->domain != NULL) - && sid_check_is_domain(&state->gstate->domain->sid)) { + && sid_check_is_our_sam(&state->gstate->domain->sid)) { state->gstate->domain = state->gstate->domain->next; } -- cgit