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

DFS Replication dfs servers and file server

$
0
0

I got in my lab this situation:

2 sites with in each site a memberservers with DFFS namespace and replication role installed and a fileservers(with nothing installed besides the filserver role and some shared folders)

If i want the 2 dfs servers to handle DFS for the 2 fileservers, is that possible? IF so, how should i do that? Install the replication role also at the file servers?


Export AD Users with Custom column in CSV

$
0
0

I would like to export users from a defined OU into a CSV. I need to use an IF statement for one of the active directory attributes to determine what info is displayed in a particular column.

For Example:

The CSV should have 5 columns Display Name, Username, Email, Level, Department

The Level column is not an attribute in active directory, the other 4 are attributes, I can't figure out how to display what I want in the Level column.

If the department field in active directory equals GR 0K, I want the Level column in the CSV to show the word "kind"

If the department field in active directory equals GR 01, I want the Level column in the CSV to show the word "first"

If the department field in active directory equals GR 02, I want the Level column in the CSV to show the word "second"

If the department field in active directory does not equal any of the above, I want the Level column in the CSV to show the employeeid attribute from Active directory


Question about 'account options' on the AD user need to include 'this account supports AES 256 bit encryption'

$
0
0
I read the following blog post,


https://social.technet.microsoft.com/wiki/contents/articles/36470.active-directory-using-kerberos-keytabs-to-integrate-non-windows-systems.aspx

The post says 'account options' on the AD user need to include 'this account supports AES 256 bit encryption'

I build an new Windows 2019 DC (all default settings)

I added a new AD user, entered the password and left everything else at defaults

I created a KeyTab using AES-256 only

I take the KeyTab file to a standalone Ubuntu client with Kerberos installed

From the Ubuntu server I execute kinit -k -t <kytabfile> <principal>

I get a TGT encrypted with AES-256 (e.g. klist -e)

The thing is the principal (lets call him Fred) does not have the check mark against his account  'this account supports AES 256 bit encryption'  but I still get back an AES TGT

Can someone kindly explain at to me?

In other words if 'account options' on the AD user need to include 'this account supports AES 256 bit encryption' in Not selected, why do I still get a TGT encrypted with AES?


Or does this setting only apply to Service Tickets I would receive back from the KDC (DC)?  fo example a Service Ticket to a Linux/WEB Server (whose SPN in listed against Fred and the one in the KeyTab file)

I do not have a WEB server installed on Linux so I cannnot test this part

If someone could explain this to me I would be most grateful
Thanks
CXMelga

AD DS unable to establish connection with a Domain Controller

$
0
0

Hello all!

We are having trouble bringing up a second domain contoller in an AWS VPC.  The First DC went up fine.  It promoted, installed DNS etc.  We were able to join three servers to the Domain it now hosts.

When we try to bring up a second DC, it hangs at "Configuring the local computer to host Active Directory Domain Services."

The last entry on the Active Directory Domain Services Configuration Wizard reads: "A delegation for this DNS server cannot be created because the authoritative parents zone cannot be found or it does not run Windows DNS server."

The last entry in the Event Log is Event ID 1962, "Internal Event: The local directory service recieved an exception from a remote procedure call (RPC)."  Error value is 2148074306.

Another entry in the Event Log is Event ID 1125, "The Active Directory Domain Services Installtion Wizard (Dcpromo) was unable to establish connection with the following domain controller."  Error value 2148074306.  The encryption type is not supported by the KDC.

I checked the encryption levels in the Local Security Policies, ADUC object attributes and GPOs.  They are all identical.

I also tried restart the KDC service on the DC.  That didn't work either.

Any help would be appreciated.

CredSSP error on domain joined workstations

$
0
0
Unable to understand this situation. All workstations without domain are able to take remote sessions without difficulty, While all domain joined workstation throwing error of CredSSP oracle server remediation.

How to link my active directory forest root domain to my purchased domain ?

$
0
0
suppose I have a domain named  mycompany.com. and I deployed a active directory in windows server 2012 R2  whose forest root domain is  AD.mycompany.com so how can I link to my domain. I have searched so much on the web but not able to find much. Can anyone please help me with this ?

Naming information cannot be located

$
0
0

Hi TEam,

Im getting atatched error "naming information cannot be located......." in my Additional Domain controller while accessing"Active Directory users and computers".

AD Replication not working between all DC

$
0
0

Hello Expers,

We have issue with AD replication that All DC can not replicate and also sysvol and netlogon folder is not created in other DC

Sysvol and netlogon is only created to DC where FSMO roles are resides

But in this Good DC there are events of with event id :13568

The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.

 

 Replica set name is   : "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"

 Replica root path is  : "c:\windows\sysvol\domain"

 Replica root volume is : "\\.\C:"

 A Replica set hits JRNL_WRAP_ERROR when the record that it is trying to read from the NTFS USN journal is not found. This can occur because of one of the following reasons.

 

And on the BAD DC where it sysvol folder is not created there are event of13508

