diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-07 23:59:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-07 23:59:13 +0000 |
commit | 393bede7db6af546431cd5255e465b7b7b0e7c81 (patch) | |
tree | 44a95a722eba6f412e50efc34e2233baa31fe987 /source3/rpc_server/srv_reg_nt.c | |
parent | 2b22019e426c4bb7a5745a326c302a4e19aa5ff2 (diff) | |
download | samba-393bede7db6af546431cd5255e465b7b7b0e7c81.tar.gz samba-393bede7db6af546431cd5255e465b7b7b0e7c81.tar.bz2 samba-393bede7db6af546431cd5255e465b7b7b0e7c81.zip |
Sync up handle creation with 2.2 branch. We can now join AS/U domains and
authenticate against them. Big/little endian issues fixed.
Jeremy.
(This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
Diffstat (limited to 'source3/rpc_server/srv_reg_nt.c')
-rw-r--r-- | source3/rpc_server/srv_reg_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_reg_nt.c b/source3/rpc_server/srv_reg_nt.c index 4d35542fc2..4bd97abb65 100644 --- a/source3/rpc_server/srv_reg_nt.c +++ b/source3/rpc_server/srv_reg_nt.c @@ -37,7 +37,7 @@ extern int DEBUGLEVEL; uint32 _reg_close(pipes_struct *p, REG_Q_CLOSE *q_u, REG_R_CLOSE *r_u) { /* set up the REG unknown_1 response */ - memset((char *)r_u->pol.data, '\0', POL_HND_SIZE); + ZERO_STRUCT(r_u->pol); /* close the policy handle */ if (!close_lsa_policy_hnd(&q_u->pol)) |