News for hackers. Stuff that matters.
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by schoolornot on Friday July 10, 2020 @12:32PM (#23793240)
Active Directory is a blessing compared to the hellish OSS alternatives. Don't reply with suggestions to use FreeIPA. It can be just as bad or worse.
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by captainmuon on Friday July 10, 2020 @01:16PM (#23793811)
AD is really powerful, but as someone who accidentially slided into Windows administration in his job, I find the windows Admin tools lacking the most elementary features I assumed they would have:

* Quickly get a shell on a remote machine, like I'm sitting in front of it? Powershell is nice but it's remoting model is different. You can't easily manage Windows updates for example over Powershell, it just behaves differently. * I assumed there would be something like Win98 "network neighbourhood" on steroids. Give me a list of all computers in my domain, or all computers in a group, or all computers certain users are on. AD only tells you which ones are joined, you cannot browse which ones are actually running. * Some GUI where you can ping a computer, find out which user is logged in, which software is installed, and which updates are missing.

You can find nice third party tools for all of this, or spend a lot of time writing scripts, but the basics are lacking. And the offerings from MS (WSUS, SCCM, ...) are powerful, but so far would cost us more time than they save, so I'm not really happy with the Windows ecosystem...

Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by perlgeek on Friday July 10, 2020 @01:30PM (#23793999)
I've recently come across a situation where somebody couldn't log in with their AD credentials, turned out the account had been renamed... and nobody knew who (or what) did and why.

I don't know if AD comes without audit logging, or it was just disabled in that installation, but that seems to be a pretty big no-no for a central part of your authentication infrastructure.

(Granted, it's an anecdote, but too many WTF anecdotes make me not like a thing as well).

Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by timw4mail on Friday July 10, 2020 @01:20PM (#23793861)
I might be missing something, but what makes Active Directory so much better than any other LDAP implementation?

My limited understanding is that it has better tooling and defaults, and that it's more than just an LDAP implementation, but is it really that much better if you aren't in the Microsoft ecosystem?

Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by lucasar on Friday July 10, 2020 @01:48PM (#23794213)
I think AD is probably the best (if not the single) reason to use MS boxes. It's quite a beast and you have to know its little tricks but hey, the same goes for any other solution of similar scale.
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by HideousKojima on Friday July 10, 2020 @12:42PM (#23793359)
Samba is pretty decent
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by LeSaucy on Friday July 10, 2020 @12:51PM (#23793486)
Thats like saying tires are a decent replacement for Uber.
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by HideousKojima on Friday July 10, 2020 @02:04PM (#23794412)
How? Samba supports AD, and can work as a replacement for Windows AD (or together with Windows DCs)
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by timw4mail on Friday July 10, 2020 @01:24PM (#23793917)
Samba is SMB/CIFS, a file sharing implementation. How does that relate to Active Directory, other than file permissions?
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by xav0989 on Friday July 10, 2020 @01:50PM (#23794245)
Samba is also an Active Directory Domain Controller[0]. While its not a perfect implementation of the system, it's sufficient for many usecases.

[0]: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Acti...

Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by chopraaa on Friday July 10, 2020 @01:06PM (#23793677)
You don't need Windows to use Active Directory.
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by timw4mail on Friday July 10, 2020 @01:22PM (#23793895)
Active Directory is a Microsoft product, which, last I knew, only runs on Windows.

Active Directory implements LDAP, and there are serveral other LDAP implementations. Other OSes can use Active Directory as an LDAP server, sure.

Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by neverartful on Friday July 10, 2020 @01:17PM (#23793818)
Oh? Please elaborate. I always assumed Active Directory = Windows.
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by closeparen on Friday July 10, 2020 @03:44PM (#23795552)
Decently common to have a cloud AD instance for your internal “users table” even if all the use cases are web/Mac/Linux.
Re:Ask HN: If WinServer2019 was made free to use tomorrow,wo... by ta17711771 on Friday July 10, 2020 @02:18PM (#23794569)
Doesn't AWS have it as a service? Possibly also an OSS project?