Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I got a new project in school in which i need to create an open source "Active directory". I have searched the internet for information about this but it seems like there arent any services which are the same as AD. The best replacement seems to be "Samba4".
I was wondering if anyone implemented a replacement themself and which services you have used.
Samba 4 is very much capable of acting as an Active Directory domain controller. The choice of Linux distribution is of little consequence, as long as it offers a reasonably recent version of Samba. And if it doesn't, you can always install from source.
(BTW, the "PDC" designation was deprecated in late 1999 with the release of Windows 2000 and Active Directory. A "Primary Domain Controller" used to be the main domain controller in an old Windows NT-style domain; nowadays it's just one of several FSMO roles held by AD DCs, and can be freely transferred between DCs.)
FreeIPA is Red Hat's attempt to outright replace AD, but (at least as far as I can tell) it has quite a ways to go before it's production-ready.
Meanwhile, you can go the route others suggested (Samba4 domain controllers), or you could go the hard way and set up LDAP, Kerberos, and DNS (the three major components of AD) independently.
FreeIPA is Red Hat's attempt to outright replace AD, but (at least as far as I can tell) it has quite a ways to go before it's production-ready.
Meanwhile, you can go the route others suggested (Samba4 domain controllers), or you could go the hard way and set up LDAP, Kerberos, and DNS (the three major components of AD) independently.
Not really - there are some differences in each that are not AD. That is why Samba4 uses the Heimdal Kerberos extensions.
AD uses Kerberos, but modifies the protocol slightly to include authorization in addition to just authentication. Also there are some DNS keys that must also be provided that are not normal. Domain controllers are also DNS servers - but with some extensions.
The advantage of using the Samba 4 implementation is that these extensions are already provided.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.