idmap creation/deletion tool?
Gerald (Jerry) Carter
jerry at samba.org
Fri Oct 3 12:51:00 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steven Danneman wrote:
> Does anybody know if a tool currently exists to create arbitrary idmap
> mappings. In my case I'm looking to modify only the tdb idmap backend,
> though something more generic for other backends would be fine. A few
> things I'd like to do are:
>
> * delete existing sid<->uid/gid mappings from winbindd_idmap.tdb
> * pre-create sid<->uid/gid mappings before a user connects
> * map multiple sids to a single uid/gid
>
> I know tdbtool works, but I'd like something a little more user friendly
> and specific to this task. I also know I can accomplish some of this
> with the "username map" parameter, but again I'm looking for more of an
> after-the-fact-oops-i-screwed-up-fixer tool.
>
> All I've found so far is stubs in utils/net_idmap.c:
You should be able to dump, edit, and then restore the entire tdb.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI5hUzIR7qMdg1EfYRAgjrAJwKLWqJfs0WdR++s6EngZYZ22VaOwCgi8vU
mGT9/BNeCYlxXInAnOshAPI=
=PACP
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list