mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ntlm auth: spelling fixes
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
7163e08caa
commit
8bb44c53b4
@ -263,7 +263,7 @@ static NTSTATUS smb_pam_start(pam_handle_t **pamh, const char *account_name, con
|
|||||||
|
|
||||||
pam_error = pam_end(*pamh, 0);
|
pam_error = pam_end(*pamh, 0);
|
||||||
if (pam_error != PAM_SUCCESS) {
|
if (pam_error != PAM_SUCCESS) {
|
||||||
/* no vaild pamh here, can we reliably call pam_strerror ? */
|
/* no valid pamh here, can we reliably call pam_strerror ? */
|
||||||
DEBUG(4,("smb_pam_start: clean up failed, pam_end gave error %d.\n",
|
DEBUG(4,("smb_pam_start: clean up failed, pam_end gave error %d.\n",
|
||||||
pam_error));
|
pam_error));
|
||||||
return pam_to_nt_status(pam_error);
|
return pam_to_nt_status(pam_error);
|
||||||
@ -283,7 +283,7 @@ static NTSTATUS smb_pam_start(pam_handle_t **pamh, const char *account_name, con
|
|||||||
|
|
||||||
pam_error = pam_end(*pamh, 0);
|
pam_error = pam_end(*pamh, 0);
|
||||||
if (pam_error != PAM_SUCCESS) {
|
if (pam_error != PAM_SUCCESS) {
|
||||||
/* no vaild pamh here, can we reliably call pam_strerror ? */
|
/* no valid pamh here, can we reliably call pam_strerror ? */
|
||||||
DEBUG(4,("smb_pam_start: clean up failed, pam_end gave error %d.\n",
|
DEBUG(4,("smb_pam_start: clean up failed, pam_end gave error %d.\n",
|
||||||
pam_error));
|
pam_error));
|
||||||
return pam_to_nt_status(pam_error);
|
return pam_to_nt_status(pam_error);
|
||||||
@ -303,7 +303,7 @@ static NTSTATUS smb_pam_end(pam_handle_t *pamh)
|
|||||||
if (pamh != NULL) {
|
if (pamh != NULL) {
|
||||||
pam_error = pam_end(pamh, 0);
|
pam_error = pam_end(pamh, 0);
|
||||||
if (pam_error != PAM_SUCCESS) {
|
if (pam_error != PAM_SUCCESS) {
|
||||||
/* no vaild pamh here, can we reliably call pam_strerror ? */
|
/* no valid pamh here, can we reliably call pam_strerror ? */
|
||||||
DEBUG(4,("smb_pam_end: clean up failed, pam_end gave error %d.\n",
|
DEBUG(4,("smb_pam_end: clean up failed, pam_end gave error %d.\n",
|
||||||
pam_error));
|
pam_error));
|
||||||
return pam_to_nt_status(pam_error);
|
return pam_to_nt_status(pam_error);
|
||||||
|
Loading…
Reference in New Issue
Block a user