From ad47062a9006dade8de5ed021a58a828fe4d8cde Mon Sep 17 00:00:00 2001 From: ssorce Date: Fri, 30 Mar 2007 13:02:19 +0000 Subject: [PATCH] Let's use passdb backend = tdbsam by default in new installations. smbpasswd is too ugly for new ones. --- smb.conf.default | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/smb.conf.default b/smb.conf.default index 3955c3c..5312da5 100644 --- a/smb.conf.default +++ b/smb.conf.default @@ -64,18 +64,11 @@ # Backend to store user information in. New installations should # use either tdbsam or ldapsam. smbpasswd is available for backwards # compatibility. tdbsam requires no further configuration. -# -# Use password server option only with security = server -# The argument list may include: -# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] -# or to auto-locate the domain controller/s -# password server = * - -; security = user -; passdb backend = tdbsam -; password server = - - + + security = user + passdb backend = tdbsam + + # ----------------------- Domain Members Options ------------------------ # # Security must be set to domain or ads @@ -86,12 +79,21 @@ # Backend to store user information in. New installations should # use either tdbsam or ldapsam. smbpasswd is available for backwards # compatibility. tdbsam requires no further configuration. +# +# Use password server option only with security = server or if you can't +# use the DNS to locate Domain Controllers +# The argument list may include: +# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] +# or to auto-locate the domain controller/s +# password server = * + ; security = domain ; passdb backend = tdbsam ; realm = MY_REALM - - + +; password server = + # ----------------------- Domain Controller Options ------------------------ # # Security must be set to user for domain controllers