winbindd_idmap.tdb recovery
Tim Potter
tpot at samba.org
Wed Feb 6 14:01:09 GMT 2002
On Wed, Feb 06, 2002 at 11:06:10AM +0100, Michael Steffens wrote:
> Tim Potter wrote:
> > I can always add a --export-idmap and --import-idmap arguments to
> > be info that will do the trick.
>
> as Don already said: great idea!
>
> I think the --import-idmap functionality should be able to
> cope with the cases
>
> - re-create idmap, i.e drop existing entries.
>
> - merge into existing idmap, discard new entries in case of
> conflicts with existing ones.
>
> - merge into existing idmap, overwrite existing entries in
> case of conflicts with new ones.
These are all good points. Thanks!
> Would yo do that "online" via winbindd, or "offline" by directly
> accessing winbindd_idmap.tdb?
>
> I already thought about deriving an offline tool from tdbtool.
I was thinking of adding it to wbinfo but this program is starting to
become bloated. Maybe a 'net winbind' command in HEAD.
Tim.
More information about the samba-technical
mailing list