[Samba] samba4 on centos 7 won't promote to dc

Miso Rapajić misorapajic at gmail.com
Thu May 26 20:39:18 UTC 2016

I know and it doesn't make sense with ./configure
Yes I mean provision :)

packages are:

    perl gcc attr libacl-devel libblkid-devel \
    gnutls-devel readline-devel python-devel gdb pkgconfig \
    krb5-workstation zlib-devel setroubleshoot-server libaio-devel \
    setroubleshoot-plugins policycoreutils-python \
    libsemanage-python perl-ExtUtils-MakeMaker perl-Parse-Yapp \
    perl-Test-Base popt-devel libxml2-devel libattr-devel \
    keyutils-libs-devel cups-devel bind-utils libxslt \
    docbook-style-xsl openldap-devel autoconf python-crypto

unfortunately I do not have smb.conf of the old installation, because I
destroyed that and then did a new one

provision command

samba-tool domain provision --use-rfc2307 --interactive

New installation worked it out, but I was just curious if somebody had the
same problem with provisioning.

No need to bang your head cause of this

On Thu, May 26, 2016 at 10:22 PM, Rowland penny <rpenny at samba.org> wrote:

> On 26/05/16 21:03, Miso Rapajić wrote:
>> Hello everyone
>> I have successfully deployed samba 4.4.2 on Centos7 as PDC.
> I take it you mean 'DC' instead of 'PDC'
> I had to use
>> BIND9_DLZ because samba_internal was not working.
> Why didn't the internal dns work, it should.
>   I have successfully
>> joined win7 machine to a domain and with RSAT I can add user, GP etc..
>> This
>> was all possible but with a more than a few tweaks but I have some
>> questions. But at this time only one is bugging me crazy.
>> 1. When I configure the makefile of samba 4.4.2 with the following
>> "./configure" , samba won't promote to dc no matter what I enter. I do a
>> testparm and server is always ROLE STANDALLONE .
>> But when I do "./configure --enable-selftest --enable-debug
>> --prefix=/opt/samba/ --sysconfdir=/etc/samba/
>> --includedir=/usr/include/samba4/ --bindir=/bin/ --sbindir=/sbin/
>> --mandir=/usr/share/man/"   it will promote it no problem. Why is that?
>> --prefix        : installation directory
>> --sysconfdir    : smb.conf should be places
>> --includedir    : includes the header files for C compilers
>> --bindir        : user executables
>> --sbindir       : system admin executables
>> --mandir        : man pages to be placed
> The './configure' options should have no affect on the 'provision' command
> (I take it you mean 'provision' instead of 'promote') , can you tell us
> what packages you installed to compile Samba, what you actually get in the
> provisioned smb.conf when it doesn't work, finally can you post the
> provision command you are using.
> Rowland
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list