[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-315-g818044d
Günther Deschner
gd at samba.org
Wed Mar 19 23:55:26 GMT 2008
The branch, v3-2-test has been updated
via 818044d877597ba5c11dc7f30bab929c4b41db89 (commit)
via dbc7237a8a566f3e86bd6e4b48593b93c5bfb94e (commit)
from 098380760d20bad2a45c3b12ab2a5e4d2b856175 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 818044d877597ba5c11dc7f30bab929c4b41db89
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 20 00:31:26 2008 +0100
Add error mapping for WERR_SERVICE_NEVER_STARTED.
Guenther
commit dbc7237a8a566f3e86bd6e4b48593b93c5bfb94e
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 20 00:30:01 2008 +0100
Fix crash bug in check_sam_security() when make_server_info_sam() did a
talloc_steal and talloc_free on the sam account already.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/auth/auth_sam.c | 1 -
source/libsmb/doserr.c | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/auth/auth_sam.c b/source/auth/auth_sam.c
index 66504a8..4d25d31 100644
--- a/source/auth/auth_sam.c
+++ b/source/auth/auth_sam.c
@@ -352,7 +352,6 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0,("check_sam_security: make_server_info_sam() failed with '%s'\n", nt_errstr(nt_status)));
- TALLOC_FREE(sampass);
data_blob_free(&user_sess_key);
data_blob_free(&lm_sess_key);
return nt_status;
diff --git a/source/libsmb/doserr.c b/source/libsmb/doserr.c
index 203f682..278875a 100644
--- a/source/libsmb/doserr.c
+++ b/source/libsmb/doserr.c
@@ -96,6 +96,7 @@ werror_code_struct dos_errs[] =
{ "WERR_REG_FILE_INVALID", WERR_REG_FILE_INVALID },
{ "WERR_NO_SUCH_SERVICE", WERR_NO_SUCH_SERVICE },
{ "WERR_SERVICE_DISABLED", WERR_SERVICE_DISABLED },
+ { "WERR_SERVICE_NEVER_STARTED", WERR_SERVICE_NEVER_STARTED },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE},
{ "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS},
{ "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE },
--
Samba Shared Repository
More information about the samba-cvs
mailing list