The Samba-Bugzilla – Attachment 14154 Details for
Bug 13393
Samba crashed when kerberos method is set to 'secrets and keytab'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for master
0001-s3-passdb-Do-not-return-OK-if-we-don-t-have-pinfo-fi.patch (text/plain), 1.00 KB, created by
Andreas Schneider
on 2018-04-18 11:51:42 UTC
(
hide
)
Description:
patch for master
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2018-04-18 11:51:42 UTC
Size:
1.00 KB
patch
obsolete
>From f4c374bbb0fa41b88ee87cc56503489a695063b5 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 17 Apr 2018 08:55:23 +0200 >Subject: [PATCH] s3:passdb: Do not return OK if we don't have pinfo filled > >This prevents a crash in fill_mem_keytab_from_secrets() > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13393 > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > source3/passdb/machine_account_secrets.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c >index 40511f96a8b..94a7e21c809 100644 >--- a/source3/passdb/machine_account_secrets.c >+++ b/source3/passdb/machine_account_secrets.c >@@ -1317,7 +1317,7 @@ NTSTATUS secrets_fetch_or_upgrade_domain_info(const char *domain, > > last_set_time = secrets_fetch_pass_last_set_time(domain); > if (last_set_time == 0) { >- return NT_STATUS_OK; >+ return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; > } > unix_to_nt_time(&last_set_nt, last_set_time); > >-- >2.16.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13393
: 14154