r25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
authorStefan Metzmacher <metze@samba.org>
Wed, 19 Sep 2007 19:09:02 +0000 (19:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:06:59 +0000 (15:06 -0500)
as this is always answered by the winbindd parent and will
most times return old sequence number values.

metze

source/nsswitch/wbinfo.c
source/nsswitch/winbind_struct_protocol.h

index 46e4668dbe66c65485c2e5bd0e85e263686627fe..b4d7b95b6de585d9d0a814f8b07478f7f6fd5f01 100644 (file)
@@ -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;
 }
 
index 645534b836a43f2824c2563dc217c3e3f06ec246..d8e5c2f3b8caf521816c19a7c7d93a3494aae77f 100644 (file)
@@ -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;