summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-19 19:05:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:53 -0500
commit1edf050ad8682f2cd0781babf9b9db132e1e7493 (patch)
treeb88eddbbe99e35c2b7f6a1141e87e9c42e3b7264 /source3/nsswitch
parent7649b460d27911b0306eb9c2b64d3440b90e0e51 (diff)
downloadsamba-1edf050ad8682f2cd0781babf9b9db132e1e7493.tar.gz
samba-1edf050ad8682f2cd0781babf9b9db132e1e7493.tar.bz2
samba-1edf050ad8682f2cd0781babf9b9db132e1e7493.zip
r25241: 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 9caf54c868e8c0109730860e772c9cc404e2f899)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/wbinfo.c2
-rw-r--r--source3/nsswitch/winbind_struct_protocol.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 45f27e7eb7..bd5c6392f1 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -468,8 +468,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/source3/nsswitch/winbind_struct_protocol.h b/source3/nsswitch/winbind_struct_protocol.h
index 645534b836..d8e5c2f3b8 100644
--- a/source3/nsswitch/winbind_struct_protocol.h
+++ b/source3/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;