git.samba.org
/
metze
/
samba
/
wb-ndr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3104159
)
implement WINBIND_DOMAIN_INFO_LEVEL_SEQNUM in the domain child
author
Stefan Metzmacher
<metze@sernet.de>
Fri, 14 Dec 2007 12:03:58 +0000
(13:03 +0100)
committer
Stefan Metzmacher
<metze@sernet.de>
Fri, 2 May 2008 14:13:10 +0000
(16:13 +0200)
source/winbindd/winbindd_util.c
patch
|
blob
|
history
diff --git
a/source/winbindd/winbindd_util.c
b/source/winbindd/winbindd_util.c
index 5b84dfd91a927beac785eea3460d59fc5995ae35..77c544296176f4595bf44bfd09d849f8a5ad82cd 100644
(file)
--- a/
source/winbindd/winbindd_util.c
+++ b/
source/winbindd/winbindd_util.c
@@
-707,7
+707,17
@@
void winbindd_ndr_child_get_domain_info(struct winbindd_domain *domain,
r->out.result = WINBIND_STATUS_OK;
return;
- }}
+ }
+ case WINBIND_DOMAIN_INFO_LEVEL_SEQNUM:
+ if (domain->initialized) {
+ domain->methods->sequence_number(domain, &domain->sequence_number);
+ }
+
+ r->out.domain_info->seqnum = domain->sequence_number;
+
+ r->out.result = WINBIND_STATUS_OK;
+ return;
+ }
r->out.result = WINBIND_STATUS_UNKNOWN_LEVEL;
}