trunk: fix unconditional call to nscd from usermanage run interfaces.

This commit is contained in:
Chris PeBenito 2007-10-15 18:16:00 +00:00
parent a27d1c6e84
commit 36627094e8
2 changed files with 13 additions and 4 deletions

View File

@ -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;
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;
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;
optional_policy(`
nscd_run(useradd_t, $2, $3)
')
')
########################################

View File

@ -1,5 +1,5 @@
policy_module(usermanage,1.8.0)
policy_module(usermanage,1.8.1)
########################################
#