diff options
author | Michael Adam <obnox@samba.org> | 2012-07-12 15:55:21 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-07-12 16:43:51 +0200 |
commit | c43505b621725c9a754f0ee98318d451b093f2ed (patch) | |
tree | 62ffe55074eecc8f46bdedb252ef5622a1625b8e /source3/winbindd/wb_next_pwent.c | |
parent | ac2644b7766e41858d53ead9d0c023a26265789a (diff) | |
download | samba-c43505b621725c9a754f0ee98318d451b093f2ed.tar.gz samba-c43505b621725c9a754f0ee98318d451b093f2ed.tar.bz2 samba-c43505b621725c9a754f0ee98318d451b093f2ed.zip |
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.
Diffstat (limited to 'source3/winbindd/wb_next_pwent.c')
-rw-r--r-- | source3/winbindd/wb_next_pwent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/wb_next_pwent.c b/source3/winbindd/wb_next_pwent.c index 28ae9b7075..785658d4be 100644 --- a/source3/winbindd/wb_next_pwent.c +++ b/source3/winbindd/wb_next_pwent.c @@ -40,7 +40,7 @@ static struct winbindd_domain *wb_next_find_domain(struct winbindd_domain *domai } if ((domain != NULL) - && sid_check_is_domain(&domain->sid)) { + && sid_check_is_our_sam(&domain->sid)) { domain = domain->next; } return domain; @@ -114,7 +114,7 @@ static void wb_next_pwent_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; } |