第 6 章 SAMBA の設定 77 access に 0. Then alter the "printcap ニ entry t0 point し 0 the new file. If using S01aris, the following command will generate a suitable printcap file: lpc status ー grep sed s/ : / / > myprintcap Make sure the "print command" entry is correct for your system. This comand should submit a file (represented by (s) し 0 a printer (represented by (p) for printing and should REMOVE the file after printing. One most systems the default will be OK ′ as long as you get "printing ニ right. 工 t is alSO a good idea tO use an absolute path in the print comand as there is no guarantee the search path will be set correctly. Make sure the "printing possible values are ” SYSV" op 巨 on is set correctly for your system. ー 4 : Make sure the "lpq command" entry is correct for your system. The default may no に work for you. : 5 : Make sure that the user specified in "guest account" exists . Typica11y this will be a user that cannot 10g in and has minimal privileges. 0ften the "nobody" account doesn' t work (very system dependant) . ー 6 : You should consider the "security option. See a full description in the main documentation and the s 曲 . conf ( 5 ) manual page LOOk at the "hosts a110W ” op に io 珥 unless you want everyone on the internet ー 7 : : 3 : ー 2 : tO be able し 0 access your files. guest account ニ pcguest load printers printcap name printing ニ bsd [global] ニ yes /etc/printcap This next option sets a separate 10g file for each client. it if you want a combined 10g file. 10g file ニ /usr/local/samba/log. 新 Remove (smb. conf リスト続く )