mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r14450: Fix more get_md4pw() breakage caused by missing "breaks"
in the switch statement which matched the schannel type against the account type. (This used to be commit 57c705ea63381ed9ab09145b4f57a736931fa6ca)
This commit is contained in:
parent
a199498213
commit
36f622acea
@ -268,6 +268,7 @@ static NTSTATUS get_md4pw(char *md4pw, char *mach_acct, uint16 sec_chan_type)
|
||||
TALLOC_FREE(sampass);
|
||||
return NT_STATUS_NO_TRUST_SAM_ACCOUNT;
|
||||
}
|
||||
break;
|
||||
case SEC_CHAN_WKSTA:
|
||||
if (!(acct_ctrl & ACB_WSTRUST)) {
|
||||
DEBUG(0,("get_md4pw: Workstation %s: WORKSTATION secure channel requested "
|
||||
@ -275,6 +276,7 @@ static NTSTATUS get_md4pw(char *md4pw, char *mach_acct, uint16 sec_chan_type)
|
||||
TALLOC_FREE(sampass);
|
||||
return NT_STATUS_NO_TRUST_SAM_ACCOUNT;
|
||||
}
|
||||
break;
|
||||
case SEC_CHAN_DOMAIN:
|
||||
if (!(acct_ctrl & ACB_DOMTRUST)) {
|
||||
DEBUG(0,("get_md4pw: Workstation %s: DOMAIN secure channel requested "
|
||||
@ -282,6 +284,7 @@ static NTSTATUS get_md4pw(char *md4pw, char *mach_acct, uint16 sec_chan_type)
|
||||
TALLOC_FREE(sampass);
|
||||
return NT_STATUS_NO_TRUST_SAM_ACCOUNT;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user