---
name: "sambaconfig"
section: "8"
platform: "linux"
package: "samba"
version: "2.0.7-5"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/sambaconfig"
---

# sambaconfig(8)

configure Samba for Debian systems

## NAME

sambaconfig - configure Samba for Debian systems

## SYNOPSIS

sambaconfig \[--run-from-inetd\|--run-as-daemons\] \[--no-reload\]

## DESCRIPTION

**sambaconfig** is used to simplify the configuration of [samba(8)](/samba/8.md) for use on Debian systems.

You may run this program to (re)configure samba for your Debian system  at any time.

Normally **sambaconfig** will ask if you want to reload the Samba daemons after making changes to its configuration. The --no-reload option will avoid this question. Note that if Samba is running from inetd and --no-reload is not supplied no questions is asked because Samba will start automatically from inetd when there is traffic on the NetBIOS ports.

## FILES

- /etc/inetd.conf

  If the lines that start the NetBIOS daemons nmbd and smbd are commented out then Samba will start as daemons from /etc/init.d/start

- /etc/init.d/samba

  Script that will start/stop/restart Samba when running as daemons

- /etc/samba/smbpasswd

  Encrypted passwords file for the Samba daemons

- /etc/samba/debian\_config

  Debian specific configuration information, it holds the mode in which Samba is running (from inetd or as daemons).

## SEE ALSO

[samba(7)](/samba/7.md), [nmbd(8)](/nmbd/8.md), [smbd(8)](/smbd/8.md)

## AUTHOR

Eloy A. Paris \<peloy@debian.org\> (man page based on sendmailconfig's man page by Robert Leslie \<rob@mars.org\>)
