From 1b9c4763eec7770008d85796dc5a05c3f5739042 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 27 Mar 2008 18:05:02 +0100 Subject: Fix typo. Guenther (This used to be commit fed644372916a5e565e4f5352aab61b39a3a42a0) --- source3/winbindd/winbindd_pam.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index 3b13a9269a..972a3bf3b9 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/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) ) { -- cgit