mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
Attempt to fix the non-krb build
(This used to be commit 31d80a476701c89bf236997f2ab68bd2765579bd)
This commit is contained in:
parent
79fae5082a
commit
9de291e671
@ -2431,6 +2431,7 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
|
||||
const char *password,
|
||||
struct cli_pipe_auth_data **presult)
|
||||
{
|
||||
#ifdef HAVE_KRB5
|
||||
struct cli_pipe_auth_data *result;
|
||||
|
||||
if ((username != NULL) && (password != NULL)) {
|
||||
@ -2477,6 +2478,9 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
|
||||
fail:
|
||||
TALLOC_FREE(result);
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
#else
|
||||
return NT_STATUS_NOT_SUPPORTED;
|
||||
#endif
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user