summaryrefslogtreecommitdiff
path: root/packaging/SGI/smb.conf
blob: 03f2a4c9f81c07ef070f83a82633219ae55c0b60 (plain)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
; Configuration file for smbd.
; ============================================================================
; For the format of this file and comprehensive descriptions of all the
; configuration option, please refer to the man page for smb.conf(5).

; This is a sample configuration for IRIX 6.x systems
;
; The following configuration should suit most systems for basic usage and 
; initial testing. It gives all clients access to their home directories and
; /usr/tmp and allows access to all printers returned by lpstat.
;
[global]
   comment = Samba %v
   workgroup = workgroup
   printing = sysv
;
; The default for printcap name is lpstat which will export all printers.
; If you want to limit the printers that are visible to clients, you can
; use a printcap file. The script mkprintcap.sh will create a printcap
; file that contains all your printers. Edit this file to only contain the
; printers that you wish to be visible. Names longer than 15 characters
; in the printcap file will not be visible to clients.
;
;   printcap name = /usr/samba/printcap
   printcap name = lpstat
;
; If you are using Impressario 1.x then you'll want to use the
; sambalp script provided with this package.  It works around
; a problem in the PostScript generated by the standard Windows
; drivers--there is a check to verify sufficient virtual memory
; is available in the printer to print the job, but this fails
; under Impressario because of a bug in Impressario 1.x.  The sambalp
; script strips out the vmstatus check.  BTW, when using this
; setup to print be sure to configure a Windows printer driver
; that generates PostScript--QMS-PS 810 is one that should work
; with the sambalp script. This version of sambalp (if installed
; as a setuid script - see the comments at the beginning of the
; script) will setuid to the username if valid on the system. This
; makes the banner pages print the proper username. You can disable
; the PostScript fixes by changing a variable in sambalp.
;
   print command = /usr/samba/bin/sambalp %p %s %U %m
;   print command = /usr/bin/lp -c -d%p -t"%U on machine %m" %s ; rm %s

; clear the default lppause and lpresume commands since these are not
; supported in IRIX
   lppause command =
   lpresume command =

   load printers = yes
   guest account = nobody
   browseable = yes

; this tells Samba to use a separate log file for each machine
; that connects - default is single file named /usr/samba/var/log.smb
;   log file = /usr/samba/var/log.%m

;  Set a max size for log files in Kb
   max log size = 50

;  You will need a world readable lock directory
;  if you want to support the file sharing modes for multiple users
;  of the same files
   locking = yes
   lock directory = /usr/samba/var/locks

   security = user

;  You need to test to see if this makes a difference on your system
   socket options = TCP_NODELAY

;  Set the os level to > 32 if there is no NT server for your workgroup
   os level = 0
   preferred master = no
   domain master = no
   local master = no
   wins support = no
   wins server = 

   preserve case = yes
   short preserve case = yes

;  These are the settings required for IRIX password sync
   passwd program = /usr/bin/passwd %u
   passwd chat = *ew*password:* %n\n *e-enter*new*password:* %n\n

;  Uncomment the following if you wish to use encrypted passwords.
;   encrypt passwords = yes

;  Uncomment the following if you wish to sync unix and smbpasswd 
;   unix password sync = yes

;  Printer admin account to allow uploading printer drivers
   printer admin = lp

;  Sample winbindd configuration parameters - uncomment and
;  change if necessary for your desired configuration
;   winbind uid = 50000-60000
;   winbind gid = 50000-60000
;   winbind separator = +
;   winbind cache time = 10
;   password server = *

;  Sample add user command for automatically adding machine accounts
;   add user script = /usr/sbin/passmgmt -a -h/dev/null -g20 -s/usr/bin/false %u

[homes]
   comment = Home Directories
   browseable = no
   writeable = yes

; Share for printer drivers for automatic driver download
;
[print$]
   comment = printer driver directory
   path = /usr/samba/printer
   guest ok = yes
   browseable = yes
   read only = yes
   write list = lp

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   printable = yes
   guest ok = yes
   writeable = no
   create mask = 0700

[tmp]
  comment = Temporary file space
  path = /usr/tmp
  writeable = yes
  guest ok = yes