idmap creation/deletion tool?

Gerald (Jerry) Carter jerry at samba.org
Fri Oct 3 18:47:22 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steven Danneman wrote:
>>> Yeah, the problem with that approach is the race condition on a live
>>> system.  I'm happy to write a tool, probably fill in the net idmap
>>> stubs, I just didn't want to duplicate work.
>> No duplication that I'm aware of.  Charge ahead.  Thanks.
>>
> 
> Actually, it looks like this may have already been provisioned for in a
> generic way via winbindd with WINBINDD_SET_MAPPING.  It allows you to
> create/change mappings, and is plumbed through to libwbclient, but not
> yet to wbinfo.
> 
> idmap_tdb_remove_mapping() is also implemented, but has no corresponding
> winbindd dispatch function. 
> 
> Filing out these features on the wbinfo -> winbindd path seems like the
> cleaner approach, though I'd also like it to handle many-to-one
> sid-to-id mappings which is a little tricky.

Agreed.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI5mi6IR7qMdg1EfYRAtYCAKDkRiy5EWv2LQjPL8AnX9ZkYah6AQCgv0WK
05IKBrjXx3M6oqksYo504y0=
=y2Zr
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list