[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4224-ge8f3a35
Gerald Carter
jerry at samba.org
Mon Oct 6 16:36:10 GMT 2008
The branch, v3-3-test has been updated
via e8f3a35193bcbdf69c5eebdac532cfaa7b44edc2 (commit)
from b3735cfc098e27a2af29a4671bc4e40b47314585 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit e8f3a35193bcbdf69c5eebdac532cfaa7b44edc2
Author: Gerald (Jerry) Carter <jerry at samba.org>
Date: Mon Oct 6 11:34:45 2008 -0500
idmap_adex: Add log messages to dc_add_domain for easier debugging.
Part of continue work on BUG 5806.
-----------------------------------------------------------------------
Summary of changes:
source/winbindd/idmap_adex/domain_util.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/winbindd/idmap_adex/domain_util.c b/source/winbindd/idmap_adex/domain_util.c
index ab31cce..e9d4569 100644
--- a/source/winbindd/idmap_adex/domain_util.c
+++ b/source/winbindd/idmap_adex/domain_util.c
@@ -49,6 +49,12 @@ static NTSTATUS dc_add_domain(const char *domain)
NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
struct dc_info *dc = NULL;
+ if (!domain) {
+ return NT_STATUS_INVALID_PARAMETER;
+ }
+
+ DEBUG(10,("dc_add_domain: Attempting to add domain %s\n", domain));
+
/* Check for duplicates */
dc = dc_list_head();
@@ -73,6 +79,8 @@ static NTSTATUS dc_add_domain(const char *domain)
nt_status = NT_STATUS_OK;
+ DEBUG(5,("dc_add_domain: Successfully added %s\n", domain));
+
done:
if (!NT_STATUS_IS_OK(nt_status)) {
talloc_destroy(dc);
--
Samba Shared Repository
More information about the samba-cvs
mailing list