[Samba] Executable 'username map'
Gerald (Jerry) Carter
jerry at samba.org
Fri Jul 22 02:24:06 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeremy Allison wrote:
> On Thu, Jul 21, 2005 at 04:29:36PM +0000, François LAUPRETRE wrote:
>>What do you think about this change ? I can send a patch for it, but it is very
>>easy to implement with a call to smbrun().
>
> Hmmmm. How much demand is there for this from others ? I
> agree it would need another parameter to enable it
> (so it doesn't happen by accident).
>
> If it's really easy can you send in a patch and let's
> look at it.
I *really* don't like this. It's fine for a local hack
and probably a good solution in this case, but this will
bit rot in the tree so fast due to its very specific and
non-intuitive nature.
A better general solution that would apply to more
networks would to allow the username map to be stored
in a directory services such as NIS or LDAP.
If you want a pull based method, just have a cron job
on each server that rebuilds the file every 10 minutes.
No code changes necessary.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC4FjGIR7qMdg1EfYRAkYYAJ4h1XX/LH12vhvnoiIJctg9vLc4aACgtmp0
1by170bhv8G17mjxYygouWQ=
=0ddC
-----END PGP SIGNATURE-----
More information about the samba
mailing list