svn commit: samba r4417 - in
branches/SAMBA_4_0/source/rpc_server/samr: .
vlendec at samba.org
vlendec at samba.org
Thu Dec 30 19:11:25 GMT 2004
Author: vlendec
Date: 2004-12-30 19:11:25 +0000 (Thu, 30 Dec 2004)
New Revision: 4417
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4417
Log:
Reply to samr_QueryDomainInfo with the same static value as level2 does.
Volker
Modified:
branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c 2004-12-30 19:08:32 UTC (rev 4416)
+++ branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c 2004-12-30 19:11:25 UTC (rev 4417)
@@ -409,6 +409,19 @@
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 @@
&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;
More information about the samba-cvs
mailing list