diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-24 12:52:00 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-12-26 12:26:06 +0100 |
commit | 03617df24d14f928d445018038ba222cd75ca63e (patch) | |
tree | bb9d2c4dcc0c18584ce29df245bf37c40a924de0 /source3/winbindd/winbindd_util.c | |
parent | b911a7b2d4b3c679487a72aa12e9c63546c9235a (diff) | |
download | samba-03617df24d14f928d445018038ba222cd75ca63e.tar.gz samba-03617df24d14f928d445018038ba222cd75ca63e.tar.bz2 samba-03617df24d14f928d445018038ba222cd75ca63e.zip |
s3: winbindd_cli_state->getgrent_state is no longer used
Diffstat (limited to 'source3/winbindd/winbindd_util.c')
-rw-r--r-- | source3/winbindd/winbindd_util.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index c92e11aba3..8c21ed6610 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -868,29 +868,6 @@ struct winbindd_domain *find_lookup_domain_from_name(const char *domain_name) return find_our_domain(); } -/* Free state information held for {set,get,end}{pw,gr}ent() functions */ - -void free_getent_state(struct getent_state *state) -{ - struct getent_state *temp; - - /* Iterate over state list */ - - temp = state; - - while(temp != NULL) { - struct getent_state *next = temp->next; - - /* Free sam entries then list entry */ - - SAFE_FREE(state->sam_entries); - DLIST_REMOVE(state, state); - - SAFE_FREE(temp); - temp = next; - } -} - /* Is this a domain which we may assume no DOMAIN\ prefix? */ static bool assume_domain(const char *domain) |