[Samba] Convert idmap_rid to idmap_hash?

Robert LeBlanc robert at leblancnet.us
Mon Oct 19 12:45:48 MDT 2009


On Mon, Oct 19, 2009 at 7:09 AM, Gerald Carter <jerry at plainjoe.org> wrote:

> Robert,
>
> Robert LeBlanc wrote:
> > I was looking through the change log of 3.3.0 and noticed that a new
> > idmap_hash was introduced that seems to play well with trusted domains.
> What
> > means are available to convert all my rids to this new hash so I can
> update
> > file permissions?
>
> You mean updating the file permissions on disk?  That would be
> a manual (but scriptable) process.  You will need to flush the
> winbind idmap cache when swapping to the new plugin in order to
> see the new uid and gid values though.
>
> How would I access the old mapping after flushing and changing to the new
mapping? Is the old mapping accessible somehow that I can use chown and
chgrp after inspecting each file and directory with all their ACLs?

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University


More information about the samba mailing list