/usr/share/augeas/lenses/dist/tests/test_samba.aug is in augeas-lenses 0.10.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | 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" }
{ "#comment" = "Sample configuration file for the Samba suite for Debian GNU/Linux." }
{ "#comment" }
{ "#comment" }
{ "#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" }
{}
{ "#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"}}
|