summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-12-30 19:11:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:46 -0500
commit6372b4e4a431b610c59e33b49a2eedf46ed704b8 (patch)
treec9c80bd1cf818a0c318d99b5281ef43d25b2fbbd /source4/rpc_server
parent6f2e88a09c7193704bf52fcc57e400624985c138 (diff)
downloadsamba-6372b4e4a431b610c59e33b49a2eedf46ed704b8.tar.gz
samba-6372b4e4a431b610c59e33b49a2eedf46ed704b8.tar.bz2
samba-6372b4e4a431b610c59e33b49a2eedf46ed704b8.zip
r4417: Reply to samr_QueryDomainInfo with the same static value as level2 does.
Volker (This used to be commit 04cf580ef30ac38f3f312184a7b18551195a17ce)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 0daf33f5d9..b7cfad2421 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -409,6 +409,19 @@ static NTSTATUS samr_info_DomInfo2(struct samr_domain_state *state, TALLOC_CTX *
return NT_STATUS_OK;
}
+/*
+ return DomInfo3
+*/
+static NTSTATUS samr_info_DomInfo3(struct samr_domain_state *state,
+ TALLOC_CTX *mem_ctx,
+ struct samr_DomInfo3 *info)
+{
+ /* where is this supposed to come from? is it settable? */
+ info->force_logoff_time = 0x8000000000000000LL;
+
+ return NT_STATUS_OK;
+}
+
/*
samr_QueryDomainInfo
*/
@@ -437,6 +450,9 @@ static NTSTATUS samr_QueryDomainInfo(struct dcesrv_call_state *dce_call, TALLOC_
&r->out.info->info1);
case 2:
return samr_info_DomInfo2(d_state, mem_ctx, &r->out.info->info2);
+ case 3:
+ return samr_info_DomInfo3(d_state, mem_ctx,
+ &r->out.info->info3);
}
return NT_STATUS_INVALID_INFO_CLASS;