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).
6 ; This is a sample configuration for IRIX 6.x systems
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.
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.
24 ; printcap name = /usr/samba/printcap
25 printcap name = lpstat
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.
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
46 guest account = nobody
49 ; this tells Samba to use a separate log file for each machine
50 ; that connects - default is single file named /usr/samba/var/log.smb
51 ; log file = /usr/samba/var/log.%m
53 ; Set a max size for log files in Kb
56 ; You will need a world readable lock directory and "share modes=yes"
57 ; if you want to support the file sharing modes for multiple users
60 lock directory = /usr/samba/var/locks
65 ; You need to test to see if this makes a difference on your system
66 socket options = TCP_NODELAY
68 ; Set the os level to > 32 if there is no NT server for your workgroup
77 short preserve case = yes
79 ; These are the settings required for IRIX password sync
80 passwd program = /usr/bin/passwd %u
81 passwd chat = *ew*password:* %n\n *e-enter*new*password:* %n\n
83 ; Uncomment the following if you wish to use encrypted passwords.
84 ; encrypt passwords = yes
86 ; Uncomment the following if you wish to sync unix and smbpasswd
87 ; unix password sync = yes
90 comment = Home Directories
94 ; To allow Win95 clients to automatically load printer drivers, uncomment
95 ; the following section (and the lines in the printers section below).
96 ; Run the make_printerdef command to create the /usr/samba/lib/printers.def
97 ; file (see the PRINTER_DRIVER.txt file in the docs directory for info).
98 ; Copy all the required files to the /usr/samba/printer directory
101 ; comment = printer driver directory
102 ; path=/usr/samba/printer
108 comment = All Printers
116 ; this specifies the location of the share containing the printer driver
117 ; files - see the printer$ section above
119 ; printer driver location = \\%h\printer$
121 ; the following line will make all printers default to the QMS-PS 810 Turbo
122 ; driver - which works quite well for Impressario. If you need a diferent
123 ; driver for a specific printer, create a section for that printer and
124 ; specify the correct printer driver.
126 ; printer driver = QMS-PS 810 Turbo
130 comment = Temporary file space