Header Ads Widget

[MAN] samba

Content-type: text/html; charset=UTF-8 Man page of SAMBA

SAMBA

Section: Miscellanea (7)
Updated: 01/25/2022
Index Return to Main Contents
 

NAME

samba - A Windows AD and SMB/CIFS fileserver for UNIX  

SYNOPSIS

samba
 

DESCRIPTION

The Samba software suite is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems and provides Active Directory services. This protocol is sometimes also referred to as the Common Internet File System (CIFS). For a more thorough description, see http://www.ubiqx.org/cifs/. Samba also implements the NetBIOS protocol in nmbd.

samba(8)

The samba daemon provides the Active Directory services and file and print services to SMB clients. The configuration file for this daemon is described in smb.conf(5).

smbd(8)

The smbd daemon provides the file and print services to SMB clients, such as Windows 95/98, Windows NT, Windows for Workgroups or LanManager. The configuration file for this daemon is described in smb.conf(5).

nmbd(8)

The nmbd daemon provides NetBIOS nameservice and browsing support. The configuration file for this daemon is described in smb.conf(5).

winbindd(8)

winbindd is a daemon that is used for integrating authentication and the user database into unix.

smbclient(1)

The smbclient program implements a simple ftp-like client. This is useful for accessing SMB shares on other compatible servers (such as Windows NT), and can also be used to allow a UNIX box to print to a printer attached to any SMB server (such as a PC running Windows NT).

samba-tool(8)

The samba-tool is the main Samba Administration tool regarding Active Directory services.

testparm(1)

The testparm utility is a simple syntax checker for Samba's smb.conf(5) configuration file.

smbstatus(1)

The smbstatus tool provides access to information about the current connections to smbd.

nmblookup(1)

The nmblookup tools allows NetBIOS name queries to be made from a UNIX host.

smbpasswd(8)

The smbpasswd command is a tool for changing LanMan and Windows NT password hashes on Samba and Windows NT servers.

smbcacls(1)

The smbcacls command is a tool to set ACL's on remote CIFS servers.

smbtree(1)

The smbtree command is a text-based network neighborhood tool.

smbtar(1)

The smbtar can make backups of data on CIFS/SMB servers.

smbspool(8)

smbspool is a helper utility for printing on printers connected to CIFS servers.

smbcontrol(1)

smbcontrol is a utility that can change the behaviour of running smbd, nmbd and winbindd daemons.

rpcclient(1)

rpcclient is a utility that can be used to execute RPC commands on remote CIFS servers.

pdbedit(8)

The pdbedit command can be used to maintain the local user database on a samba server.

findsmb(1)

The findsmb command can be used to find SMB servers on the local network.

net(8)

The net command is supposed to work similar to the DOS/Windows NET.EXE command.

wbinfo(1)

wbinfo is a utility that retrieves and stores information related to winbind.

profiles(1)

profiles is a command-line utility that can be used to replace all occurrences of a certain SID with another SID.

log2pcap(1)

log2pcap is a utility for generating pcap trace files from Samba log files.

vfstest(1)

vfstest is a utility that can be used to test vfs modules.

ntlm_auth(1)

ntlm_auth is a helper-utility for external programs wanting to do NTLM-authentication.

smbcquotas(1)

smbcquotas is a tool that can set remote QUOTA's on server with NTFS 5.
 

COMPONENTS

The Samba suite is made up of several components. Each component is described in a separate manual page. It is strongly recommended that you read the documentation that comes with Samba and the manual pages of those components that you use. If the manual pages and documents aren't clear enough then please visit http://devel.samba.org for information on how to file a bug report or submit a patch.

If you require help, visit the Samba webpage at http://www.samba.org/ and explore the many option available to you.  

AVAILABILITY

The Samba software suite is licensed under the GNU Public License(GPL). A copy of that license should have come with the package in the file COPYING. You are encouraged to distribute copies of the Samba suite, but please obey the terms of this license.

The latest version of the Samba suite can be obtained via anonymous ftp from samba.org in the directory pub/samba/. It is also available on several mirror sites worldwide.

You may also find useful information about Samba on the newsgroup comp.protocol.smb and the Samba mailing list. Details on how to join the mailing list are given in the README file that comes with Samba.

If you have access to a WWW viewer (such as Mozilla or Konqueror) then you will also find lots of useful information, including back issues of the Samba mailing list, at http://lists.samba.org.  

VERSION

This man page is correct for version 4 of the Samba suite.  

CONTRIBUTIONS

If you wish to contribute to the Samba project, then I suggest you join the Samba mailing list at http://lists.samba.org.

If you have patches to submit, visit http://devel.samba.org/ for information on how to do it properly. We prefer patches in git format-patch format.  

CONTRIBUTORS

Contributors to the project are now too numerous to mention here but all deserve the thanks of all Samba users. To see a full list, look at the change-log in the source package for the pre-CVS changes and at http://git.samba.org/ for the contributors to Samba post-GIT. GIT is the Open Source source code control system used by the Samba Team to develop Samba. The project would have been unmanageable without it.  

