-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 François Laupretre wrote:
> I am sorry but I don't have a patch and, as I am on > holiday out of home from tomorrow, I won't work on it > before mid-august. And I don't know very well the Samba > coding practice concerning portability. But, if it > is not done when I'm back, I send you a patch. I think I can work this up today before 3.0.20rc1. > Basically, I would run the command via smbrun(), connected > to a pipe(), with anything from stderr going to the smbd log. > The first line of stdout would contain the result. An empty > stdout would mean that the username cannot be mapped (like > for autofs executable maps). That's exactly what I was thinking. A good sign that its an intuitive solution. > We also have two choices for the 'username map' > parameter when 'username map script' is set : either it > is ignored, or it is parsed after the script, but only > if the script didn't return anything. Up to you. I think the script overrides the map. The two options should be mutually exclusive. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC4QIZIR7qMdg1EfYRAumtAJ9uMpOGkbG+qsMb48Dnclj+QEfgQQCgzlzW tfrDa3TeJ1Og35KR/rREwlI= =avmK -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba