Re: [Nagios-devel] Reduce some code duplication
Posted: Thu Jan 13, 2011 7:56 pm
--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Jan 13, 2011 at 07:21:37PM +0100, Jochen Bern said:
> On 01/13/2011 04:52 PM, Stephen Gran wrote:
> > On Thu, Jan 13, 2011 at 02:58:01PM +0100, Andreas Ericsson said:
> >> I wonder what happens when eu-admins is both a user
> >> (from the apache view of things) as well as a contactgroup, but not a
> >> contact. That's one of the things that absolutely has to keep working,
> >> or a lot of people's setups will break.
> > I was planning to use a marker to specify that it is a group, whether %
> > like sudo or @ like many other things
>=20
> 1. Both "%" and "@" are legal separators for e-mail addresses, which are
> getting more and more popular as "usernames" for all sorts of web UI
> logins. I doubt they're safe to forcefully overload, even as
> username[0].
> 2. I don't think that there's *any* printable character which is prima
> facie illegal in Basic Auth usernames. Not even the "," (and "=3D"?)
> that cgi.cfg sets aside as its separator char(s).
> 3. Suggestion: Make the marker configurable (so that admins can work
> around odd username[0]s already in use), with setting it to '\0' or
> somesuch effectively disabling the new feature (for the rare cases
> where the user base took pride in having really *every* printable
> character covered
I tend to agree - I'm not wedded to either of % or @ (or any other
marker in particular), but was interested in keeping the footprint of
the patch small.
Cheers,
--=20
--------------------------------------------------------------------------
| Stephen Gran | A real person has two reasons for doing |
| [email protected] | anything ... a good reason and the real |
| http://www.lobefin.net/~steve | reason. |
--------------------------------------------------------------------------
--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJNL1j5AAoJELMRjO+K6o/uxasQALQvcJI9f/4+JkKRLgjJ6OaO
N+7R7q9iXzN01mP0FMNxIpqnxW/Q+DfVwLWqkI3JwC6sKTH58EzcUNz3K4X/h6NP
WXE+pHtSCt7oRStt3YSdQseYV820ZcKNjzIgPx3PfN7XzfddgMAWyiEwbVKGTL9N
Q+BDOYd4DxodMZ8dBC5LkocdkZ9NSvYV7R81umIQYrx/M3XXHy5BMtP+G9nBICG2
SiKVKEc5DcspwVZj6zCUkgVe/hANXxeW0eEIXQpLCivGFlQjLobzr4026AlxGoF8
lxQ/ONEsVoA0WpsgxdglIMS3D27+iOWxifP+zbTt2qV9CCrNWKy5KwlBgJ1HOyeX
JQozgmFICyExsAyOZiR4jU/rVjnCbi1X2K9xWDwyvTVwce+8fDYQsBuBeOvd54jb
AVXqUSWVdW/0awe7Hp493nnvGBNysYkPOI2QOZxvwP+5eE1A/cMgMJk24eSUXbbf
gDYwpnTZE5oG822NVnyxysjk63BhOB9wGCekoFXifLNJV4VikUG5oItlOuHhf3UD
zv+oo/qma8Oa5yDZ8t3M5mp0fJSrUldUQ42DTQ0O/oymLLt2pXo6kG6V8778LzwO
MzhYCGNSLyvui5h03wN77dkwqy/UVAo5KSKm+kuj3aqjXaE0Dhy0nXRfYqlshuFM
fhUiZIB7pksRJSUWjPOy
=dqmx
-----END PGP SIGNATURE-----
--HlL+5n6rz5pIUxbD--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]