Server IP : 85.214.239.14 / Your IP : 3.141.41.109 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/root/proc/3/task/3/root/usr/share/augeas/lenses/dist/tests/ |
Upload File : |
module Test_samba = let conf = "# # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # #======================= Global Settings ======================= [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu) # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable its WINS Server ; wins support = no # Windows clients look for this share name as a source of downloadable # printer drivers [print$] comment = All Printers browseable = no path = /tmp printable = yes public = yes writable = no create mode = 0700 printcap name = /etc/printcap print command = /usr/bin/lpr -P%p -r %s printing = cups " test Samba.lns get conf = {} { "#comment" = "Sample configuration file for the Samba suite for Debian GNU/Linux." } {} {} { "#comment" = "This is the main Samba configuration file. You should read the" } { "#comment" = "smb.conf(5) manual page in order to understand the options listed" } { "#comment" = "here. Samba has a huge number of configurable options most of which" } { "#comment" = "are not shown in this example" } {} {} { "#comment" = "======================= Global Settings =======================" } {} { "target" = "global" {} { "#comment" = "# Browsing/Identification ###" } {} { "#comment" = "Change this to the workgroup/NT-domain name your Samba server will part of" } { "workgroup" = "WORKGROUP" } {} { "#comment" = "server string is the equivalent of the NT Description field" } { "server string" = "%h server (Samba, Ubuntu)" } {} { "#comment" = "Windows Internet Name Serving Support Section:" } { "#comment" = "WINS Support - Tells the NMBD component of Samba to enable its WINS Server" } { "#comment" = "wins support = no" } {} { "#comment" = "Windows clients look for this share name as a source of downloadable" } { "#comment" = "printer drivers" } } { "target" = "print$" { "comment" = "All Printers" } { "browseable" = "no" } { "path" = "/tmp" } { "printable" = "yes" } { "public" = "yes" } { "writable" = "no" } { "create mode" = "0700" } { "printcap name" = "/etc/printcap" } { "print command" = "/usr/bin/lpr -P%p -r %s" } { "printing" = "cups" } } test Samba.lns get "[test]\ncrazy:entry = foo\n" = { "target" = "test" {"crazy:entry" = "foo"}} (* Test complex idmap commands with asterisk in key name, ticket #354 *) test Samba.lns get "[test] idmap backend = tdb idmap uid = 1000000-1999999 idmap gid = 1000000-1999999 idmap config CORP : backend = ad idmap config * : range = 1000-999999\n" = { "target" = "test" { "idmap backend" = "tdb" } { "idmap uid" = "1000000-1999999" } { "idmap gid" = "1000000-1999999" } { } { "idmap config CORP : backend" = "ad" } { "idmap config * : range" = "1000-999999" } }