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

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 


Period One-Way Trust Domain Failures between our domain and another

$
0
0

Good morning,

For the past few months I have been at wits end attempting to troubleshoot this issue. I'm hoping you can help. 

Our setup: We have a one-way outgoing trust with our parent corporation. Around approximately every 3 weeks, we seem to lose the trust with this domain. On both sides we are currently using conditional forwards to DNS, however this is a little bit tricky since they can only have the trust with 2 of our domain controllers (out of 8 possible for the domain) and we can only have a trust with whatever domain controllers we allow through the firewall, though they have almost 100 different domain controllers.

Sometimes we have thought this was a DNS issue but it doesn't behave with that issue every time, much like this last time. I did enable DNS debugging to see if I could get some sort of logs for this, but nothing has been useful. Running the nltest /sc_verify:domain.com command will either result in a success, or "ERROR_NO_LOGON_SERVERS".

I can't help but wonder if this is a potential DNS round robin issue, where we get one of their near 100 domain controllers when simply looking for domain.com. I did attempt to point their domain to a specific IP address we use in the hosts file, however the secure channel never reconnected. Once I removed that, it then connected to another domain controller we have access to.

Are there any sort of logs, filters, or anything we can look into why this would be occurring every 3 weeks? This is quickly resolved by rebooting our primary domain controller, but I would love to squash this bug once and for all instead of having a regular issue.

Thanks!

Periodic One-Way Trust Domain Failures between our domain and another

$
0
0

Good morning,

For the past few months I have been at wits end attempting to troubleshoot this issue. I'm hoping you can help. 

Our setup: We have a one-way outgoing trust with our parent corporation. Around approximately every 3 weeks, we seem to lose the trust with this domain. On both sides we are currently using conditional forwards to DNS, however this is a little bit tricky since they can only have the trust with 2 of our domain controllers (out of 8 possible for the domain) and we can only have a trust with whatever domain controllers we allow through the firewall, though they have almost 100 different domain controllers.

Sometimes we have thought this was a DNS issue but it doesn't behave with that issue every time, much like this last time. I did enable DNS debugging to see if I could get some sort of logs for this, but nothing has been useful. Running the nltest /sc_verify:domain.com command will either result in a success, or "ERROR_NO_LOGON_SERVERS".

I can't help but wonder if this is a potential DNS round robin issue, where we get one of their near 100 domain controllers when simply looking for domain.com. I did attempt to point their domain to a specific IP address we use in the hosts file, however the secure channel never reconnected. Once I removed that, it then connected to another domain controller we have access to.

Are there any sort of logs, filters, or anything we can look into why this would be occurring every 3 weeks? This is quickly resolved by rebooting our primary domain controller, but I would love to squash this bug once and for all instead of having a regular issue.

Thanks!


LDAP Queries on user accounts

$
0
0
I am currently busy with a new AD structure. Basically moving accounts around, creating, re-naming, and deleting OUs, etc. There are tons of AD accounts that are being used for LDAP queries that have not been documented. Is there a way I can find out which AD accounts are linked or being used for queries by different applications? 

Need help with ADV190023 update

Troubleshoot replication issue

$
0
0

Hi,

I'm sorry if my english is bad but I'm french.

I audit customer infrastructure with 2 DC (1*2012r2 + 1*2019) with replication issue.

He had 2019 DC on last august month. He built it on the same geographic site than the first one and than put it on remote site.

I supposed since this moovment, they never replicated again because with repadmin /replsum I can see last date replication hapened succesfull was on august.

Tombstone is 60 days on the environment and repadmin indicate Tombstone delay is passed to allow replication again.

He have DC1 in site 1

DC2 in site 2

DC1 hold all FSMO roles

DC1 replication from DC2 is OK except for the sysvol.

DC2 replication from DC1 is not OK because of tombstone.

On site 1 there are around 60 computers.

On site 2 there are 5 or 6 only

I would like to understand only 1 thing.

