~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to packaging/SGI/smb.conf

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; Configuration file for smbd.
 
2
; ============================================================================
 
3
; For the format of this file and comprehensive descriptions of all the
 
4
; configuration option, please refer to the man page for smb.conf(5).
 
5
 
 
6
; This is a sample configuration for IRIX 6.x systems
 
7
;
 
8
; The following configuration should suit most systems for basic usage and 
 
9
; initial testing. It gives all clients access to their home directories and
 
10
; /usr/tmp and allows access to all printers returned by lpstat.
 
11
;
 
12
[global]
 
13
   comment = Samba %v
 
14
   workgroup = workgroup
 
15
   printing = sysv
 
16
;
 
17
; The default for printcap name is lpstat which will export all printers.
 
18
; If you want to limit the printers that are visible to clients, you can
 
19
; use a printcap file. The script mkprintcap.sh will create a printcap
 
20
; file that contains all your printers. Edit this file to only contain the
 
21
; printers that you wish to be visible. Names longer than 15 characters
 
22
; in the printcap file will not be visible to clients.
 
23
;
 
24
;   printcap name = /usr/samba/printcap
 
25
   printcap name = lpstat
 
26
;
 
27
; If you are using Impressario 1.x then you'll want to use the
 
28
; sambalp script provided with this package.  It works around
 
29
; a problem in the PostScript generated by the standard Windows
 
30
; drivers--there is a check to verify sufficient virtual memory
 
31
; is available in the printer to print the job, but this fails
 
32
; under Impressario because of a bug in Impressario 1.x.  The sambalp
 
33
; script strips out the vmstatus check.  BTW, when using this
 
34
; setup to print be sure to configure a Windows printer driver
 
35
; that generates PostScript--QMS-PS 810 is one that should work
 
36
; with the sambalp script. This version of sambalp (if installed
 
37
; as a setuid script - see the comments at the beginning of the
 
38
; script) will setuid to the username if valid on the system. This
 
39
; makes the banner pages print the proper username. You can disable
 
40
; the PostScript fixes by changing a variable in sambalp.
 
41
;
 
42
   print command = /usr/samba/bin/sambalp %p %s %U %m
 
43
;   print command = /usr/bin/lp -c -d%p -t"%U on machine %m" %s ; rm %s
 
44
 
 
45
; clear the default lppause and lpresume commands since these are not
 
46
; supported in IRIX
 
47
   lppause command =
 
48
   lpresume command =
 
49
 
 
50
   load printers = yes
 
51
   guest account = nobody
 
52
   browseable = yes
 
53
 
 
54
; this tells Samba to use a separate log file for each machine
 
55
; that connects - default is single file named /usr/samba/var/log.smb
 
56
;   log file = /usr/samba/var/log.%m
 
57
 
 
58
;  Set a max size for log files in Kb
 
59
   max log size = 50
 
60
 
 
61
;  You will need a world readable lock directory
 
62
;  if you want to support the file sharing modes for multiple users
 
63
;  of the same files
 
64
   locking = yes
 
65
   lock directory = /usr/samba/var/locks
 
66
 
 
67
   security = user
 
68
 
 
69
;  You need to test to see if this makes a difference on your system
 
70
   socket options = TCP_NODELAY
 
71
 
 
72
;  Set the os level to > 32 if there is no NT server for your workgroup
 
73
   os level = 0
 
74
   preferred master = no
 
75
   domain master = no
 
76
   local master = no
 
77
   wins support = no
 
78
   wins server = 
 
79
 
 
80
   preserve case = yes
 
81
   short preserve case = yes
 
82
 
 
83
;  These are the settings required for IRIX password sync
 
84
   passwd program = /usr/bin/passwd %u
 
85
   passwd chat = *ew*password:* %n\n *e-enter*new*password:* %n\n
 
86
 
 
87
;  Uncomment the following if you wish to use encrypted passwords.
 
88
;   encrypt passwords = yes
 
89
 
 
90
;  Uncomment the following if you wish to sync unix and smbpasswd 
 
91
;   unix password sync = yes
 
92
 
 
93
;  Printer admin account to allow uploading printer drivers
 
94
   printer admin = lp
 
95
 
 
96
;  Sample winbindd configuration parameters - uncomment and
 
97
;  change if necessary for your desired configuration
 
98
;   winbind uid = 50000-60000
 
99
;   winbind gid = 50000-60000
 
100
;   winbind separator = +
 
101
;   winbind cache time = 10
 
102
;   password server = *
 
103
 
 
104
;  Sample add user command for automatically adding machine accounts
 
105
;   add user script = /usr/sbin/passmgmt -a -h/dev/null -g20 -s/usr/bin/false %u
 
106
 
 
107
[homes]
 
108
   comment = Home Directories
 
109
   browseable = no
 
110
   writeable = yes
 
111
 
 
112
; Share for printer drivers for automatic driver download
 
113
;
 
114
[print$]
 
115
   comment = printer driver directory
 
116
   path = /usr/samba/printer
 
117
   guest ok = yes
 
118
   browseable = yes
 
119
   read only = yes
 
120
   write list = lp
 
121
 
 
122
[printers]
 
123
   comment = All Printers
 
124
   path = /var/spool/samba
 
125
   browseable = no
 
126
   printable = yes
 
127
   guest ok = yes
 
128
   writeable = no
 
129
   create mask = 0700
 
130
 
 
131
[tmp]
 
132
  comment = Temporary file space
 
133
  path = /usr/tmp
 
134
  writeable = yes
 
135
  guest ok = yes