add swat to build package
[kai/samba.git] / packaging / SGI / smb.conf
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 ; Use lpstat to get names of all printers attached to your system.
18 ;
19    printcap name = lpstat
20 ;
21 ; If you are using Impressario 1.x then you'll want to use the
22 ; sambalp script provided with this package.  It works around
23 ; a problem in the PostScript generated by the standard Windows
24 ; drivers--there is a check to verify sufficient virtual memory
25 ; is available in the printer to print the job, but this fails
26 ; under Impressario because of a bug in Impressario 1.x.  The sambalp
27 ; script strips out the vmstatus check.  BTW, when using this
28 ; setup to print be sure to configure a Windows printer driver
29 ; that generates PostScript--QMS-PS 810 is one that should work
30 ; with the sambalp script. This version of sambalp (if installed
31 ; as a setuid script - see the comments at the beginning of the
32 ; script) will setuid to the username if valid on the system. This
33 ; makes the banner pages print the proper username. You can disable
34 ; the PostScript fixes by changing a variable in sambalp.
35 ;
36    print command = /usr/samba/bin/sambalp %p %s %U %m
37 ;   print command = /usr/bin/lp -c -d%p -t"%U on machine %m" %s ; rm %s
38
39    load printers = yes
40    guest account = nobody
41    browseable = yes
42
43 ; this tells Samba to use a separate log file for each machine
44 ; that connects - default is single file named /usr/samba/var/log.smb
45 ;   log file = /usr/samba/var/log.%m
46
47 ;  Set a max size for log files in Kb
48    max log size = 50
49
50 ;  You will need a world readable lock directory and "share modes=yes"
51 ;  if you want to support the file sharing modes for multiple users
52 ;  of the same files
53    locking = yes
54    lock directory = /usr/samba/var/locks
55    share modes = yes
56
57 ;   security = user
58
59 ;  You need to test to see if this makes a difference on your system
60    socket options = TCP_NODELAY
61
62 ;  Set the os level to > 32 if there is no NT server for your workgroup
63    os level = 0
64    preferred master = no
65    domain master = no
66    local master = no
67    wins support = no
68    wins server = 
69
70    preserve case = yes
71    short preserve case = yes
72
73 [homes]
74    comment = Home Directories
75    browseable = no
76    writable = yes
77
78 ; To allow Win95 clients to automatically load printer drivers, uncomment
79 ; the following section (and the lines in the printers section below).
80 ; Run the make_printerdef command to create the /usr/samba/lib/printers.def
81 ; file (see the PRINTER_DRIVER.txt file in the docs directory for info).
82 ; Copy all the required files to the /usr/samba/printer directory
83 ;
84 ;[printer$]
85 ;   comment = printer driver directory
86 ;   path=/usr/samba/printer
87 ;   public=yes
88 ;   writable=no
89 ;   browseable=yes
90
91 [printers]
92    comment = All Printers
93    path = /usr/tmp
94    browseable = no
95    printable = yes
96    public = yes
97    writable = no
98    create mask = 0700
99 ;
100 ; this specifies the location of the share containing the printer driver
101 ; files - see the printer$ section above
102 ;
103 ;   printer driver location = \\%h\printer$
104 ;
105 ; the following line will make all printers default to the QMS-PS 810 Turbo
106 ; driver - which works quite well for Impressario. If you need a diferent
107 ; driver for a specific printer, create a section for that printer and
108 ; specify the correct printer driver.
109 ;
110 ;   printer driver = QMS-PS 810 Turbo
111
112
113 [tmp]
114   comment = Temporary file space
115   path = /usr/tmp
116   read only = no
117   public = yes