summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-20 23:58:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-20 23:58:26 +0200
commit4c32978d973093903a5372a6f358275184bbcab2 (patch)
treeb7f0331f4909d125215c1ffe042cdec4d0e63172 /source3/libnet
parent6fc40ce0d3b1bdfe9a138db4953896f47094424e (diff)
downloadsamba-4c32978d973093903a5372a6f358275184bbcab2.tar.gz
samba-4c32978d973093903a5372a6f358275184bbcab2.tar.bz2
samba-4c32978d973093903a5372a6f358275184bbcab2.zip
Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() if
the system one is broken.
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_samsync_ldif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_samsync_ldif.c b/source3/libnet/libnet_samsync_ldif.c
index dc3bc75541..931107946e 100644
--- a/source3/libnet/libnet_samsync_ldif.c
+++ b/source3/libnet/libnet_samsync_ldif.c
@@ -948,12 +948,12 @@ static NTSTATUS ldif_init_context(TALLOC_CTX *mem_ctx,
}
/* Open the add and mod ldif files */
- if (!(r->add_file = fdopen(smb_mkstemp(r->add_name),"w"))) {
+ if (!(r->add_file = fdopen(mkstemp(r->add_name),"w"))) {
DEBUG(1, ("Could not open %s\n", r->add_name));
status = NT_STATUS_UNSUCCESSFUL;
goto done;
}
- if (!(r->mod_file = fdopen(smb_mkstemp(r->mod_name),"w"))) {
+ if (!(r->mod_file = fdopen(mkstemp(r->mod_name),"w"))) {
DEBUG(1, ("Could not open %s\n", r->mod_name));
status = NT_STATUS_UNSUCCESSFUL;
goto done;