1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

idmap: remove unused function idmap_is_online()

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Aug  4 14:08:37 CEST 2017 on sn-devel-144
This commit is contained in:
Ralph Wuerthner 2017-08-01 16:40:30 +02:00 committed by Volker Lendecke
parent 977cf75166
commit 3a2a9d8d3f
3 changed files with 0 additions and 11 deletions

View File

@ -57,11 +57,6 @@ bool winbindd_use_idmap_cache(void) {
return false; return false;
} }
bool idmap_is_online(void)
{
return true;
}
static bool open_db(struct idmap_tdb_common_context *ctx) static bool open_db(struct idmap_tdb_common_context *ctx)
{ {
NTSTATUS status; NTSTATUS status;

View File

@ -304,11 +304,6 @@ bool idmap_is_offline(void)
get_global_winbindd_state_offline() ); get_global_winbindd_state_offline() );
} }
bool idmap_is_online(void)
{
return !idmap_is_offline();
}
/********************************************************************** /**********************************************************************
Allow a module to register itself as a method. Allow a module to register itself as a method.
**********************************************************************/ **********************************************************************/

View File

@ -28,7 +28,6 @@
/* The following definitions come from winbindd/idmap.c */ /* The following definitions come from winbindd/idmap.c */
bool idmap_is_offline(void); bool idmap_is_offline(void);
bool idmap_is_online(void);
NTSTATUS smb_register_idmap(int version, const char *name, NTSTATUS smb_register_idmap(int version, const char *name,
struct idmap_methods *methods); struct idmap_methods *methods);
void idmap_close(void); void idmap_close(void);