Layer: services

Module: samba

Interfaces Templates

Description:

SMB and CIFS client/server programs for UNIX

Interfaces:

samba_domtrans_net( domain )
Summary

Execute samba net in the samba_net domain.

Parameters
Parameter:Description:Optional:
domain The type of the process performing this action. No
samba_domtrans_smbmount( domain )
Summary

Execute smbmount in the smbmount domain.

Parameters
Parameter:Description:Optional:
domain The type of the process performing this action. No
samba_exec_log( domain )
Summary

Execute samba log in the caller domain.

Parameters
Parameter:Description:Optional:
domain The type of the process performing this action. No
samba_read_config( domain )
Summary

Allow the specified domain to read samba configuration files.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
samba_read_log( domain )
Summary

Allow the specified domain to read samba's log files.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
samba_read_secrets( domain )
Summary

Allow the specified domain to read samba's secrets.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
samba_run_net( domain , role , terminal )
Summary

Execute samba net in the samba_net domain, and allow the specified role the samba_net domain.

Parameters
Parameter:Description:Optional:
domain The type of the process performing this action. No
role The role to be allowed the samba_net domain. No
terminal The type of the terminal allow the samba_net domain to use. No
samba_rw_config( domain )
Summary

Allow the specified domain to read and write samba configuration files.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
samba_rw_smbmount_tcp_socket( domain )
Summary

Allow the specified domain to read and write to smbmount tcp sockets.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
samba_write_smbmount_tcp_socket( domain )
Summary

Allow the specified domain to write to smbmount tcp sockets.

Parameters
Parameter:Description:Optional:
domain Domain allowed access. No
Return

Templates:

samba_per_userdomain_template( userdomain_prefix , user_domain , user_role )
Summary

The per user domain template for the samba module.

Description

This template allows smbd to manage files in a user home directory, creating files with the correct type.

This template is invoked automatically for each user, and generally does not need to be invoked directly by policy writers.

Parameters
Parameter:Description:Optional:
userdomain_prefix The prefix of the user domain (e.g., user is the prefix for user_t). No
user_domain The type of the user domain. No
user_role The role associated with the user domain. No
Return