The File Replication Service is having trouble enabling replication from CONWHOCDC01 to CONCLOPDC01 for c:\windows\sysvol\domain using the DNS name CONWHOCDC01.mydomain.com. FRS will keep retrying.

After googling it suggest that to change the registry , but I am not sure it will resolve this error and sysvol folder will be created as we have only one working good DC in enrvironemt and others have replication issues.

Please suggest and help to resolve this replication issue between DC.

Thanks


Thanks , Prakash ,Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.


attribute editor for computer object

$
0
0

2012 R2 domain. i'm a domain admin, i've enabled advanced features in ADUC. i can see the "attribute editor" tab when i open a user's properties, but i do not see an "attribute editor" tab when i open a computer's properties. is that expected? 

Domain account keep locked out?

$
0
0

Hi everyone,

The domain account lockout issue has been continued for few month, but i have yet to found any solution, appreciate if anyone can provide me some feedback on this.

Our work from home user, login laptop using local account to work from home, for me there's no account lockout issue, however the account lockout issue has been happening to few of our user. not sure why this is keep happening to few of the user.

Here are the thing user need to enter in order to WFH:-

Local account: .\eric

Password: local account password

Login VPN: eric

Password: window domain password

Then connect skype for business: eric@contonso.onmicrosoft.com

Outlook: eric@contonso.com

password: window domain password (outlook will prompt for password everytime user open outlook)

I have also created .bat file for user to connect network drive so that there's no saved credential.

the batch file to connect are as below:-

net use Z: \\Shareserver /persistent:yes

pause

Troubleshot step taken:-

Clearer credential manager

Removed share drive connection

Removed skype for business

But the problem still persist for the user, but for my own account i did not face such issue.

Any one ?

Much appreciate.

Thanks.

Global catalog

$
0
0

After adding a new domain controller, in the below command Global catalog is blank. Whereas if I query through the command " Get-ADForest domain.com | FL GlobalCatalogs" it lists all DC servers.

PS C:\Users\dcuser> [system.directoryservices.activedirectory.Forest]::GetCurrentForest()

Name                  : domain.com
Sites                 : {SITE-A1, SITE-B1, Site-C1}
Domains               : {domain.com}
GlobalCatalogs        : 
ApplicationPartitions : {DC=ForestDnsZones,DC=domain,DC=com, DC=DomainDnsZones,DC=domain,DC=com}
ForestModeLevel       : 6
ForestMode            : Windows2012R2Forest
RootDomain            : domain.com
Schema                : CN=Schema,CN=Configuration,DC=domain,DC=com
SchemaRoleOwner       : DC2.domain.com
NamingRoleOwner       : DC2.domain.com

Shared Drive Mapping | User Based | DFS 2019

$
0
0

Hello Experts....I am trying to map multiple shared drives to multiple domain users VIA GPO. For Ex I am trying to map a single shared drive to multiple domain users (users are of multiple OU).

I am trying to map shared drive via "Item level" Triggering for a single user as well as multiple users, but only single user triggering is happening and drive getting mapped. 

Please help me map shared folder for multiple users.

PS:

OU based triggering is working successfully.

Thanks,

Sim...


Windows 2016 Failover Cluster Fails Active Directory Authentication

$
0
0

Hello All.

I originally posted this to the High Availability forum but it was recommended that I post this to the Directory Services forum, so the below is a copy-and-paste of my original post.

I have an environment with three domain controllers all within the same site that are replicating between each other.  We set up a Failover Cluster on two Windows 2016 nodes and noticed that it failed the Active Directory Configuration validation tests.  The nodes failed this one test 100% of the time.  After digging in the Event Viewer, we noticed that the error messages for cluster creation included the message "A more secure authentication method is required."  We require the the group policy setting "Domain controller: LDAP server signing requirements" to be set to "Require signing", but out of curiosity we set it to "None" and lo and behold, the nodes started connecting to Active Directory.

But it doesn't end there.  Although the Active Directory validation tests started succeeding, they only succeeded sometimes.  In other words, sometimes Node 1 would succeed and Node 2 fails, sometimes Node 1 fails but Node 2 succeeds, sometimes they both fail, and sometimes they both succeed.  Through a long mess of troubleshooting, we found out that if we removed one of the domain controllers from the DNS IP list on the nodes' NIC IPv4 properties, the validation tests would succeed 100% of the time.  This points to a DNS issue, I'm guessing, but I'm not too sure.

When querying the domain suffix in nslookup, all three domain controllers return the correct IPs.  All three domain controllers respond to port 636 and offer the correct certificate.

So my question is two-fold:  what is preventing the nodes from connecting to Active Directory while LDAP server signing is required, and what manner of DNS issue prevents them from connecting if it is not?

Different Policies

$
0
0
How can I set up different policy groups for different computers in a domain? I want to divide computers into two groups - virtual and physical. and set different update policies (via group policy) to each of that group.

Reject disabled user logon attempts.

$
0
0

Hi,

We have a high amount of logon failures from a user account that belongs to a former employee.

