Merged in LDAP Support
This commit is contained in:
@@ -251,6 +251,10 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
"env_keep", T_LIST|T_BOOL,
|
||||
"Environment variables to preserve:",
|
||||
NULL,
|
||||
}, {
|
||||
"ignore_local_sudoers", T_FLAG,
|
||||
"If LDAP directory is up, do we ignore local sudoers file",
|
||||
NULL,
|
||||
}, {
|
||||
NULL, 0, NULL
|
||||
}
|
||||
|
@@ -112,6 +112,8 @@
|
||||
#define I_ENV_DELETE 55
|
||||
#define def_env_keep (sudo_defs_table[56].sd_un.list)
|
||||
#define I_ENV_KEEP 56
|
||||
#define def_ignore_local_sudoers (sudo_defs_table[57].sd_un.flag)
|
||||
#define I_IGNORE_LOCAL_SUDOERS 57
|
||||
|
||||
enum def_tupple {
|
||||
never,
|
||||
|
@@ -182,3 +182,6 @@ env_delete
|
||||
env_keep
|
||||
T_LIST|T_BOOL
|
||||
"Environment variables to preserve:"
|
||||
ignore_local_sudoers
|
||||
T_FLAG
|
||||
"If LDAP directory is up, do we ignore local sudoers file"
|
||||
|
Reference in New Issue
Block a user