[ Pobierz całość w formacie PDF ]
.Text-O socket_optionsOne line of text.This sets the TCP/IP socket options, using the same parameters as the socketUser listoptions configuration option.It is often used for performance tuning andA space-separated list of usernames.In Samba 1.9, @group-name will includetesting.everyone in Unix group group-name.In Samba 2.0, @group-name includes-o This option is the opposite of -a.It causes log files to be overwritten whenwhomever is in the NIS netgroup group_name if one exists, otherwise whom-opened.Using this option saves hunting for the right log entries if you areever is in the Unix group group_name.In addition, +group_name is a Unixperforming a series of tests and inspecting the log file each time.group, &group_name is an NIS netgroup, and &+ and +& cause an ordered-P This option forces smbd not to send any network data out.This option is typi- search of both Unix and NIS groups.cally used only by Samba developers.-P This option forces smbd not to send any network data out.This option is typi-cally used only by Samba developers.-p port_numberThis sets the TCP/IP port number that the server will accept requests from.Currently, all Microsoft clients send only to the default port: 139.364 Appendix D: Summary of Samba Daemons and Commands Samba Distribution Programs 361esac-s configuration_fileexitSpecifies the location of the Samba configuration file.Although the fileYou ll need to set the actual paths and ps options to suit the machine you re defaults to /usr/local/samba/lib/smb.conf, you can override it here on the com-using.In addition, you might want to add additional commands to tell Samba to mand line, typically for debugging.reload its smb.conf file or dump its nmbd tables, depending on your actual needs.nmbdsmbshThe nmbd program is Samba s NetBIOS name and browsing daemon.It replies toThe smbsh program lets you use a remote Windows share on your Samba server broadcast NetBIOS over TCP/IP (NBT) name-service requests from SMB clientsas if the share was a regular Unix directory.When it s run, it provides an extra and optionally to Microsoft s Windows Internet Name Service (WINS) requests.directory tree under /smb.Subdirectories of /smb are servers, and subdirectories of Both of these are versions of the name-to-address lookup required by SMB cli-the servers are their individual disk and printer shares.Commands run by smbsh ents.The broadcast version uses UDP/IP broadcast on the local subnet only, whiletreat the /smb filesystem as if it were local to Unix.This means that you don t need WINS uses TCP/IP, which may be routed.If running as a WINS server, nmbdsmbmount in your kernel to mount Windows filesystems the way you mount with keeps a current name and address database in the file wins.dat in the samba_dir/NFS filesystems.However, you do need to configure Samba with the --with- var/locks directory.smbwrappers option to enable smbsh.An active nmbd program can also respond to browsing protocol requests used bythe Windows Network Neighborhood.Browsing is a combined advertising, ser-Optionsvice announcement, and active directory protocol.This protocol provides a-d debugleveldynamic directory of servers and the disks and printers that the servers are provid-Sets the debug (sometimes called logging) level.The level can range from 0,ing.As with WINS, this was initially done by making UDP/IP broadcasts on thethe default, all the way to 10.Debug level 0 logs only the most important mes-local subnet.Now, with the concept of a local master browser, it is done by mak-sages; level 1 is normal; level 3 and above are primarily for debugging, anding TCP/IP connections to a server.If nmbd is acting as a local master browser, itslow smbsh considerably.stores the browsing database in the file browse.dat in the samba_dir/var/locksdirectory.-llogfileSets the name of the logfile to use.Signals-PprefixLike smbd, the nmbd program responds to several Unix signals.Sending nmbd aSets the root directory to mount the SMB filesystem.The default is /smb.SIGHUP signal will cause it to dump the names it knows about to the file-Rresolve ordernamelist.debug in the samba_dir/locks directory and its browsing database to theSets the resolve order of the name servers.This option is similar to thebrowse.dat file in the same directory.To shut down a nmbd process send it a SIG-resolve order configuration option, and can take any of the four parame-TERM (-15) signal instead of a SIGKILL (-9) to allow it to die gracefully.You canters, lmhosts, host, wins, and bcast, in any order.increment the debug logging level of nmbd by sending it a SIGUSR1 signal; you-Uusercan decrement it by sending a SIGUSR2 signal.Supports user%password.Command-line options-WworkgroupSets the NetBIOS workgroup to which the client will connect.-D Instructs the nmbd program to run as a daemon.This is the recommendedway to use nmbd
[ Pobierz całość w formacie PDF ]