diff options
author | Gerald Carter <jerry@samba.org> | 2007-04-21 21:39:05 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2007-04-21 21:39:05 +0000 |
commit | e47d17e7e29a3818e0f4c7e86ff657dfa06511c0 (patch) | |
tree | d3441eebe19cb2a752b0dd4583518864b0032701 /source/nsswitch/idmap.c | |
parent | ab7aea8ef10438423222964c1aaa1b96f24d4b27 (diff) | |
download | samba-e47d17e7e29a3818e0f4c7e86ff657dfa06511c0.tar.gz samba-e47d17e7e29a3818e0f4c7e86ff657dfa06511c0.tar.xz samba-e47d17e7e29a3818e0f4c7e86ff657dfa06511c0.zip |
r22431: compiler cleanup fixes for the idmap changes that were not checked in fotr some reason
Diffstat (limited to 'source/nsswitch/idmap.c')
-rw-r--r-- | source/nsswitch/idmap.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/source/nsswitch/idmap.c b/source/nsswitch/idmap.c index 616fce5c44e..530e03089d0 100644 --- a/source/nsswitch/idmap.c +++ b/source/nsswitch/idmap.c @@ -91,24 +91,6 @@ static struct idmap_alloc_methods *get_alloc_methods(struct idmap_alloc_backend return NULL; } -/* part of a quick hack to avoid loops, need to be sorted out correctly later on */ -static BOOL idmap_in_own_child; - -static BOOL idmap_is_in_own_child(void) -{ - return idmap_in_own_child; -} - -void reset_idmap_in_own_child(void) -{ - idmap_in_own_child = False; -} - -void set_idmap_in_own_child(void) -{ - idmap_in_own_child = True; -} - BOOL idmap_is_offline(void) { return ( lp_winbind_offline_logon() && @@ -855,9 +837,6 @@ static NTSTATUS idmap_new_mapping(TALLOC_CTX *ctx, struct id_map *map) { NTSTATUS ret; struct idmap_domain *dom; - char *domname, *name; - enum lsa_SidType sid_type; - BOOL wbret; /* If we are offline we cannot lookup SIDs, deny mapping */ if (idmap_is_offline()) { @@ -1415,6 +1394,8 @@ void idmap_dump_maps(char *logfile) (unsigned long)maps[i].xid.id, sid_string_static(maps[i].sid)); break; + case ID_TYPE_NOT_SPECIFIED: + break; } } |