winbindd_idmap.tdb recovery

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Wed Feb 6 14:05:03 GMT 2002


Hi Tim,
It sure would be nice to have this functionality in the 2.2 branch as 
well - whatever you do, can you try to do it in a manner that would 
allow porting back to the 2.2 branch?
Thanks,
Don

-----Original Message-----
From: Tim Potter [mailto:tpot at samba.org]
Sent: Wednesday, February 06, 2002 5:01 PM
To: Michael Steffens
Cc: MCCALL,DON (HP-USA,ex1); samba-technical at samba.org
Subject: Re: winbindd_idmap.tdb recovery


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