summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-19 19:09:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:59 -0500
commite0ea2c9b9fcb681b60df8baf047bc99724f9426a (patch)
treeade54de5eb4bea035bd9ea0ef02c7f4a136d9bb1 /source4
parent727386327c8e2e40f9cc590882ac64020828480b (diff)
downloadsamba-e0ea2c9b9fcb681b60df8baf047bc99724f9426a.tar.gz
samba-e0ea2c9b9fcb681b60df8baf047bc99724f9426a.tar.bz2
samba-e0ea2c9b9fcb681b60df8baf047bc99724f9426a.zip
r25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
as this is always answered by the winbindd parent and will most times return old sequence number values. metze (This used to be commit af259f35f22ea24c1b2f2e007998bfa0bb58f6f6)
Diffstat (limited to 'source4')
-rw-r--r--source4/nsswitch/wbinfo.c2
-rw-r--r--source4/nsswitch/winbind_struct_protocol.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/nsswitch/wbinfo.c b/source4/nsswitch/wbinfo.c
index 46e4668dbe..b4d7b95b6d 100644
--- a/source4/nsswitch/wbinfo.c
+++ b/source4/nsswitch/wbinfo.c
@@ -465,8 +465,6 @@ static BOOL wbinfo_domain_info(const char *domain_name)
d_printf("Primary : %s\n",
response.data.domain_info.primary ? "Yes" : "No");
- d_printf("Sequence : %d\n", response.data.domain_info.sequence_number);
-
return True;
}
diff --git a/source4/nsswitch/winbind_struct_protocol.h b/source4/nsswitch/winbind_struct_protocol.h
index 645534b836..d8e5c2f3b8 100644
--- a/source4/nsswitch/winbind_struct_protocol.h
+++ b/source4/nsswitch/winbind_struct_protocol.h
@@ -447,8 +447,8 @@ struct winbindd_response {
bool native_mode;
bool active_directory;
bool primary;
- uint32_t sequence_number;
} domain_info;
+ uint32_t sequence_number;
struct {
fstring acct_name;
fstring full_name;