trunk: fix unconditional call to nscd from usermanage run interfaces.
This commit is contained in:
parent
a27d1c6e84
commit
36627094e8
@ -101,7 +101,10 @@ interface(`usermanage_run_groupadd',`
|
||||
usermanage_domtrans_groupadd($1)
|
||||
role $2 types groupadd_t;
|
||||
allow groupadd_t $3:chr_file rw_term_perms;
|
||||
nscd_run(groupadd_t, $2, $3)
|
||||
|
||||
optional_policy(`
|
||||
nscd_run(groupadd_t, $2, $3)
|
||||
')
|
||||
')
|
||||
|
||||
########################################
|
||||
@ -207,7 +210,10 @@ interface(`usermanage_run_admin_passwd',`
|
||||
usermanage_domtrans_admin_passwd($1)
|
||||
role $2 types sysadm_passwd_t;
|
||||
allow sysadm_passwd_t $3:chr_file rw_term_perms;
|
||||
nscd_run(sysadm_passwd_t, $2, $3)
|
||||
|
||||
optional_policy(`
|
||||
nscd_run(sysadm_passwd_t, $2, $3)
|
||||
')
|
||||
')
|
||||
|
||||
########################################
|
||||
@ -260,7 +266,10 @@ interface(`usermanage_run_useradd',`
|
||||
usermanage_domtrans_useradd($1)
|
||||
role $2 types useradd_t;
|
||||
allow useradd_t $3:chr_file rw_term_perms;
|
||||
nscd_run(useradd_t, $2, $3)
|
||||
|
||||
optional_policy(`
|
||||
nscd_run(useradd_t, $2, $3)
|
||||
')
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
policy_module(usermanage,1.8.0)
|
||||
policy_module(usermanage,1.8.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user