From b9d77db587f42c2c7a26b7fd8082740c617cb467 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 15 Jul 2007 10:46:34 +0000 Subject: r23880: Don't crash when we run wbinfo -a against our own winbind when we are a DC. Next step is to make it work... Andrew Bartlett (This used to be commit a1b6c9ecb9a6f17bcbabf81a8128398df6447490) --- source4/winbind/wb_pam_auth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/winbind/wb_pam_auth.c') diff --git a/source4/winbind/wb_pam_auth.c b/source4/winbind/wb_pam_auth.c index e29bb7c472..fffb7c408c 100644 --- a/source4/winbind/wb_pam_auth.c +++ b/source4/winbind/wb_pam_auth.c @@ -128,6 +128,7 @@ static void pam_auth_crap_recv_domain(struct composite_context *ctx) struct wbsrv_domain *domain; state->ctx->status = wb_sid2domain_recv(ctx, &domain); + if (!composite_is_ok(state->ctx)) return; state->creds_state = cli_credentials_get_netlogon_creds(domain->schannel_creds); -- cgit