Bug 1013

Summary: sudo-ldap patch to dereference aliases
Product: Sudo Reporter: Marc Haber <mh+sudo-bugzilla>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.9.8   
Hardware: PC   
OS: Linux   
Attachments: gzipped patch fixing the issue

Description Marc Haber 2021-12-11 01:02:49 MST
Hi,

this is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631268, where a Debian user reported years ago that sudo 1.7.4 does not dereference aliases any more in LDAP.

This is a tested patch from Dennis Filder for sudo 1.9.8 which fixes this issue. Please review and consider applying.

Greetings
Marc
Comment 1 Marc Haber 2021-12-11 01:03:56 MST
Created attachment 560 [details]
gzipped patch fixing the issue
Comment 2 Todd C. Miller 2021-12-11 08:57:25 MST
I made some minor changes and committed this as:
https://www.sudo.ws/repos/sudo/rev/5f5bdf9010d7

It will be in the next sudo 1.9.9 beta.
Comment 3 Todd C. Miller 2022-01-27 19:49:06 MST
The changes are present in the 1.9.9 release.