[PATCH] winbindd_idmap.c [Re: idmap recovery tool}

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Tue Feb 12 06:08:06 GMT 2002


Hallo Michael,
very nice work!
Don
-----Original Message-----
From: Michael Steffens [mailto:michael_steffens at hp.com]
Sent: Tuesday, February 12, 2002 7:22 AM
To: Tim Potter; Jean Francois Micouleau; MCCALL,DON (HP-USA,ex1);
samba-technical at samba.org
Subject: [PATCH] winbindd_idmap.c [Re: idmap recovery tool}


Hi again,

this patch provides the idmap logging required to recover
winbindd_idmap.tdb any time. Rather than to the state of
the last dump/backup, with all new mappings since then being
lost.

It's not entirely what I had in mind, yet. The informational
third field with the plain text NT name is missing, as this
is not directly available inside get_id_from_rid().

I didn't want to change too much at once, so let's put up
without for now...

The log file winbindd_idmap.log is presently at the same
location as winbindd_idmap.tdb. Not ideal, it should be a
configurable parameter of its own, such that an administrator
can choose to keep this log in a different filesystem for
better redundancy. But again, let's put up... :-)

Cheers!
Michael




More information about the samba-technical mailing list