Bugzilla – Bug 196
LDAP nisNetgroupTripple Syntax too strict?
Last modified: 2008-06-11 09:40:09 MDT
Sudo would not accept netgroups in ldap when a dash was present for the domainname attribute. nisNetgroupTripple: (-,user,-) We had to change this to: nisNetgroupTripple: (-,user,) For all entries. I'd like to think this shouldn't matter :)
Unless netgroups in LDAP are different from NIS I don't think this is a bug in sudo per se. A '-' in the domain portion of the netgroup will preclude sudo from matching that entry as sudo uses the machine's NIS domain, if set, when matching. I'm surprised that a '-' for the host portion of the tuple works though since I would expect that to prevent a match as well.
Not a sudo bug.