summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-20 13:29:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:51 -0500
commitacda755f54f7458d1ff5e41bbf3a4ec6af4dadc0 (patch)
tree803235205ab92a9ca755b1827d21ba338d2d60f6 /source4/librpc/rpc
parentf0a8f718ff474009300af6746fa0fbb61c649ea9 (diff)
downloadsamba-acda755f54f7458d1ff5e41bbf3a4ec6af4dadc0.tar.gz
samba-acda755f54f7458d1ff5e41bbf3a4ec6af4dadc0.tar.bz2
samba-acda755f54f7458d1ff5e41bbf3a4ec6af4dadc0.zip
r793: - don't make templates members of any class that would make them show
up in searches like "objectclass=user" - auto-add the computer objectclass for computer accounts on create - added two types of password change call in samr server - reset last_fault_code before each dcerpc call (This used to be commit c1a65f83f6a4c51e60efd204dab89c20cda65d2b)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 8987cead92..21340e4f63 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -467,6 +467,9 @@ NTSTATUS dcerpc_request(struct dcerpc_pipe *p,
DATA_BLOB blob, payload;
uint32 remaining, chunk_size;
+ /* allow the application to tell when a fault has happened */
+ p->last_fault_code = 0;
+
init_dcerpc_hdr(p, &pkt);
remaining = stub_data_in->length;