git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce800d
)
s3-ldb: use GUID_to_ndr_blob()
author
Andrew Tridgell
<tridge@samba.org>
Thu, 10 Dec 2009 03:30:46 +0000
(14:30 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 10 Dec 2009 06:51:28 +0000
(17:51 +1100)
this also fixes an error in NTSTATUS handling
source3/lib/ldb/samba/ldif_handlers.c
patch
|
blob
|
history
diff --git
a/source3/lib/ldb/samba/ldif_handlers.c
b/source3/lib/ldb/samba/ldif_handlers.c
index 689a668c9ed316b0df064a511c8b3d8512474a0b..61619c5b9b5b74b50d29af5b933da3dd059437c5 100644
(file)
--- a/
source3/lib/ldb/samba/ldif_handlers.c
+++ b/
source3/lib/ldb/samba/ldif_handlers.c
@@
-146,8
+146,7
@@
static int ldif_read_objectGUID(struct ldb_context *ldb, void *mem_ctx,
return -1;
}
- status = ndr_push_struct_blob(out, mem_ctx, &guid,
- (ndr_push_flags_fn_t)ndr_push_GUID);
+ status = GUID_to_ndr_blob(&guid, mem_ctx, out);
if (!NT_STATUS_IS_OK(status)) {
return -1;
}