summaryrefslogtreecommitdiff
path: root/source4/ntptr
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-11-27 01:25:11 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:17 +0100
commit25143a26481e735c46c61aa3673eb4858a7819be (patch)
treeca70e475c8b3b48b328e4e0cf30c06b1fbf18eaa /source4/ntptr
parent55f333ae2ddbc8d26f6236f292a52416a35c3e0c (diff)
downloadsamba-25143a26481e735c46c61aa3673eb4858a7819be.tar.gz
samba-25143a26481e735c46c61aa3673eb4858a7819be.tar.bz2
samba-25143a26481e735c46c61aa3673eb4858a7819be.zip
r26135: Remove samdb_add(), samdb_delete() and samdb_modify(), which were just
wrappers to ldb_add() etc. samdb_replace() remains, as it sets flags on all entries as 'replace'. Andrew Bartlett (This used to be commit 09c0faa5b7e1a560bf13b99a2584012a47377bb6)
Diffstat (limited to 'source4/ntptr')
-rw-r--r--source4/ntptr/simple_ldb/ntptr_simple_ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
index e59d84ff91..2a163943ad 100644
--- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
+++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
@@ -318,7 +318,7 @@ static WERROR sptr_AddPrintServerForm(struct ntptr_GenericHandle *server, TALLOC
return WERR_UNKNOWN_LEVEL;
}
- ret = samdb_add(sptr_db, mem_ctx, msg);
+ ret = ldb_add(sptr_db, msg);
if (ret != 0) {
return WERR_FOOBAR;
}
@@ -424,7 +424,7 @@ static WERROR sptr_DeletePrintServerForm(struct ntptr_GenericHandle *server, TAL
return WERR_FOOBAR;
}
- ret = samdb_delete(sptr_db, mem_ctx, msgs[0]->dn);
+ ret = ldb_delete(sptr_db, msgs[0]->dn);
if (ret != 0) {
return WERR_FOOBAR;
}