[PATCH RFC] cifs-utils: new plugin architecture for ID mapping code

Scott Lovenberg scott.lovenberg at gmail.com
Thu Dec 6 08:16:33 MST 2012


On Thu, Dec 6, 2012 at 7:37 AM, Jeff Layton <jlayton at samba.org> wrote:
> 1/ Should we switch this code to use a config file of some sort instead
> of this symlink? The symlink would probably be more efficient, but it
> is a little odd and might confuse people. It also might make it hard to
> expand the idmapping interfaces later.

Please no symlinks.  We could end up with something like alternatives
(/etc/alternatives) where you need a utility to track and change
symlinks pointing to symlinks.  I don't even know where java is on my
machine or which JVM I'm running.  Symlinks have a tendency to turn
into symlink farms.  Look at your PAM install, it's a bunch of links
to a single file on most installs.  That way lies madness and dragons.

I think most people are comfortable with config files and they're
intuitive.  Also, is anyone at any time going to be using more than
one mapping interface?

-- 
Peace and Blessings,
-Scott.


More information about the samba-technical mailing list