Re: Supporting sudoUser:!foo in sudo.ldap

Simon Lees <[email protected]> Tue, 18 Jan 2022 22:31:54 +1030
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============8864663203268427831==
Content-Language: en-US
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------Ce2maRgnMmhTRIb43NgwZU0u"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------Ce2maRgnMmhTRIb43NgwZU0u
Content-Type: multipart/mixed; boundary="------------rl4YJTz9LqXR5J1dCgDpQ3lw";
 protected-headers="v1"
From: Simon Lees <[email protected]>
To: "Todd C. Miller" <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Subject: Re: [sudo-workers] Supporting sudoUser:!foo in sudo.ldap
References: <[email protected]>
 <[email protected]> <[email protected]>
 <[email protected]> <[email protected]>
In-Reply-To: <[email protected]>

--------------rl4YJTz9LqXR5J1dCgDpQ3lw
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



On 1/18/22 12:49, Todd C. Miller wrote:
> On Mon, 17 Jan 2022 12:00:07 +1030, Simon Lees wrote:
>=20
>> Now I'm back from Summer Holidays here is round 2 that implements the
>> same Idea for everything.
>>
>> Given the patch is larger i'm happy to upload it somewhere else if tha=
t
>> works better.
>=20
> I had to make a few changes but the following works for me in limited
> testing.  I got rid of the magic numbers to make it easier to match
> the length checks to the string concatenation and reorderd a few
> things.
>=20

Thankyou for that, I'm now in the process of sending it off to our
customer for further testing. I also agree not having magic numbers is a
much better solution, but I used it because it was already there, so
glad to see that change.

Cheers

--=20
Simon Lees (Simotek)                            http://simotek.net

Emergency Update Team                           keybase.io/simotek
SUSE Linux                           Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

--------------rl4YJTz9LqXR5J1dCgDpQ3lw--

--------------Ce2maRgnMmhTRIb43NgwZU0u
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEED0hBIYMo9ADHKtZgEdQumr4Y/JEFAmHmrDIFAwAAAAAACgkQEdQumr4Y/JEi
twgAjgZOdX79qJnW9j01KvBIc7MXnXt1Jh87qjo8y8hgOkCUq09lVS6pXKjBtS9ohMauSMum/guD
SqlzGIHwbnbk/CyUHuvpYZ79DNFV0KAtEVM8FbsJ/XQxGFF+3aDVN6Oc91FVindvaBP0klzyA/VG
F+ComWLN1a4WzIptcVmSMwLA1/qyGezWp0ntGoQW1SrcQpdZUtFhwR8MVw0iftLLXmTP+gWUSGKf
FxEEdaQ7EUp3i8+Fy+mpZ5+ZLHc9PyLM/drTsar9gYtT9KX2skEASVf0APGDfSwT0rTRugRoiuan
Yu97ewzaq9DG3uSmgVEl7jPmIF+VFEA8CitYs98qxg==
=pRzC
-----END PGP SIGNATURE-----

--------------Ce2maRgnMmhTRIb43NgwZU0u--

--===============8864663203268427831==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers

--===============8864663203268427831==--