summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-03-03 17:50:28 +0100
committerMichael Adam <obnox@samba.org>2011-03-22 22:49:57 +0100
commitae5d35b09e9bcf39523a5300985720786860e65a (patch)
tree6e6fb3e6822ae7b066132155cb35fe3dc6637a04 /source3/winbindd
parentefc1d38b32cc35f51e0a6bf05e1e45b45dbc9abf (diff)
downloadsamba-ae5d35b09e9bcf39523a5300985720786860e65a.tar.gz
samba-ae5d35b09e9bcf39523a5300985720786860e65a.tar.bz2
samba-ae5d35b09e9bcf39523a5300985720786860e65a.zip
s3:idmap: remove (now) unneeded function parse_idmap_module()
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 1c4e25ad33..0fd987cf0b 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -153,44 +153,6 @@ NTSTATUS smb_register_idmap(int version, const char *name,
return NT_STATUS_OK;
}
-static bool parse_idmap_module(TALLOC_CTX *mem_ctx, const char *param,
- char **pmodulename, char **pargs)
-{
- char *modulename;
- char *args;
-
- if (strncmp(param, "idmap_", 6) == 0) {
- param += 6;
- DEBUG(1, ("idmap_init: idmap backend uses deprecated "
- "'idmap_' prefix. Please replace 'idmap_%s' by "
- "'%s'\n", param, param));
- }
-
- modulename = talloc_strdup(mem_ctx, param);
- if (modulename == NULL) {
- return false;
- }
-
- args = strchr(modulename, ':');
- if (args == NULL) {
- *pmodulename = modulename;
- *pargs = NULL;
- return true;
- }
-
- *args = '\0';
-
- args = talloc_strdup(mem_ctx, args+1);
- if (args == NULL) {
- TALLOC_FREE(modulename);
- return false;
- }
-
- *pmodulename = modulename;
- *pargs = args;
- return true;
-}
-
/**
* Initialize a domain structure
* @param[in] mem_ctx memory context for the result