[Samba] where to locate smb.conf for Samba4

Matthieu Patou mat at samba.org
Sat Aug 25 15:41:02 MDT 2012


On 08/23/2012 01:13 AM, steve wrote:
> Hi
>
> If I run the samba binary from a git and do a default install, I find 
> smb.conf
>  in
> /usr/local/samba/etc/smb.conf
> Fine.
>
> What about running the separate smbd, nmbd and winbindd binaries 
> instead of samba?
>
> Do I still write my smb.conf in /usr/local/samba/etc/smb.conf?
>
> Question/summary/comment
> Could anyone please confirm where is smb.conf for:
> 1. Samba4 AD
/usr/local/samba/etc/smb.conf
> 2. Samba4 winthout AD running smbd, nmbd and winbindd in the sbin 
> directory.
/usr/local/samba/etc/smb.conf
> 3. For distros with 3.x, I don't have to install Samba4 at all and 
> find smb.conf in /etc/samba/smb.conf
/etc/samba/smb.conf

You can change this while building with the directory related switches, 
try them !


-- 
Matthieu Patou
Samba Team
http://samba.org



More information about the samba mailing list