Date: Tue, 14 Mar 2000 15:30:19 +0200 From: Zagursky <zagursky@edi.lv> To: samba-bugs2@samba.org, orders@cdrom.com, freebsd-questions@freebsd.org Subject: request Message-ID: <38CE3EEA.65268ED3@edi.lv>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------2229E056301C5E39CD5DB198 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Dear Sirs, We have some troubles with Samba2.o3 version. When Windows95-OSR2 client replyes to Samba server we have the following message: Resource:------- Password:------- in spite of we start without any password. Operating System: FreeBSD V3.3. In the same time at file smb.conf is permitted to work without password to resourse usr-tmp( guest --o'k). File smb.conf is given at attachment. I would be most grateful for your help. Sincerely, V.Zagursky ---------------------------------------------------------------------- Institute of Electr.&Comp. Science Fax: +371 7 555 337 14 Dzerbenes str., E-mail: zagursky@edi.lv LV - 1006, Riga Phone: 371-2-528938 Latvia ---------------------------------------------------------------------- --------------2229E056301C5E39CD5DB198 Content-Type: text/plain; charset=koi8-r; name="smb.conf" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="smb.conf" ; 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). ; ; The following configuration should suit most systems for basic usage and ; initial testing. It gives all clients access to their home directories and ; allows access to all printers specified in /etc/printcap. ; ; Things you need to check: ; -------------------------- ; ; 1: Check the path to your printcap file. If you are using a system that does ; not use printcap (eg., Solaris), create a file containing lines of the ; form ; ; printername|printername|printername| ; ; where each "printername" is the name of a printer you want to provide ; access to. Then alter the "printcap =" entry to point to the new file. ; ; If using Solaris, the following command will generate a suitable printcap ; file: ; ; lpc status | grep ":" | sed s/:/\|/ > myprintcap ; ; 2: Make sure the "print command" entry is correct for your system. This ; command should submit a file (represented by %s) to 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. ; ; It is also a good idea to use an absolute path in the print command ; as there is no guarantee the search path will be set correctly. ; ; 3: Make sure the "printing =" option is set correctly for your system. ; Possible values are "sysv", "bsd" or "aix". ; ; 4: Make sure the "lpq command" entry is correct for your system. The default ; may not work for you. ; ; 5: Make sure that the user specified in "guest account" exists. Typically ; this will be a user that cannot log in and has minimal privileges. ; Often 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 smb.conf(5) manual page ; ; 7: Look at the "hosts allow" option, unless you want everyone on the internet ; to be able to access your files. ; [global] workgroup=LAB2_4 netbios name=SSV_Samba server string=Samba guest ok = yes ; printing = bsd ; printcap name = /etc/printcap ; load printers = yes ; guest account = pcguest security=share ; SSV add [usr_tmp] path = /usr/tmp browseable = yes read only = yes public = yes guest ok = yes share modes = yes log file = /usr/local/samba/log.%m ; You will need a world readable lock directory and "share modes=yes" ; if you want to support the file sharing modes for multiple users ; of the same files lock directory = /usr/local/samba/var/locks ; share modes = yes [printers] comment = All Printers browseable = no printable = yes public = no writeable = no create mode = 0700 ; A publicly accessible directory, read/write to all users. Note that all files ; created in the directory by users will be owned by the default user, so ; any user with access can delete any other user's files. Obviously this ; directory must be writable by the default user. Another user could of course ; be specified, in which case all files would be owned by that user instead. ;[public] ; path = /usr/somewhere/else/public ; public = yes ; only guest = yes ; writable = yes ; printable = no ; ; ; The following two entries demonstrate how to share a directory so that two ; users can place files there that will be owned by the specific users. In this ; setup, the directory should be writable by both users and should have the ; sticky bit set on it to prevent abuse. Obviously this could be extended to ; as many users as required. ;[myshare] ; comment = Mary's and Fred's stuff ; path = /usr/somewhere/shared ; valid users = mary fred ; public = no ; writable = yes ; printable = no ; create mask = 0765 --------------2229E056301C5E39CD5DB198-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38CE3EEA.65268ED3>