AUTHOR

The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.

The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.


 

Index

NAME
SYNOPSIS
DESCRIPTION
COMPONENTS
AVAILABILITY
VERSION
CONTRIBUTIONS
CONTRIBUTORS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:45:57 GMT, September 16, 2022 Content-type: text/html; charset=UTF-8 Man page of SAMBA

SAMBA

Section: System Administration tools (8)
Updated: 01/25/2022
Index Return to Main Contents
 

NAME

samba - Server to provide AD and SMB/CIFS services to clients  

SYNOPSIS

samba [-D] [-i] [-M <model>] [--maximum-runtime=<seconds>] [-b] [--help] [--usage] [-d <debug level>] [--debug-stderr] [-s <configuration file>] [--option=<smb_conf_param>=<value>] [-l <log directory>] [--leak-report] [--leak-report-full] [-V]
 

DESCRIPTION

This program is part of the samba(7) suite.

samba is the server daemon that provides Active Directory, filesharing and printing services to clients. The server provides filespace and directory services to clients using the SMB (or CIFS) protocol and other related protocols such as DCE/RPC, LDAP and Kerberos.

Clients supported include MSCLIENT 3.0 for DOS, Windows for Workgroups, Windows 95/98/ME, Windows NT, Windows 2000/XP/2003, OS/2, DAVE for Macintosh, and cifsfs for Linux.

An extensive description of the services that the server can provide is given in the man page for the configuration file controlling the attributes of those services (see smb.conf(5). This man page will not describe the services, but will concentrate on the administrative aspects of running the server.

Please note that there are significant security implications to running this server, and the smb.conf(5) manual page should be regarded as mandatory reading before proceeding with installation.  

OPTIONS

-D|--daemon

If specified, this parameter causes the server to operate as a daemon. That is, it detaches itself and runs in the background, fielding requests on the appropriate ports. Operating the server as a daemon is the recommended way of running samba for servers that provide more than casual use file and print services. This switch is assumed if samba is executed on the command line of a shell.

-i|--interactive

If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this parameter negates the implicit daemon mode when run from the command line. samba also logs to standard output, as if the -S parameter had been given.

-M model

This parameter can be used to specify the "process model" samba should use. This determines how concurrent clients are handled. Available process models include single (everything in a single process), standard (similar behaviour to that of Samba 3), thread (single process, different threads.

--maximum-runtime=seconds

Set maximum runtime of the server process till autotermination in seconds.

-b|--show-build

Print information about how Samba was built.

--usage

Display brief usage message.

--debug-stderr

Send debug output to STDERR.

--leak-report

Enable talloc leak reporting on exit.

--leak-report-full

Enable full talloc leak reporting on exit.

-d|--debuglevel=level

level is an integer from 0 to 10. The default value if this parameter is not specified is 0.

The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.

Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.

Note that specifying this parameter here will override the m[blue]log levelm[] parameter in the smb.conf file.

-V|--version

Prints the program version number.

-s|--configfile=<configuration file>

The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See smb.conf for more information. The default configuration file name is determined at compile time.

-l|--log-basename=logdirectory

Base directory name for log/debug files. The extension ".progname" will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.

--option=<name>=<value>

Set the smb.conf(5) option "<name>" to value "<value>" from the command line. This overrides compiled-in defaults and options read from the configuration file.

-?|--help

Print a summary of command line options.

--usage

Display brief usage message.
 

FILES

/etc/rc

or whatever initialization script your system uses.

If running the server as a daemon at startup, this file will need to contain an appropriate startup sequence for the server.

/etc/services

If running the server via the meta-daemon inetd, this file must contain a mapping of service name (e.g., netbios-ssn) to service port (e.g., 139) and protocol type (e.g., tcp).

/usr/local/samba/lib/smb.conf

This is the default location of the smb.conf(5) server configuration file. Other common places that systems install this file are /usr/samba/lib/smb.conf and /etc/samba/smb.conf.

This file describes all the services the server is to make available to clients. See smb.conf(5) for more information.

 

DIAGNOSTICS

Most diagnostics issued by the server are logged in a specified log file. The log file name is specified at compile time, but may be overridden on the command line.

The number and nature of diagnostics available depends on the debug level used by the server. If you have problems, set the debug level to 3 and peruse the log files.

Most messages are reasonably self-explanatory. Unfortunately, at the time this man page was created, there are too many diagnostics available in the source code to warrant describing each and every diagnostic. At this stage your best bet is still to grep the source code and inspect the conditions that gave rise to the diagnostics you are seeing.  

VERSION

This man page is correct for version 4 of the Samba suite.  

SEE ALSO

hosts_access(5) smb.conf(5), smbclient(8), samba-tool(8), smbd(8), nmbd(8), winbindd(1), and the Internet RFC's rfc1001.txt, rfc1002.txt. In addition the CIFS (formerly SMB) specification is available as a link from the Web page https://www.samba.org/cifs/.  

AUTHOR

The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
DIAGNOSTICS
VERSION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:46:03 GMT, September 16, 2022

댓글 쓰기

0 댓글