summaryrefslogtreecommitdiffstats
path: root/source/include/idmap.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-09 16:44:47 +0000
committerGerald Carter <jerry@samba.org>2003-07-09 16:44:47 +0000
commit1111bc7b0c7165e1cdf8d90eb49f4c368d2eded6 (patch)
tree2a7b6689c049b982d8c134e9803aab50e08f7985 /source/include/idmap.h
parentf005f1cf12b839f3985ab00315da63c584ce803e (diff)
downloadsamba-1111bc7b0c7165e1cdf8d90eb49f4c368d2eded6.tar.gz
samba-1111bc7b0c7165e1cdf8d90eb49f4c368d2eded6.tar.xz
samba-1111bc7b0c7165e1cdf8d90eb49f4c368d2eded6.zip
Large set of changes to add UNIX account/group management
to winbindd. See README.idmap-and-winbind-changes for details.
Diffstat (limited to 'source/include/idmap.h')
-rw-r--r--source/include/idmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/include/idmap.h b/source/include/idmap.h
index 47f396e637f..7da3718d197 100644
--- a/source/include/idmap.h
+++ b/source/include/idmap.h
@@ -24,7 +24,7 @@
Boston, MA 02111-1307, USA.
*/
-#define SMB_IDMAP_INTERFACE_VERSION 1
+#define SMB_IDMAP_INTERFACE_VERSION 2
#define ID_EMPTY 0x00
@@ -42,6 +42,7 @@ struct idmap_methods {
/* Called when backend is first loaded */
NTSTATUS (*init)( char *params );
+ NTSTATUS (*allocate_id)(unid_t *id, int id_type);
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);
NTSTATUS (*set_mapping)(const DOM_SID *sid, unid_t id, int id_type);