[PATCH] Added ability to remove id mappings in wbinfo and libwbclient.
commita30a228af76aab4e6d4550fd52a47a41f9363483
authorSteven Danneman <steven.danneman@isilon.com>
Tue, 28 Oct 2008 06:37:55 +0000 (27 23:37 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 19 Nov 2008 08:31:25 +0000 (19 09:31 +0100)
treeedcdc441d041b65d6817b0aeebfae51c254db685
parent9336c8193e4b56136d0c188ec999f2e322f30f77
[PATCH] Added ability to remove id mappings in wbinfo and libwbclient.

The idmap_tdb backend already provides an interface to remove existing id
mappings.  This commit plumbs that ability up through, winbindd, libwbclient,
and wbinfo.

Added new winbindd command:
        WINBINDD_REMOVE_MAPPING
Added new libwbclient interfaces:
        wbcRemoveUidMapping() and wbcRemoveGidMapping()
Added new wbinfo options:
        --remove-uid-mapping
        --remove-gid-mapping

Increased libwbclient version to 0.2
Increased winbind interface version to 20
(cherry picked from commit 2ebab00716509617f1980beacee09c85b6b13b91)
source/include/proto.h
source/nsswitch/libwbclient/wbc_idmap.c
source/nsswitch/libwbclient/wbclient.h
source/nsswitch/wbinfo.c
source/nsswitch/winbind_struct_protocol.h
source/winbindd/idmap.c
source/winbindd/idmap_tdb.c
source/winbindd/winbindd.c
source/winbindd/winbindd_idmap.c
source/winbindd/winbindd_proto.h
source/winbindd/winbindd_sid.c