What will happen if I reset DC password like I have to with this KB https://support.microsoft.com/en-us/help/2090913/active-directory-replication-error-2146893022-the-target-principal-nam

I 'm worried about put again all workstation computer in domain because secure channel with DC would be broken. I don't find any documentation about this and I don't want to face with : the trust relationsheep between this workstation and domain controler is broken when a user will try to log on.

PS: I asked to my customer to verify network connectivity between DC to allow all.

I tried port query and it seems ok until port 137 where the application don't moove. There is probably blocked and this could explain why they never replicate since the migration on the new site of the second controler.

I hope you understand my issue and if you need more details just ask me and I can give you it.

Thanks for your help :)


Merci de marquer comme reponses les interventions qui vous ont ete utile.

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?

syntax error

$
0
0

Hi All i am using the below query but still i am getting in output IT manager which i am not supposed to, experts guide me

$Input = “((Office -like '*XYZ*') -and ((description -like '*System Engineer*') -or (description -like '*System Manager*') or (description -like '*Manager*') ) -and ((description -notlike '*System Administrator*') -or (description -notlike '*IT Manager*')))”
Get-ADUser -Filter $Input -properties DisplayName,Userprincipalname,title,description,co,personalTitle



How to enable quick deployment from SCCM

$
0
0

Hi

i am working in a large environment where i install apps through SCCM. it takes long time to deploy apps after pushing from server. is there a way to acheive this in a short time so that apps are deployed quickly.


Roy

Export AD users Employee ID

$
0
0
Hi All

i have csv file which contains employee ids, i want to import this employee id and get the below information,
My CSV file is in below format
EmpID
50021
50024
50078

Get-ADUser -Properties DisplayName,Userprincipalname,sAMAccountName,title,Office,description | Select DisplayName,Userprincipalname,sAMAccountName,title,Office,description | Export-csv C:\data.csv -Notypeinformation

Experts please guide me

2. If employee id doesn't exits how can i know


Ghosts ADDS - DNS Server - unable to remove nor install Windows Server 2008 SP2

$
0
0

Hello, I have this scenario, two domain controllers in a 10.0.1.0/24 subnet
(srvmagaz01 WIN2K8 SP2 32 bits) ADDS-DNS SERVER-DHCP SERVER
(srvmagaz02 WIN2K8 SP2 32 bits) ADDS-DNS SERVER-DHCP SERVER
and three domain controllers in another subnet 10.0.0.0/24
(dgdc08 (fsmo) WIN2K8R2 64bits) ADDS-DNS SERVER-DHCP SERVER
(dgdc01 WIN2K16R2 64bits) ADDS-DNS SERVER
(dgdc02 WIN2K16R2 64bits) ADDS-DNS SERVER

I decided to remove srvmagaz02 as a domain controller, the server entered in a STOP error status: c00002e2, through this link I could lift the server to a "normal" state

Domain controllers do not demote gracefully when you use the Active Directory Installation Wizard to force demotion in Windows Server 2003 and in Windows 2000 Server

Once in normal state, I continued with the guide and try to remove the services of adds and dns server.
The current status for srvmagaz02 is as follows:

  • ADDS services and dns server are installed but in an error state and stopped, impossible to remove them with the windows installer.
  • servermanagercmd, does not allow the removal, it fails.
  • dcpromo / forceremoval, do not remove it, I take it as a new installation, the result is an error that says they are already installed.
  • For the ntdsutil command, srvmagaz02 does not exist as a domain controller, unable to do metadata cleanup.

Any solution? The server has installed PLC Software, SQL Server.

Thank you.

Valter.


Eng. Valter Lafratta IT Manager Del Giudice S.R.L. Termoli (CB), Italia.

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>

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

Query related to LDAP Simple Binding after installing March Security update

Conversion of Domain Controller from Evalualtion version to licensed

$
0
0

I have a domain controller running on 2016 Datacenter Evaluation version and the license is left only for few days now.

I want to make it licensed since the DC is critical  (Production DC in a multi - domain environment)

