YaST2 Developers Documentation: Configuration of samba-server

Configuration of samba-server

modules/dialogs-items.ycp
Widgets used by SAMBA server configuration

This module has an unstable interface.

Imports

  • FileUtils
  • Label
  • Ldap
  • LogView
  • Popup
  • Report
  • SambaBackend
  • SambaConfig
  • SambaServer
  • TablePopup
  • URL

Includes

  • samba-server/complex.ycp
  • samba-server/helps.ycp
  • samba-server/samba-options-global.ycp
  • samba-server/samba-options-local.ycp

Local Variables

Local Functions

local xx_widgets -> map

Map of widgets for CWM

local shareToEdit -> string

A share name do be editted in the Edit share dialog

local ShareEditContents (map descr) -> list

Function for getting contents of the default host table

Parameters:
descr map description map of the table
Return value:
of items for the table
local ShareEditEntryDelete (any opt_id, string opt_key) -> boolean

Delete function of the table

Parameters:
opt_id any option id of selected option
opt_key any option key of selected option
Return value:
true if was really deleted
local ShareEditPopupInit (any opt_id, string opt_key) -> void

Fallback initialization function of a table entry / popup

Parameters:
opt_id any option id
opt_key any option key
local ShareEditPopupStore (any opt_id, string opt_key) -> void

Fallback store function of a table entry / popup

Parameters:
opt_id any option id
opt_key any option key
local ShareEditSummary (any opt_id, string opt_key) -> string

Fallback summary function of a table entry / popup

Parameters:
opt_id any option id
opt_key any option key
Return value:
value of the option
local GlobalSettingsContents (map descr) -> list

Function for getting contents of the default host table

Parameters:
descr map description map of the table
Return value:
of items for the table
local GlobalSettingsEntryDelete (any opt_id, string opt_key) -> boolean

Delete function of the table

Parameters:
opt_id any option id of selected option
opt_key any option key of selected option
Return value:
true if was really deleted
local GlobalSettingsPopupInit (any opt_id, string opt_key) -> void

Fallback initialization function of a table entry / popup

Parameters:
opt_id any option id
opt_key any option key
local GlobalSettingsPopupStore (any opt_id, string opt_key) -> void

Fallback store function of a table entry / popup

Parameters:
opt_id any option id
opt_key any option key
local GlobalSettingsSummary (any opt_id, string opt_key) -> string

Fallback summary function of a table entry / popup

Parameters:
opt_id any option id
opt_key any option key
Return value:
value of the option