s3:dcerpc_ep: only use the explicitly passed object_guid
authorStefan Metzmacher <metze@samba.org>
Thu, 30 Jan 2014 08:51:09 +0000 (09:51 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 11 Feb 2014 15:20:28 +0000 (16:20 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/librpc/rpc/dcerpc_ep.c

index f5d584898dc9349e6539b6b92d0b3ea871e2f6b1..d0c264a5a84b5ce7e30ef7f75523ad9db7ada699 100644 (file)
@@ -430,7 +430,7 @@ static NTSTATUS ep_register(TALLOC_CTX *mem_ctx,
                if (object_guid != NULL) {
                        entries[i].object = *object_guid;
                } else {
-                       entries[i].object = map_binding->object.uuid;
+                       ZERO_STRUCT(entries[i].object);
                }
        }