I have searched some forums and found the command ""DISM /online /Set-Edition:ServerEdition /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula" to make it licensed. However it says conversion is not possible on domain controllers.

My question here is, if I run the command, will it throw any error message and abort or  will it corrupt the AD Database?

What will be the impact? I don't want to test by running the command since it is in production.

Also any other solution to this problem would highly appreciated.


Event 7036 - The Software Protection service entered the running state.

$
0
0

Hi,

On my Windows Server 2012 R2 Domain Controller this event is logged every 30 seconds in the system log.

Searching on the internet didn't help me to get to a solution. Does someone has experience with this? Does anyone know how to get rid of it?


SSO for applications between multiple domain

$
0
0

Hi All,

One of our customer is having two seperate forests (A & B). Forest A contains applications and 15k users, migrating them forest B is the task going on now. External Trust ( Selective Authentication) is enabled between both the domains. A password management tool has been used to create a duplicate account in Forest B and sync the password of Forest A.

Prior to the migration SSO working for Forest A users and after migrated to Forest B the SSO of application is not working. They have to reenter the credentials once for access the application. is there any approach is available for enable the SSO of migrated users.

Thanks and Regards,

Hariharan

Raise Functional Levels - Two way trust with other domain

$
0
0

Hello everyone,

I have DOMAIN A, which has 2 DC's that are Server 2016 (current FFL and DFL of 2012 R2). There is a two-way trust in place with DOMAIN B, with 2 DC's that are 2012 R2 (current FFL and DFL of 2012 R2).

Would raising the FFL and DFL of DOMAIN A to Server 2016 cause problems with the trust in place with the other domain?

The help is much appreciated. Thank you!

Domain Accounts Are Unable To Access Network PC's via IP Address but Can Access via ComputerName

$
0
0

I'm having an interesting issue...  As the title states, in File Explorer I am able to access network PCs via ComputerName, but cannot access them via IP Address.  This issue only occurs while I'm logged in as a Domain Admin.  If I am logged in as a local admin, I am able to access all network PCs by both methods.  All PCs have static IP addresses and are joined to the domain.  Listed below are two scenarios for attempted to connect to other network PC's via file explorer.  In both scenarios I am logged into PC "GenPurp" with a domain admin account.  GenPurp has a static IP address of 192.206.233.70 and is joined to the domain. 

Scenario 1:

In the address bar of file explorer I type "\\192.206.233.51" and press enter (this is the static IP for our "Console" PC).  I receive the following error message:

"\\192.206.233.51 is not accessible.  You might not have permission to use this network resource.  Contact the administrator of this server to find out if you have access permissions.

Account restrictions are preventing this user from signing in.  For example: Blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced."

Scenario 2:

In the address bar of file explorer I type "\\192.206.233.51\c$".  I receive the following error message:

"Windows cannot access \\192.206.233.51\c$.  Check the spelling of the name.  Otherwise there might be a problem with your network.  To try to identify and resolve network problems, click Diagnose."

There is a drop down section for "See Details" that shows Error code: 0x80004005, unspecified error.   When I click Diagnose, the troubleshooter cannot identify a problem. 

When I am logged in as a Local Admin, I am able to successfully navigate to the Console PC at 192.206.233.51 without issue.  

I am able to connect to all network PC's while logged in as a domain admin and using the \\ComputerName or \\ComputerName\c$ formats. 

Note:  This issue happens with ALL PCs on the domain.  It doesn't matter what PC I am logged into, or which PC I am attempting to connect to, I get the same result. 

 

ldap active directory debug

$
0
0

hello:

I am configuring sap cloud connector to use keytab to authenticate but running into an issue where DC rejects the authentication method.  I have enabled debugging(ldap interface events) on DC to capture why DC is rejecting . unfortunately  logs from DC says

Additional Data
Error value:
87 The parameter is incorrect.
Internal ID:
c0c0095

is there anyway to get little more info from DC which parameter is incorrect on authentication and why it is rejecting .

I also tried from wireshark but did not get any info .

-thanks

Viewing all 31638 articles
Browse latest View live