Questions tagged [active-directory]

A Microsoft technology that constitutes an LDAP directory service with centralized management functionality for user accounts, computer accounts, groups, and configuration management across many Windows servers and desktops.

Active Directory is a directory service created by Microsoft for managing Windows environments.

It is used for:

  • A centralized Authentication/Authorization source for Kerberos and NTLM protocols.
  • Providing a single authentication/authorization domain for member servers and workstations.
  • Providing LDAP services.
  • Providing centralized configuration methods of Windows workstations and servers through Group Policy and other methods.
  • Multi-site replication of directory-database data.

Non-Windows support is generally provided through the Samba package on POSIX operating systems (Linux, macOS, BSD, Solaris, etc). All modern Samba releases allow machines to join a domain as if they were a Windows machine.

For a list of ports which must be open in a firewall for AD to work properly, see http://serverfault.com/questions/304484/what-firewall-ports-need-to-be-open-for-active-directory.

Some useful links are below

10115 questions
49
votes
7 answers

If a Windows shop moves "everything" to the cloud, does it still need Active Directory?

Taking a spin off of this question: Do I really need MS Active Directory? in a new direction for 2014. Taking into account a basic Windows infrastructure: domain controllers Exchange 2007/2010/2013 Sharepoint SQL File Servers / Print Servers AD…
TheCleaner
  • 32,627
  • 26
  • 132
  • 191
49
votes
7 answers

Disable password complexity rule in Active Directory

Where do I go to disable the password complexity policy for the domain? I've logged onto the domain controller (Windows Server 2008) and found the option in local policies which is of course locked from any changes. However I can't find the same…
48
votes
13 answers

Group Policy installation failed error 1274

I'm trying to deploy an MSI via the Group Policy in Active Directory. But these are the errors I'm getting in the System event log after logging in: The assignment of application XStandard from policy install failed. The error was : %%1274 The…
David Thomas Garcia
  • 613
  • 2
  • 8
  • 10
48
votes
4 answers

How does SSO with Active Directory work whereby users are transparently logged in to an intranet web app?

I'm told that it's possible to make a web application that does not require a login. The user logs in to Windows, which authenticates via an Active Directory (LDAP) Lookup. Then, they should be able to go to my webapp and never see a login prompt.…
blak3r
  • 731
  • 1
  • 11
  • 16
46
votes
3 answers

What should the order of DNS servers be for an AD Domain Controller and Why?

This is a Canonical Question about Active Directory DNS Settings. Related: What is Active Directory Domain Services and how does it work? Assuming an environment with multiple domain controllers (assume that they all run DNS as well): in what…
MDMarra
  • 100,734
  • 32
  • 197
  • 329
43
votes
2 answers

Can someone please explain Windows Service Principle Names (SPNs) without oversimplifying?

I have wrestled with service principle names a few times now and the Microsoft explanation is just not sufficient. I am configuring an IIS application to work on our domain and it looks like some of my issues are related to my need to configure http…
39
votes
5 answers

Finding why a user is locked out in Active Directory

A user's account keeps getting locked out in Active Directory. It's probably caused by an app that's using Windows authentication to connect to SQL Server. Is there a way to find out which app is causing it and why the app might be causing failed…
Tony_Henrich
  • 954
  • 3
  • 12
  • 23
35
votes
8 answers

Is it best practices to have separate login for a domain for domain admins?

I typically like to set up separate logins for myself, one with regular user permissions, and a separate one for administrative tasks. For example, if the domain was XXXX, I'd set up a XXXX\bpeikes and a XXXX\adminbp account. I've always done it…
35
votes
1 answer

What's the meaning of logging in as "username@mydomain.com:something"

My Windows 2008 R2 machine is joined to a domain. In the logon screen, if I type in "username@mydomain.com:something" as the username, I can still logon properly, what's the meaning of ":something" appended at the end? I can even see the current…
Harvey Kwok
  • 796
  • 1
  • 6
  • 16
35
votes
7 answers

How can I determine my user account's OU in a Windows domain?

Is there any way (short of getting an active directory browser) to view my OU while logged in to the domain?
Luke
  • 2,103
  • 7
  • 27
  • 30
35
votes
7 answers

Is there an equivalent of SU for Windows

Is there a way (when logged in as an administrator, or as a member of the administrators group) to masquerade as a non-privileged user? Especially in an AD environment. e.g., in the Unix world I could do the following (as root): # whoami root # su…
BIBD
  • 1,866
  • 10
  • 30
  • 44
34
votes
4 answers

Can I override domain group policy with local group policy as a local admin?

I am trying to provision a few special case laptops. I would like to create a local guest account. That's fine but when I try to create it I prompted that my guest password does not meet the complexity requirements. I tried editing the local…
hkkhkhhk
  • 343
  • 1
  • 3
  • 4
34
votes
4 answers

How to find time server in a domain?

In a Windows domain PDC isn't necessarily the domain time server. How could I identify the authoritative time server?
Hrvoje Zlatar
  • 463
  • 1
  • 4
  • 6
33
votes
12 answers

Active Directory: delete vs. disable departed employees

When an employee leaves your organization, do you delete or disable their Active Directory account? Our SOP is to disable, export/purge the Exchange mailbox, and then after "some time" has elapsed (usually quarterly), delete the account. Is there…
Matt Rogish
  • 1,512
  • 6
  • 25
  • 41
32
votes
7 answers

Windows Appending Domain Suffix To All Lookups

I have a recurring DNS problem that has been plaguing our users occasionally causing their laptops to appended our companies domain to the end of all DNS queries. The problem only occurs when users are offsite and it appears to be fairly random. It…
Xap
  • 411
  • 1
  • 6
  • 12