Hello everyone I have successfully deployed samba 4.4.2 on Centos7 as PDC. I had to use BIND9_DLZ because samba_internal was not working. 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 Thanks everyone -- *Michael* <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
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
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 ><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Possibly Parallel Threads
- samba4 on centos 7 won't promote to dc
- Chasing the "ads_add_machine_acct: Insufficient access" problem
- [Bug 198] New: Error getting file with sftp on old F-Secure servers
- program-prefix does not work
- [Bug 187] New: ssh-keygen not converting from and to SECSH standard correctly