summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-03 22:56:19 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-03 22:56:19 +0100
commit70eaa3fd0cc1622724852039d63121a2c5ee22d1 (patch)
tree571c743ddcdbef3197d793748f50876b68780834
parentd0b39324471e5226613a86aad313557cd4a89a9a (diff)
downloadsamba-70eaa3fd0cc1622724852039d63121a2c5ee22d1.tar.gz
samba-70eaa3fd0cc1622724852039d63121a2c5ee22d1.tar.bz2
samba-70eaa3fd0cc1622724852039d63121a2c5ee22d1.zip
s3/s4:lsa.idl - QueryDomainInformationPolicy - the "unknown6" field is called "reserved"
MS-LSAD 3.1.1.1 - http://msdn.microsoft.com/en-us/library/cc234319(v=PROT.13).aspx
-rw-r--r--librpc/idl/lsa.idl4
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
index 343d21da07..869a97a1ac 100644
--- a/librpc/idl/lsa.idl
+++ b/librpc/idl/lsa.idl
@@ -1066,14 +1066,14 @@ import "misc.idl", "security.idl";
/* Function 0x35 */
/* w2k3 returns either 0x000bbbd000000000 or 0x000a48e800000000
- for unknown6 - gd */
+ for reserved - gd */
typedef struct {
uint32 enforce_restrictions;
hyper service_tkt_lifetime;
hyper user_tkt_lifetime;
hyper user_tkt_renewaltime;
hyper clock_skew;
- hyper unknown6;
+ hyper reserved;
} lsa_DomainInfoKerberos;
typedef struct {
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c
index 8a5edb4042..a3c8846376 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -3705,6 +3705,7 @@ static NTSTATUS dcesrv_lsa_QueryDomainInformationPolicy(struct dcesrv_call_state
k->user_tkt_lifetime = 0; /* Need to find somewhere to store this, and query in KDC too */
k->user_tkt_renewaltime = 0; /* Need to find somewhere to store this, and query in KDC too */
k->clock_skew = krb5_get_max_time_skew(smb_krb5_context->krb5_context);
+ k->reserved = 0;
talloc_free(smb_krb5_context);
*r->out.info = info;
return NT_STATUS_OK;