aports/main/sudo/domain.patch
2014-01-23 10:23:17 +00:00

13 lines
323 B
Diff

--- ./plugins/sudoers/match.c.orig
+++ ./plugins/sudoers/match.c
@@ -933,8 +933,8 @@
bool
netgr_matches(const char *netgr, const char *lhost, const char *shost, const char *user)
{
+ static char *domain = NULL;
#ifdef HAVE_INNETGR
- static char *domain;
static int initialized;
#endif
bool rc = false;