Module samba

Samba File Server.

require("module/samba")

samba.hostname = 'FILESERVER'
samba:Share{name='test', path='/mnt/test', browseable=true}

Functions

Share (share) Add a new share.

Tables

samba Samba Configuration.
share Samba File Share.


Functions

Share (share) line 27
Add a new share.

Parameters:

  • share

Returns:

    share

See also:

Usage:

    local FileStore = samba:Share{name='test', path='/mnt/test', browseable=true}

Tables

samba line 9
Samba Configuration.

Fields:

  • workgroup Workgroup.
  • hostname Server Name.
share line 22
Samba File Share.

Fields:

  • name string Name of share.
  • path string Path to share.
  • description string Description of share. (optional)
  • browseable boolean List share in browse requests. (optional)
  • readonly boolean Set share as read-only. (optional)
generated by LDoc 1.4.6 Last updated 2019-03-17 07:38:48