It seems the credentials is being used in an email app from an Android device as we can see in the Exchange servers logs.

The user account is disabled but that doesn't avoid the logon attempt.

Is there any possibility to reject that kind of user logon attempts?

We're somewhat afraid of the DCs resources depletion.

Thank you. 


PKI-related issue with Domain Controller and "custom" certificate

$
0
0

I'm honestly not sure if this is a PKI-related issue involving AD, or an AD-related issue involving PKI...  But there is no PKI-specific option under "Windows Server" for this forum site.

What I'm trying to do: Use a special Domain Controller certificate template to make a certificate request on a DC which includes a list of SANs (Subject Alternative Names). (Yes, I know auto-enroll will not work!!) With a SAN, you can use a load-balancer with Secure LDAP (port 636/tcp) and a common name.

I've done this before and it worked great. Downside is you have to manually renew certs. Not a problem here. I am NOT trying to publish the certificate into AD: that option is UNchecked in the certificate template.

The issue is that I am getting this error on the step where I run the command

    certreq -f -submit -config "ca.corp.nydomain.com\My PKI Name" $csrFile $certFile

Where I get an error:

Certificate retrieved(Issued) Issued  Could not publish Certificate.  Insufficient access rights to perform the operation. 0x80072098 (WIN32: 8344 ERROR_DS_INSUFF_ACCESS_RIGHTS)

In the CAPI2 event log, the only message helpful is:

The certificate is not valid for the requested usage.
[ value] 800B0110

I actually cloned the new template from the default/built-in "Domain Controllers" template, it's just be updated to 2012 R2 with some other parameters for the usage I am trying implement.

I've gone through all the things that come to mind, like special rights for "cert publishers" on the template, making sure the "Domain Admins" and "Domain Controllers" groups have rights... I'm not sure if I've MISSED something simple!!!

I'm probably going to have to open a Premier ticket, but I was hoping that someone might point out something obvious I've missed.

The domain structure is a root domain, and I am working in a sub-domain, and the AD-integrated PKI servers are domain members of a different sub-domain. (So "A" is the root domain, "B" is the corp sub-domain, and "C" is the sub-domain under "A" in which I am working on with the DC's.)

The DC is Windows Server 2012 R2 and the CA server is Windows Server 2012 R2.

Any thoughts would be greatly appreciated!!


-- Rob "I" --

Account Lockout 4740 with no caller computer and no bad password attemps

$
0
0

I know there is a lot of stuff on how to track lockouts, but I've never had issues before. The list of things I tried below is not likely complete since I started looking at this before the COVID-19 situation hit and am just getting back to it now.

I have an elevated account for one of our network engineers that is locking out on a consistent basis. There is a 4740 event generated on the same DC on a consistent basis. The caller computer is blank. There are no other logs for this account on the DC or in our SIEM, which includes events forwarded from workstations.

The account locks when the user's machine is off.

The lockout tools state that there are bad password events on the DC, but there are none in the DC log and none in the SIEM.

There are no events on the local workstation for this account.

We have Netlogon logging enabled on the PDC and the local workstation and the account never shows up.

Cred manager for the user, user's elevated account and SYSTEM account on the workstation have been cleared.

I've checked the NPS logs on radius and there is no record of the account in those logs.

I'm a little stumped because I'm not sure how else to trace this. I always manage to trace these back, but this one has me banging my head against the wall since there are simply no records of this account doing anything except the lockout events. I suspect it is being used on a network device but without a caller computer name or a bad username/password event with an IP, I don't know of another way to trace this.

I was contemplating trying to capture network traffic to the DC, but that's a lot of traffic to sort through and I'm not sure if I would be able to filter it enough to determine the source of the lockout.

I'm looking for any other thoughts on places I can look or how I can track where the 4740 originates from.

Thanks in advance!

WB

Domain Controller resolving multiple IPs on nslookup

$
0
0

Hi 

On premises DC in my company is resolving to multiple IP address when i do nslookup. 



In this screenshot, only .224 and .225 are correct. How can i remove all others?

I would appreciate if someone can help?

Regards

Qasim

Name Servers Maximum

$
0
0

Hi Members,

If we had to build 2 Domain Controllers for each location. on-prem or on Cloud. with so many regions.

How do we manage the Name Servers. esp. each location has to go to their local DC's for authentication with subnets on site and services.

How to know the maximum number of Name Servers before the nslookup -d2 <domain name> fails with

connect failed: Result too large

How to overcome this?


Venu

How to add headers along with body to rest api in AD B2C custom policies

$
0
0

We are using Azure API management and we are migrating all api to api management. In this process we need to change some of the rest apis that are used in AD B2C custom policies. These apis are POST apis and we are sending the claims in the body. Now, as we are moving to apim, we need to send the subscription key in the headers. We did not find any way to send the header along with body to the rest apis in AD B2C custom policies. Please let us know how to do this. Appreciate your help.

Thanks.

Viewing all 31638 articles
Browse latest View live


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