Linux Domain Controller
-
So following this write up:
http://www.alexwyn.com/computer-tips/centos-samba4-active-directory-domain-controllerI get to step 8 and do the seft test
cd samba-master
.\configure --enable-debug --enable-selftestand get met with the following error
/root/samba-master/source4/lib/tls/wscript:37: error: Building the AD DC requires GnuTLS (eg libgnutls-dev, gnutls-devel) for ldaps:// support and for the BackipKey protocol.
Would anyone be able to spread some light on that for me,
Found and tried a few things but its not clearing up the message for me.
As well when I do the next step
make
I get WAF_MAKE=1 python ./buildtools/bin/waf build
Project not configured (run "waf configure' first)again tried a few things and still hitting walls.
Any light that could be shed would be awesome.
Thanks guys.
-
It sounds like some dependencies didn't get installed. You may want to try installing from a package instead of from source. CentOS has a pre-packaged option. Just do:
yum install samba4
That should install all the dependencies.
-
If you want to continue you need to install GnuTLS' devel package.
yum install libgnutls-dev
From the suggestion above.
-
@scottalanmiller said:
No PDC / BDC concepts in Active Directory. That's a SAM concept from NT 4 days and older. The DC concept replaced them in 2000 when AD was introduced.
There is still a PDC emulator role.
-
Keep in mind a linux domain is giving you authentication only (and authorization on the local system) no group policy as of yet.
-
@thecreativeone91 said:
@scottalanmiller said:
No PDC / BDC concepts in Active Directory. That's a SAM concept from NT 4 days and older. The DC concept replaced them in 2000 when AD was introduced.
There is still a PDC emulator role.
I was going to mention that...LOL
-
Tried this and get pages of errors stating cannot resolve to the mirror....Have I maybe just screwed something up with my box?
As well when I do
yum install libgnutls-dev I get not available.
-
-
That how to is for CentOS 6. Don't use that. Use the modern CentOS 7. It should have everything built in for you. Any how to that has you build from source should set of alarms like crazy. I know this is for home, so experiment all you want. But enterprise IT doesn't build from source, that's a hobbyist activity or a large IT department engineering group prepping packages with custom changes. That's not how RHEL / CentOS or any enterprise OS is meant to be used.
-
@thecreativeone91 said:
Keep in mind a linux domain is giving you authentication only (and authorization on the local system) no group policy as of yet.
Group Policy has been available since day one with Samba4. That's never been lacking.
-
Ya I definately went with 7 hoping and assuming this wouldnt change.
I'll switch to 6.5 (Was gonna go 6.5 just for the larger amount of documentation)
-
@thecreativeone91 said:
There is still a PDC emulator role.
Emulator rule, true. But no PDC.
-
-
@Sparkum said:
Ya I definately went with 7 hoping and assuming this wouldnt change.
I'll switch to 6.5 (Was gonna go 6.5 just for the larger amount of documentation)
Don't switch to 6.5, stick with 7. There are built packages for 7 available, it just looks like your yum mirrors got messed up somehow.
-
@Sparkum said:
Ya I definately went with 7 hoping and assuming this wouldnt change.
I'll switch to 6.5 (Was gonna go 6.5 just for the larger amount of documentation)
No, do NOT use a five year old Linux!! Use 7 and avoid that documentation like the plague. Building from source should be out of the question.
-
Here is THE Linux "How To" site...
https://www.howtoforge.com/samba-server-installation-and-configuration-on-centos-7
-
Gah ok haha
-
This is ALL that it takes to install Samba4 on CentOS:
yum install samba samba-client samba-common
-
@scottalanmiller said:
@thecreativeone91 said:
Keep in mind a linux domain is giving you authentication only (and authorization on the local system) no group policy as of yet.
Group Policy has been available since day one with Samba4. That's never been lacking.
True. But there is no replication for sysvol. So in production it would suck.
-
@thecreativeone91 said:
@scottalanmiller said:
True. But there is no replication for sysvol. So in production it would suck.
There is no BUILT IN replication. But Linux has great replication natively. Here is the official SysVol Replication How To: