Quantcast
Channel: Directory Services forum
Viewing all 31638 articles
Browse latest View live

Difference between Kerberos and LDAP in Active Directory

$
0
0

Please help me to understand the difference between  Kerberos and  LDAP in Active Directory


AD forest Level Upgrade Windows 2008 R2 to Windows 2016

$
0
0

Dear All,

We are in the process of Upgrading AD environment from Windows 2008 R2 Forest/Domain level to Windows 2016,

Customer uses AD based application authentication,

How can we know the Different Application that are being authenticated via AD and specific Protocol/Authentication type which is being used.

Can we run some tools on the AD , then we clearly know what would be the impact of Upgrading the Schema/Forest/Domain Level to Windows 2016.

Awaiting Response,- Hasan Reza

How to write LDAP query to exclude certain computer objects from existing collection

$
0
0
I want to allow to scan only 6 of 10 computers and want to exclude remaining 4. How to write LDAP query for this?

AD user Client machine not updated with changed password

$
0
0

I have windows 2012 Active directory with around 500 machines connected to it.

This issue occurs for few users randomly and not for same users in same machine. 

When the user changes his/ her password through Ctrl+Alt+Del, the user not able to logon to the machine with changed password but only with old one.

But the Changed password works for his Exchange mail account like outlook, other CRM applications where LDAP configured etc., 

The AD attribute PwdLastSet was also showing as updated recently with correct changed date.

If the same user logs in to another machine, it works with new password. 

In this case, if i manually do a reset password from ADUC, the original user machine take the changed password immediately.

I have not enabled Cached Interactive logon attempts policy. Its not defined.

What causes this issue? Any help on diagnostics?


regards Sundaresan.C

Stop Automatically Generated NTDS

$
0
0

I have tried to manually setup a hub and spoke toplogoy but Automatically Generated connections keep appearing.

We have 2 DCs across 3 main sites, and then 2 DCs in 2 remote sites each.

5 buildings. 2 DCs each.

Trying to make the baseline DC the HUB and make sure everything is syncing form there, as looking to reduce, restructure and replace with all 2019 Servers.

DNS issue after upgrading AD from 2008r2 to 2012

$
0
0

Hello All,

I have only one domain controller running windows server 2008R2. I have added one DC (windows 2012r2) and transferred all the FSMO roles and removed network connection of Win 2k8R2 and tested it. 

After removing network connection, i couldnt able to join machines to domain. But FSMO roles are on new server.

When i run dcdiag on new server i got, failed test NetLogons against new server. 

If i turn on old server, i am able to join PCs. 

IN new server, i have given primary DNS IP as old server ip and alternate as 127.0.0.1. 

Thank you


Thanks

DNS FORWARDING is FAULTY

$
0
0

When I run nslookup to try to resolve an outside website it works.  But when I run DCDIAG /TEST:DNS I get failures on the DNS Servers used and I get a failure on the Forw spot in the summary table.

Any help would be greatly appreciated!

Thanks,

George Jackson
Net Admin

Multi-tenant AD and Azure AD Connect

$
0
0

We have a multi-tenant AD on Server 2016 and 2019.  Each tenant has a separate domain UPN they use to login with.  The tenants are in separated OUs and appropriate permissions so they are completely isolated from each other.  Is it possible to setup AD sync with Azure AD Connect of our multi-tenant AD so that we can setup a DC and resource servers for each tenant that is setup to be the domain for their UPN login?  For example: our multi-tenant has tenant1 with user1@abccorp.com and user2@abccorp.com, tenant2 has user1@123corp.com and user2@123corp.com.  We setup the network for tenant1 as domain abccorp.com and the servers for tenant2 as domain 123corp.com.  All groups (domains) of servers are in isolated networks.  So it would be multi-tenant AD sync to Azure and a DC for each tenant domain sync only to their OU in Azure.

Thanks so much for any input!!


Domain Admins - User Objects Removed From Group

$
0
0

Good Afternoon - I have a bit of a peculiar question, and one that I cannot seem to find any answers to. Essentially, the issue hinges directly around the Domain Admins group on our domain. I'm relatively new to the organization, so I only have the history of what I have been told to go on; which is:

- At some point, a Restricted Group GPO was configured in the Default Domain Policy which protected which members could be added to Domain Admins

- That GPO setting has been removed; and I have checked all other GPOs and I do not see any Restricted Group GPOs that exist and are targeting Domain Admins

The issue is quite simple; users that are added to Domain Admins are (at seemingly random intervals throughout the day) removed from Domain Admins.

If I take a look back at the audit logs, I can see generated events for both 4728 & 4729...but it does not seem to capturing 4729 all the time when users are removed (4728 is consistent enough.)

At this point, I've dug into AdminSDHolder and SDProp - but from what I can tell; this is only the ACLs which are impacted when SDProp executes...not the actual user objects.

I'm at a loss - I am not sure what else to audit, or where else I might look. I'm quite stumped and am hopeful that someone has any lead that I haven't already chased down myself. Thanks very much for your help in advance.

Picture/Pin Password for AD accounts

$
0
0

Hello,

I've introduced Picture password and Pins for a few users within my organisation, however, I am interested in setting it up for the whole company but on the AD network level.

Currently, the users are setting this up via the Local account, meaning that any time they move (which is fairly common) the users will have to set up the picture password/ pin all over again.

Any help of this will be appreciated. 

Thanks


Bradley 

Is it possible to start powershell with the active directory module in a scheduled task?

$
0
0
I did a script, but it only runs with the active directory module of powershell, how can I perform the scheduled task that I started with the active directory module of powershell?

Trust relationship stopped working

$
0
0

Hi,

I have a very strange problem with a forest trust. Some time ago, I created a bidirectiona, forest, external trust relationship between to forest, call it Domain1 and Domain2. For doing it, I created conditional DNS forwarders in both domain, in order to be able of resolving each other domain names. In a domain controller of domain 1, it appeared the bidirectional relationship with the other, and in a domain controller of domain 2, it appeared the bidirectional relationship with the domain1. All was correctly validated.

Today, I have noticed that I could not add a user from domain 1 to a group in domain 2. I have opened the console in domain 1 and in domain 2. In domain 1, I stll see the bidirectional relationship, but in domain 2, the list is empty. First surprise. In domain 1, I try to validate relationship and I get the following message:

Outgoing relationship correctly validated. Error verifying secure channel (SC) in the Active Directory Domain controller DC01.domain2.dom of domain2.dom domain to domain1.dom domain. Specified domain doesn't exist or cannot be contacted.

If I try to restablish the relationship, I get the same message.  Specified domain doesn't exist or cannot be contacted.

If I try to delete the relationship, again I get the same message.

If I try to create again the relationship in domain 2, I get a message telling the relationship already exists.

So I am totally blocked. There is no firewall nor router between servers (are connected to the same switch) and local firewalls are disabled. Name resolution works perfectly. I am totally lost.

ADSync error "Log entry string is too long"

$
0
0

We are using ADSync and see that whenever the Delta Import job runs, it returns Stopped-extension-dll-exception and logs event 6801.  All other jobs show as success.

This is not a permission error.  Every time I search for this error with event id 6081 it's always about permissions, but we do not see any permissions errors.  One of our engineers reset the permissions just in case but it did not fix the problem.

We also get event 6803 

Log Name:      Application
Source:        ADSync
Date:          20/01/2020 7:35:46 a.m.
Event ID:      6803
Task Category: Management Agent Run Profile
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      APP5.net.cial.co.nz
Description:
The management agent "CHCInternational.onmicrosoft.com - AAD" failed on run profile "Delta Import" because the server encountered errors.

and event 019

Log Name:      Application
Source:        Directory Synchronization
Date:          20/01/2020 7:35:46 a.m.
Event ID:      109
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      APP5.net.cial.co.nz
Description:
Failure while importing entries from Windows Azure Active Directory. Exception: System.ArgumentException: Log entry string is too long. A string written to the event log cannot exceed 32766 characters.

The event 6801...

Log Name:      Application
Source:        ADSync
Date:          20/01/2020 8:05:50 a.m.
Event ID:      6801
Task Category: Server
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      APP5.net.cial.co.nz
Description:
The extensible extension returned an unsupported error.
 The stack trace is:
 
 "System.ArgumentException: Log entry string is too long. A string written to the event log cannot exceed 32766 characters.
   at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName)
   at System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at Microsoft.Azure.ActiveDirectory.Client.Framework.Tracer.TypeDependencies.EventLogWriteEntry(String eventSource, EventLogEntryType eventLogEntryType, Int32 eventId, String message)
   at Microsoft.Azure.ActiveDirectory.Client.Framework.Tracer.TraceToEventLog(EventLogEntryType eventLogEntryType, Int32 eventId, Func`1 traceMessageProvider)
   at Microsoft.Azure.ActiveDirectory.Client.Framework.Tracer.TraceInformation(Int32 eventId, String messageFormat, Object[] args)
   at Microsoft.Azure.ActiveDirectory.Connector.Connector.GetImportEntriesCore()
   at Microsoft.Azure.ActiveDirectory.Connector.Connector.GetImportEntries(GetImportEntriesRunStep getImportEntriesRunStep)
Azure AD Sync 1.1.110.0"
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ADSync" />
    <EventID Qualifiers="49152">6801</EventID>
    <Level>2</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2020-01-19T19:05:50.000000000Z" />
    <EventRecordID>5623766</EventRecordID>
    <Channel>Application</Channel>
    <Computer>APP5.net.cial.co.nz</Computer>
    <Security />
  </System>
  <EventData>
    <Data>System.ArgumentException: Log entry string is too long. A string written to the event log cannot exceed 32766 characters.
   at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName)
   at System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
   at Microsoft.Azure.ActiveDirectory.Client.Framework.Tracer.TypeDependencies.EventLogWriteEntry(String eventSource, EventLogEntryType eventLogEntryType, Int32 eventId, String message)
   at Microsoft.Azure.ActiveDirectory.Client.Framework.Tracer.TraceToEventLog(EventLogEntryType eventLogEntryType, Int32 eventId, Func`1 traceMessageProvider)
   at Microsoft.Azure.ActiveDirectory.Client.Framework.Tracer.TraceInformation(Int32 eventId, String messageFormat, Object[] args)
   at Microsoft.Azure.ActiveDirectory.Connector.Connector.GetImportEntriesCore()
   at Microsoft.Azure.ActiveDirectory.Connector.Connector.GetImportEntries(GetImportEntriesRunStep getImportEntriesRunStep)
Azure AD Sync 1.1.110.0</Data>
  </EventData>
</Event>

Drivemaps share are not mapped when booting laptops

$
0
0

Hi
We have a strange issue. We are mapping network shares using GPO drivemaps. This work fine on our desktop computer, but for some laptop users , they don't get their shares when booting up and logging on to the domain.

Laptops are encryptet with Mcafee endpoint encryption and we are using Mcafee endpoint security.

I found this error in the system log :

Error,22-01-2020 11:30:01,Microsoft-Windows-GroupPolicy,1129,None,"The processing of Group Policy failed because of lack of network connectivity to a domain controller. This may be a transient condition. A success message would be generated once the machine gets connected to the domain controller and Group Policy has successfully

I have tried updating the lan driver , with no result .

Could this be a DNS issue maybe  ?
Has anyone else experienced this issue ?

I am finding garbled text in the DC

$
0
0

Please assist with the below question.

I am finding a weird audit log in my DC, there is a audit failure with an Account name that is garbled(unreadable), i have checked the DC for recently created usernames but it does not look like an Account Name like that was ever created. Please see the attachment.


DNS Warning 4013

$
0
0

Hi all,

I just restored a bad Active Directory managed by two domain controllers. Now that's all working fine I've a strange warning in DNS events, the 4013 one. It says that DNS server is waiting for Active Direcotry Services to start, but it's started and the DNS server is working fine. I receive this warning in one server only and every time i start it.

Seldom this warning is generated by a misconfiguration of DNS entries on the DC, but i've correctly set the two DCs to be one the primary DNS server for the other one, so DC1 has DC3 as primary DNS and DC2 has DC1 as primary DNS. Both then have them own as secondary DNS server not with loopback address, but with the IP address.

I tried to set DNS server service to manually start. Once the server is rebooted i receive no errors since DNS server is not started, then when i start it manually the event viewer doesn't generate errors or warnings or infos at all. 

The stranger thing, in fact, is that when i stop/start/destroy the dns server i don't receive errors, but neither infos, like infos 2 or 4 i mean.

Could you suggest me some procedures to try?

Thank you!


Riccardo Verdi

Enable computer based screen saver not user based.

$
0
0

Hi

im looking for a solution that can enable a screen saver based on computer setting and not on user settings. wether user logged in or not screen saver should appear on the screen. is this solution possible? can i push this setting through a group policy from domain?


Roy

Problem creating a second DC (for future replication). Can anyone help?

$
0
0
Text error:

The operation failed because: AD DS is missing critical information after installation and cannot continue. If this a replica AD DS? rejoin this server to the domain "Directory object not found"

Domain Controllers on different OS versions

$
0
0

Currently we have 3 Domain Controllers running our Active Directory.  One is running Windows Server 2016 and two are running Windows Server 2012 R2.  Our domain functional level is at 2012 R2 and we need to keep it at that for a while longer.  We also just purchased two new domain controllers that we are ready to setup and add into our environment.  

We need to get the two new ones up and running before I can upgrade the two that are running 2012 R2.  Can I install Windows Server 2019 on the two new ones?  Will it work to have domain controllers running 2012 R2, 2016, and 2019?

Does mail contacts require Exchange?

$
0
0

We will be decommissioning our Exchange server this year but there is a need to record email addresses for certain users and have them be members of groups without giving them an actual AD domain account.  This is a hack to fix some potential issues we will be having once we decommission our Exchange server as part of an integration effort with another company.

Is Exchange required to create mail contacts in AD?  Thank you for any guidance!

Best,

Jen

Viewing all 31638 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>