summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-23 11:44:14 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-23 11:44:14 +0000
commitda7c72736af95b0bb53ad45a1b7ce157ebb04d04 (patch)
treebcc255f5e618590592e9efa323c7ab7752c440b3 /source3/groupdb
parent933b4d0d1b5a6521fea2ccad1e0ff5cad82737db (diff)
downloadsamba-da7c72736af95b0bb53ad45a1b7ce157ebb04d04.tar.gz
samba-da7c72736af95b0bb53ad45a1b7ce157ebb04d04.tar.bz2
samba-da7c72736af95b0bb53ad45a1b7ce157ebb04d04.zip
The group mapping functions are not called
directly anymore, but instead through the passdb interface. So we can make them static. Volker (This used to be commit a91af4bea8e761a812f5c70fdc7c7cd15366b412)
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index 02fc23418f..61c0dfb4b8 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -249,7 +249,7 @@ static BOOL init_group_mapping(void)
/****************************************************************************
****************************************************************************/
-BOOL add_mapping_entry(GROUP_MAP *map, int flag)
+static BOOL add_mapping_entry(GROUP_MAP *map, int flag)
{
TDB_DATA kbuf, dbuf;
pstring key, buf;
@@ -505,7 +505,7 @@ BOOL remove_privilege(PRIVILEGE_SET *priv_set, LUID_ATTR set)
Return the sid and the type of the unix group.
****************************************************************************/
-BOOL get_group_map_from_sid(DOM_SID sid, GROUP_MAP *map, BOOL with_priv)
+static BOOL get_group_map_from_sid(DOM_SID sid, GROUP_MAP *map, BOOL with_priv)
{
TDB_DATA kbuf, dbuf;
pstring key;
@@ -569,7 +569,7 @@ BOOL get_group_map_from_sid(DOM_SID sid, GROUP_MAP *map, BOOL with_priv)
Return the sid and the type of the unix group.
****************************************************************************/
-BOOL get_group_map_from_gid(gid_t gid, GROUP_MAP *map, BOOL with_priv)
+static BOOL get_group_map_from_gid(gid_t gid, GROUP_MAP *map, BOOL with_priv)
{
TDB_DATA kbuf, dbuf, newkey;
fstring string_sid;
@@ -634,7 +634,7 @@ BOOL get_group_map_from_gid(gid_t gid, GROUP_MAP *map, BOOL with_priv)
Return the sid and the type of the unix group.
****************************************************************************/
-BOOL get_group_map_from_ntname(char *name, GROUP_MAP *map, BOOL with_priv)
+static BOOL get_group_map_from_ntname(char *name, GROUP_MAP *map, BOOL with_priv)
{
TDB_DATA kbuf, dbuf, newkey;
fstring string_sid;
@@ -701,7 +701,7 @@ BOOL get_group_map_from_ntname(char *name, GROUP_MAP *map, BOOL with_priv)
Remove a group mapping entry.
****************************************************************************/
-BOOL group_map_remove(DOM_SID sid)
+static BOOL group_map_remove(DOM_SID sid)
{
TDB_DATA kbuf, dbuf;
pstring key;
@@ -736,7 +736,7 @@ BOOL group_map_remove(DOM_SID sid)
Enumerate the group mapping.
****************************************************************************/
-BOOL enum_group_mapping(enum SID_NAME_USE sid_name_use, GROUP_MAP **rmap,
+static BOOL enum_group_mapping(enum SID_NAME_USE sid_name_use, GROUP_MAP **rmap,
int *num_entries, BOOL unix_only, BOOL with_priv)
{
TDB_DATA kbuf, dbuf, newkey;