summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-06 09:35:16 +0000
committerSimo Sorce <idra@samba.org>2003-04-06 09:35:16 +0000
commit0ac2b380018bd50eaaf6d6bcfbb6e949b85a6601 (patch)
tree99d701957698c8c4e8f7c99e4c83424b5009e088 /source3/include
parent588b1978a19f8bb468165740dc293ae1a4e28951 (diff)
downloadsamba-0ac2b380018bd50eaaf6d6bcfbb6e949b85a6601.tar.gz
samba-0ac2b380018bd50eaaf6d6bcfbb6e949b85a6601.tar.bz2
samba-0ac2b380018bd50eaaf6d6bcfbb6e949b85a6601.zip
This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on the
first run if idmap.tdb is not found, and then eventually convert it to the new format. This is done to unify winbind and idmap databases and to make a backup of winbindd_idmap.tdb in case you want to downgrade (of course it will not be updated). This is needed because idmap.tdb contains also local mappings, not only foreign domains mappings. Added some other fixes/improvements Simo. (This used to be commit cf17261519fd8775500f9b9d6caa2bc462e04633)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/idmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h
index 2cc31e9ed2..a7cab74149 100644
--- a/source3/include/idmap.h
+++ b/source3/include/idmap.h
@@ -41,7 +41,7 @@ typedef union unid_t {
struct idmap_methods {
/* Called when backend is first loaded */
- NTSTATUS (*init)(const char *init_str);
+ NTSTATUS (*init)(void);
NTSTATUS (*get_sid_from_id)(DOM_SID *sid, unid_t id, int id_type);
NTSTATUS (*get_id_from_sid)(unid_t *id, int *id_type, const DOM_SID *sid);