The branch, v3-2-test has been updated via fed644372916a5e565e4f5352aab61b39a3a42a0 (commit) via 3426f13f3bbcb5cae3f2e6aac9e2d04174e5bdc0 (commit) from 2e24f7c0243c67a00102c11258cfa6f61caf499f (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit fed644372916a5e565e4f5352aab61b39a3a42a0 Author: Günther Deschner <[EMAIL PROTECTED]> Date: Thu Mar 27 18:05:02 2008 +0100 Fix typo. Guenther commit 3426f13f3bbcb5cae3f2e6aac9e2d04174e5bdc0 Author: Günther Deschner <[EMAIL PROTECTED]> Date: Thu Mar 27 16:44:37 2008 +0100 Ndr pull and push errors are worth to be logged with 1 at least. Guenther ----------------------------------------------------------------------- Summary of changes: source/librpc/ndr/ndr.c | 4 ++-- source/winbindd/winbindd_pam.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) Changeset truncated at 500 lines: diff --git a/source/librpc/ndr/ndr.c b/source/librpc/ndr/ndr.c index 53eff00..d94d12e 100644 --- a/source/librpc/ndr/ndr.c +++ b/source/librpc/ndr/ndr.c @@ -464,7 +464,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_error(struct ndr_pull *ndr, return NDR_ERR_ALLOC; } - DEBUG(3,("ndr_pull_error(%u): %s\n", ndr_err, s)); + DEBUG(1,("ndr_pull_error(%u): %s\n", ndr_err, s)); free(s); @@ -490,7 +490,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_error(struct ndr_push *ndr, return NDR_ERR_ALLOC; } - DEBUG(3,("ndr_push_error(%u): %s\n", ndr_err, s)); + DEBUG(1,("ndr_push_error(%u): %s\n", ndr_err, s)); free(s); diff --git a/source/winbindd/winbindd_pam.c b/source/winbindd/winbindd_pam.c index 3b13a92..972a3bf 100644 --- a/source/winbindd/winbindd_pam.c +++ b/source/winbindd/winbindd_pam.c @@ -1639,18 +1639,18 @@ process_result: if (state->request.flags & WBFLAG_PAM_GET_PWD_POLICY) { struct winbindd_domain *our_domain = find_our_domain(); - - /* This is not entiurely correct I believe, but it is + + /* This is not entirely correct I believe, but it is consistent. Only apply the password policy settings too warn users for our own domain. Cannot obtain these from trusted DCs all the time so don't do it at all. -- jerry */ - result = NT_STATUS_NOT_SUPPORTED; + result = NT_STATUS_NOT_SUPPORTED; if (our_domain == domain ) { -a result = fillup_password_policy(our_domain, state); + result = fillup_password_policy(our_domain, state); } - + if (!NT_STATUS_IS_OK(result) && !NT_STATUS_EQUAL(result, NT_STATUS_NOT_SUPPORTED) ) { -- Samba Shared Repository