Since windbind plug-ins are on the 3.0 roadmap, wouldn't it make sense to do this via the plug-in architecture? I have a start on it at http://www.cae.wisc.edu/~gerdts/samba/. Take a look at idmap-file-0.0.4.tar.gz.
Andrew made some comments about it back in May or June that I just haven't found the time to finish up yet. I had some other thoughts for a slight rearrangement of the plug-in entry points. Mike On Fri, 2002-10-04 at 12:22, Gerald Carter wrote: > On Thu, 3 Oct 2002, Josh Durham wrote: > > > I hacked winbindd to use 'flat files', such as /etc/passwd and > > /etc/group. When winbindd gets a request to map a sid to an uid, it > > will now check to see if that account already exists in a flat file. > > If it does, it will map the preexisting UID to the SID. It does the > > check by seeing if the Windows (user|group)name exists in the > > (passwd|group) file. If it doesn't find the account, it will do the > > normal dynamic allocation as before. > > Thanks Josh. This sounds interesting. I'll look at it once I get > finish my work this weekend. > > > > > cheers, jerry > --------------------------------------------------------------------- > Hewlett-Packard http://www.hp.com > SAMBA Team http://www.samba.org > -- http://www.plainjoe.org > "SAMS Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 > --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
