~veger/ubuntu/precise/samba/fix-for-902339

« back to all changes in this revision

Viewing changes to .pc/documentation.patch/examples/tridge/smb.conf

  • Committer: Maarten Bezemer
  • Date: 2012-02-18 15:37:00 UTC
  • Revision ID: maarten.bezemer@gmail.com-20120218153700-9wp2t5vpwks7pn4g
Removed references to testprns command from documentation (LP: #902339)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[global]   
 
2
   config file = /usr/local/samba/smb.conf.%m
 
3
   status = yes
 
4
   security = user
 
5
   encrypt passwords = yes
 
6
   server string = Tridge (%v,%h)
 
7
   load printers = yes
 
8
   log level = 1
 
9
   log file = /usr/local/samba/var/log.%m
 
10
   guest account = pcguest
 
11
   hosts allow = 192.0.2. localhost 
 
12
   password level = 2
 
13
   auto services = tridge susan
 
14
   message command = csh -c '/usr/bin/X11/xedit -display :0 %s;rm %s' &
 
15
   read prediction = yes
 
16
   socket options = TCP_NODELAY 
 
17
   valid chars = �:� �:� �:� 
 
18
   share modes = yes
 
19
   locking = yes
 
20
   strict locking = yes
 
21
   keepalive = 30
 
22
   include = /usr/local/samba/lib/smb.conf.%m
 
23
   include = /usr/local/samba/lib/smb.conf.%a
 
24
 
 
25
 
 
26
[uniprint]
 
27
   comment = University Printing
 
28
   path = /home/susan/print
 
29
   user = susan
 
30
   postscript = yes
 
31
   print ok = yes
 
32
   print command = xmenu -heading "%s" OK&
 
33
 
 
34
[testprn]
 
35
   comment = Test printer
 
36
   path = /tmp
 
37
   user = susan
 
38
   print ok = yes
 
39
   print command = cp %s /tmp/smb.%U.prn
 
40
   lpq command = cat /tmp/xxyz
 
41
 
 
42
[amd]
 
43
   comment = amd area
 
44
   path = /mount
 
45
   force user = tridge
 
46
   read only = no
 
47
 
 
48
[homes]
 
49
   browseable = no
 
50
   guest ok = no
 
51
   read only = no
 
52
   create mask = 0755
 
53
 
 
54
[printers]
 
55
  browseable = no
 
56
  comment = Printer in Printcap
 
57
  guest ok = no
 
58
  path = /tmp
 
59
  read only = no
 
60
  print ok = yes
 
61
 
 
62
[dos]
 
63
  browseable = yes
 
64
  comment = Dos Files
 
65
  force group = samba
 
66
  create mode = 0775
 
67
  path = /home/tridge/dos
 
68
  copy = homes
 
69
 
 
70
[msoffice]
 
71
  browseable = yes
 
72
  comment = Microsoft Office
 
73
  force group = samba
 
74
  create mode = 0775
 
75
  path = /data/msoffice
 
76
  read only = yes
 
77
 
 
78
[root]
 
79
  comment = Root Dir
 
80
  copy = dos
 
81
  path = /
 
82
  dont descend = /proc ./proc /etc
 
83
 
 
84
[tmp]
 
85
  comment = tmp files
 
86
  copy = dos
 
87
  path = /tmp
 
88
  read only = no
 
89
 
 
90
 
 
91
[cdrom]
 
92
  comment = Tridge's CdRom
 
93
  path = /mount/cdrom
 
94
  read only = yes
 
95
  locking = no
 
96
 
 
97
[data]
 
98
        comment = Data Partition
 
99
        path = /data
 
100
        read only = yes
 
101
        guest ok = yes