summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-11 19:02:26 +0100
committerMichael Adam <obnox@samba.org>2008-01-11 19:02:26 +0100
commit9cd74303478ac15b4357fb7f76d9576fe9a060a1 (patch)
tree150fe522f2da4994508703df037ce392a147dfcd /source3
parent618f9a60cc60bceb40eed31fbd845db18ccbaee4 (diff)
downloadsamba-9cd74303478ac15b4357fb7f76d9576fe9a060a1.tar.gz
samba-9cd74303478ac15b4357fb7f76d9576fe9a060a1.tar.bz2
samba-9cd74303478ac15b4357fb7f76d9576fe9a060a1.zip
Remove code accidentially submittet with last commit 83aed537c16f63.
This is ist still in preparation and will follow soon. Soory! Michael (This used to be commit 75acdb54a454ffda9d422fcafb573c8f5581d2e8)
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_conf.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index dcb80d96ea..0bdf4805d7 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -421,48 +421,6 @@ done:
**********************************************************************/
/**
- * Open the configuration.
- *
- * Upon success, this creates and returns the conf context
- * that should be passed around in subsequent calls to the other
- * libnet_conf functions.
- */
-WERROR libnet_conf_open(TALLOC_CTX *mem_ctx, struct libnet_conf_ctx **conf_ctx)
-{
- WERROR werr = WERR_OK;
- struct libnet_conf_ctx *ctx;
-
- if (conf_ctx == NULL) {
- return WERR_INVALID_PARAM;
- }
-
- ctx = talloc_zero(mem_ctx, struct libnet_conf_ctx);
- if (ctx == NULL) {
- return WERR_NOMEM;
- }
-
- talloc_set_destructor(ctx, libnet_conf_destrox_ctx);
-
- ctx->token = registry_create_admin_token(tmp_ctx);
- if (ctx->token == NULL) {
- DEBUG(1, ("Error creating admin token\n"));
- /* what is the appropriate error code here? */
- werr = WERR_CAN_NOT_COMPLETE;
- goto done;
- }
-
-
-}
-
-/**
- * Close the configuration.
- */
-WERROR libnet_conf_close(struct libnet_conf_ctx *ctx)
-{
- regdb_close();
-}
-
-/**
* Drop the whole configuration (restarting empty).
*/
WERROR libnet_conf_drop(void)