[SCM] Samba Shared Repository - branch master updated -
8d69a6511018390cc11a5020676e7cf14cdb000a
Günther Deschner
gd at samba.org
Thu Nov 6 12:41:14 GMT 2008
The branch, master has been updated
via 8d69a6511018390cc11a5020676e7cf14cdb000a (commit)
via 0be668f147e65cdd8614c6308c7d5ea1bc25f8f5 (commit)
from 87f563c2308b761bc9c42caf5ab240746004e908 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 8d69a6511018390cc11a5020676e7cf14cdb000a
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 6 12:53:00 2008 +0100
s3-dsgetdcname: fix reply generation (forgot to map nt1 to nt5ex).
Guenther
commit 0be668f147e65cdd8614c6308c7d5ea1bc25f8f5
Author: Günther Deschner <gd at samba.org>
Date: Thu Nov 6 13:31:27 2008 +0100
doserr: add WERR_NO_TRUST_SAM_ACCOUNT.
Guenther
-----------------------------------------------------------------------
Summary of changes:
libcli/util/doserr.c | 1 +
libcli/util/werror.h | 1 +
source3/libsmb/dsgetdcname.c | 2 ++
3 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c
index 2ab3912..160e7bc 100644
--- a/libcli/util/doserr.c
+++ b/libcli/util/doserr.c
@@ -135,6 +135,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS },
{ "WERR_NOT_FOUND", WERR_NOT_FOUND },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
+ { "WERR_NO_TRUST_SAM_ACCOUNT", WERR_NO_TRUST_SAM_ACCOUNT },
{ "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
{ "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS },
{ "WERR_SHUTDOWN_ALREADY_IN_PROGRESS", WERR_SHUTDOWN_ALREADY_IN_PROGRESS },
diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index fe819fc..0d99c7b 100644
--- a/libcli/util/werror.h
+++ b/libcli/util/werror.h
@@ -136,6 +136,7 @@ typedef uint32_t WERROR;
#define WERR_TIME_SKEW W_ERROR(1398)
#define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500)
#define WERR_SERVER_UNAVAILABLE W_ERROR(1722)
+#define WERR_NO_TRUST_SAM_ACCOUNT W_ERROR(1787)
#define WERR_INVALID_FORM_NAME W_ERROR(1902)
#define WERR_INVALID_FORM_SIZE W_ERROR(1903)
#define WERR_PASSWORD_MUST_CHANGE W_ERROR(1907)
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index ff0a8f9..d8c2b70 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -1040,6 +1040,8 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
r->data.nt4 = logon1;
r->ntver = nt_version;
+ map_netlogon_samlogon_response(r);
+
namecache_store(tmp_dc_name, NBT_NAME_SERVER, 1, &ip_list);
goto make_reply;
--
Samba Shared Repository
More information about the samba-cvs
mailing list