Questions tagged [active-directory]

Active Directory (AD) is a distributed directory service created by Microsoft. It stores all information and settings for a deployment in a central database. AD allows administrators to assign policies, deploy and update software. AD networks can vary from a small installation with a few computers, users and printers to tens of thousands of users, many different network domains and large server farms spanning many geographical sites.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

AD authentication for podman containers [closed]

I'm working on a network that has a Windows Server acting as a DC/AD. All of our RHEL VMs are domain joined and I can use my AD account to log into each one. I am using one of the VMs to run podman ...
VKH's user avatar
  • 9
0 votes
0 answers
13 views

How to query the Active directory for a users email using the UPN\username from a domain joined machine

How to query the Active directory for a users email using the UPN\username from a domain joined machine How to query the Act2kdk2dkjd2kkd2wkbkbkbewbkjcwbkbcjewive directory for a users email using the ...
Sherwin Dourado's user avatar
-1 votes
0 answers
16 views

MSAL Authentication using WKWebview The API is expecting Post but getting get request for PWA app

MSAL Authentication using WKWebview The API is expecting Post but getting get request for PWA app Created the PWA APP and Trying to publish the via PWA Builder to Apple Store but WKWebView is giving ...
chetan's user avatar
  • 1
-1 votes
0 answers
23 views

Is kerberos ticket validation in AD required?

I have an application with kerberos auth. I implemented it with spring-security-kerberos. I also used the com.kerb4j.kerb4j-server-spring-security for reading group SIDs from kerberos ticket. I used ...
Kamilox's user avatar
  • 53
0 votes
1 answer
30 views

Can't check user IDs in AD to see if they are active via PS

I am trying to load in a list of users and want to run each user against AD to see if their account is still active in AD or not. When I run the below PS script, I get a CSV file that says every ID ...
Tek_Sten's user avatar
0 votes
0 answers
12 views

Debian 12 - Domain Controller [closed]

I search to know how to introduce my Debian 12 PC to my domain controller. For this, all my device are a Virtual Machine, I have a Windows PC, a Windows Server 2022 with the AD DS role, and a debian ...
Elthraï's user avatar
1 vote
0 answers
73 views

Unexpected internal Active Directory error when calling New-ADUser

Something strange happens to me. I have created a simple code to create users in Active Directory in PowerShell using the splatting structure. A few days ago everything was going wonderfully until I ...
unkas's user avatar
  • 11
0 votes
1 answer
47 views

Switching from a hybrid AD (Active Directory) to cloud only

I am currently doing an internship, and at the moment, I am working on figuring out how the company where I am interning can transition from a hybrid Active Directory to a cloud-only setup. This is ...
User122333's user avatar
0 votes
0 answers
37 views

How do I change an AD users password given his current credentials?

The function should be straight forward... here's an example of one. I have another that uses NetAPIi32.NetUserChangePassword(). In both cases, I get this error: The password does not meet the ...
Iunknown's user avatar
  • 355
0 votes
1 answer
44 views

Powershell Get-ADUser fails for Date properties due to invalid Win32 FileTime

The below powershell command works for most of the accounts. import-module activedirectory Get-ADUser <account> -Properties * For some accounts, I get following error Get-ADUser : Not a valid ...
user avatar
0 votes
0 answers
57 views

Use Samba AD DC as Password Backend for Samba PDC

Experts I've got the following situation: Old Samba-server data.company.com Version 4.6.7 Configured as a PDC with workgroup = COMPANY for a population of Windows hosts with the following ...
Tipsyeagle's user avatar
-1 votes
0 answers
14 views

How to identify the source and renew unknown certificate installed on each server in the active directory? [closed]

I have a windows server environment and certificate installed on every server. Looks like this certificate is distributed globally because I can see it on every server added in the domain. the ...
Yavor I's user avatar
  • 75
0 votes
0 answers
10 views

Django logon SSO through Active Directory without any actions with DC server

We are moving from Java-GWT-Tomcat on Python-Django-Apache. We have Active Directory and SSO mechanism as getting users member groups info. It's made with Waffle and it's doesn't require any server-...
Mike K's user avatar
  • 63
0 votes
1 answer
27 views

How to write to the Active Directory group property "info" with Powershell

In the Active Directory Users and Computers GUI, I was able to write a comment in the Notes box. When using Powershell, I can retrieve that with Get-ADGroup $_ -properties info. But, while the Set-...
Roman's user avatar
  • 376
1 vote
2 answers
72 views

Create AD users and assign to a group from a CSV with PowerShell

I am setting up a script to create users on my ad however I am stuck on two things: how to add users to the group and how to create a sharing folder for each user map to the letter P I leave you my ...
Joe H's user avatar
  • 11
0 votes
0 answers
17 views

Deploying a Printer (hosted on a print server) using Group Policy

Good day! May I know the difference between the two? (please see image below) https://i.stack.imgur.com/RE6eS.png I have been trying this for a while now and seems to be not working and I think I ...
DevOpGPC9X's user avatar
0 votes
0 answers
33 views

Uninstalling software in Active Directory [closed]

We use Microsoft Active directory, in our company. We have around 430 PC's joined to it. There are couple of software that are outdated and we also don't need them, so we need to uninstall them. There ...
vijay shankar's user avatar
0 votes
3 answers
49 views

get AD users inside the groups and subgroups of OU (not duplicated)

I want to get email address of all the users that are indirectly in one OU, in that OU there are groups and the groups members are sometimes groups and sometimes users (I need all the users in all ...
atefeh kasiri's user avatar
0 votes
0 answers
39 views

Error in powershell activedirectory cmdlet [duplicate]

I've been struggling for a few days with a simple PowerShell script to create users with certain attributes for my company. The goal of the script is for users to always contain certain attributes to ...
unkas's user avatar
  • 11
0 votes
0 answers
20 views

Elasticsearch integrations AD

I did the elasticsearch Active Directory integration, and everything works except that now I can’t log in as a local user, maybe someone knows what the problem is? before the integration was done, it ...
Dima Stepchenkov's user avatar
0 votes
0 answers
25 views

Exclude an entire OU when GCDS does a sync

In Google Cloud Directory Sync Config-Manager, I am trying to exclude the Schools that are not of particular interest by doing the following regex pattern under Org-Units-->Exclusion Rules OU=...
CodeNinja's user avatar
0 votes
0 answers
32 views

MS Active Directory users group membership through nested ldap group

We have a up to date ArtifactoryPro deployed on-premise with MS Active Directory connected. Everything works out if user of synced groups have direct membership of these groups. Our problem as example:...
sobolog's user avatar
0 votes
1 answer
16 views

Query Active Directory User and Computers for Users that have a disabled manager

I was wondering if there is a way to create a "Saved Query" that lists all the "Active" Users that are assigned to a "Disabled" user as their manager. Right now, I am ...
Mike P.'s user avatar
  • 13
0 votes
0 answers
39 views

GPO startup script keeps re-installing appls

Hi I have the following issue. I have a PowerShell script to install software on domain users pcs using a GPO running on Active Directory Server. It installs the software successfully but when I ...
Demis84's user avatar
0 votes
1 answer
32 views

Use DirectorySearcher to find members of a distribution list in another domain using PowerShell

I am using the below code to query AD. Our company has 2 domains: DC=one,DC=ad,DC=example1,DC=com (one.ad.example1.com) DC=two,DC=example2,DC=com (two.example2.com) And: Both domains have users The ...
IMTheNachoMan's user avatar
0 votes
0 answers
29 views

Trying to find active AD users for the last 12 months (LDAP Filter with Get-ADUser Powershell)

Hi see this question here This question is a follow up to the linked question Using the references to LDAP filter in the linked question. I tried to look for active users by combining WhenChanged is ...
Ian W's user avatar
  • 401
1 vote
1 answer
42 views

Finding an Expired AD User since the start of the year with Powershell

I am preparing for an audit and trying to get our data via PowerShell, which I am a noob to. I am using the Search-ADAccount command to list our Expired AD users, I now have to show the Expired users ...
Ian W's user avatar
  • 401
2 votes
1 answer
68 views

How to Remove foreign user group aliases in Windows-11?

Background: In an attempt to change language settings for a Windows-11 Home edition, from ES to US. I managed to get most changes done, but there are still several other items* returning in Spanish. ...
not2qubit's user avatar
  • 15.1k
-1 votes
0 answers
21 views

Powershell script to Add AD Groups to Add respective servers

We have to Add AD Sec Groups to Respective Servers Administrator Group. We have the 800+servers & Groups in Csv file, Column A we have the servers name, Column B we have the Groups name with ...
Srini's user avatar
  • 1
-1 votes
1 answer
137 views

Cannot log in to Azure Databricks account console

I am trying to log in to the Azure Databricks account console for the first time. Although I am logged in into Microsoft Entra ID (formerly Active Directory) as global administrator this does not work....
38fuenf's user avatar
2 votes
0 answers
103 views
+100

How to sort SDDL DACL aces in canonical order?

Based on this I use library https://github.com/Tirasa/ADSDDL for manipulating SDDL implementation("net.tirasa:adsddl:1.9") To enable flag user cannot change password I use following code ...
gstackoverflow's user avatar
0 votes
2 answers
74 views

How can we get the delta of members for custom directory roles in Azure AD / Entra Id

I created a custom role in Entra ID and followed below steps: Not I am trying to list out the directory roles using https://graph.microsoft.com/v1.0/directoryRole/delta but it does not detect it. I ...
Taslim Arif's user avatar
1 vote
1 answer
67 views

I need to add a filter to a powershell script that leverages the Miscrosoft Graph SDK module

I am using a Powershell script that uses the Microsoft Graph API SDK to create a CSV and then drop that CSV into "C:\temp". The CSV contains two columns. Column 1. All of our on-prem AD and ...
Mickey J's user avatar
0 votes
0 answers
29 views

NTAccount.Translate() The trust relationship between this workstation and the primary domain failed

I have a desktop app (C# .NET, Windows 10/11) which attempts to retrieve information from the Active Directory. A call to NTAccount account to retrieve the identity of the machine and get the Security ...
msporek's user avatar
  • 1,189
0 votes
0 answers
16 views

I can run Get-ADuser on a machine that does NOT have RSAT installed. How is this possible? [migrated]

I am trying to run Powershell Get-Aduser on a new PC and when it did not run, installing RSAT Domain Services and Lightweight Directory Services Tools fixed the issue. HOWEVER, I have another PC that ...
Hand's user avatar
  • 1
0 votes
0 answers
101 views

Authentication in .NET 8 web app allowing 1) Entity Framework / Identity as well as 2) SSO using Microsoft Entra/AAD, and Google - can't do both 1 & 2

I have a .NET 8 Web Application that I want to allow authentication using Entity Framework / Identity, as well as SSO using Microsoft Entra / Azure Active Directory (AAD), and Google. I can get all ...
user5974635's user avatar
-2 votes
0 answers
36 views

Access and open Windows user details page

I need to open the windows user details page and read the information. But access to this page is limited. I want this window to pop up without an intermediary when I click on a button in qt During my ...
samaneh's user avatar
0 votes
0 answers
35 views

Setting up Microsoft Entra and Office 365 with AWS domain Hosting, redirection problems when loging in

This is for a school project, we are simulating a company environment and I'm trying to setup an Active Directory with entra, I bought a custom domain from Namecheap, and Hosted it with AWS. I had ...
BrianSal05's user avatar
0 votes
0 answers
23 views

Running GitHub Actions unders specific, existing Windows user

I am trying to run a GHA workflow in a GitHub-hosted runner for Windows (windows-latest) under a specific, already existing Windows user instead of the default C:\Users\runneradmin. Options involving ...
JSalazAlt's user avatar
0 votes
2 answers
69 views

I need to add a whole list of people to an Active Directory Group

I know how to add a single member: Add-ADGroupMember -Identity "Adobe-Acrobat Standard DC" -Members Lgonzalez I want to add multiple members in a single operation. I know how to do it by ...
Cristian Morales's user avatar
1 vote
0 answers
30 views

LDAP groups by displayName on jenkins

I'm using LDAP to connect to an AD instance for jenkins user auth and I would like to manage user permissions by LDAP groups My Group search filter is set to (& (objectclass=group)(displayName={0})...
Chirlo's user avatar
  • 6,021
0 votes
0 answers
13 views

Synology Directory Server (SAMBA4) - change Password on Website

I'm using the Synology Directory Server (Samba) as Active Directory in our local voluntary fire brigade for our Client PCs, Internal Website, MediaWiki, WLAN,... Most of our users don't use the client ...
reinmanu's user avatar
0 votes
0 answers
43 views

Kerberos Authentication implementation in ASP.NET MVC 5(not core)

I am not able to find any proper resources which can show how to implement kerberos authentication using ASP.NET MVC. The resources which I am getting are either partly coded or is mainly based on ...
akash pal's user avatar
0 votes
0 answers
33 views

How to use powershell to determine which PC an Active Directory user is logged into

I am working on an application to allow system administrators to log out a user who has left their station. Do do so I need to determine which PC the user is logged into. According to ChatGPT (...
Geoff's user avatar
  • 353
0 votes
0 answers
46 views

git clone authentication failed when AD auth changed

Recently we changed the authentication method at the backend for AD as NTLM V2 in the Samba auth methods and while this was changed, though the server login and other login methods to RHEL7 machine ...
Akhil S's user avatar
  • 29
0 votes
0 answers
28 views

Powerbi.com not passing credentials to Snowflake

We are trying to use Snowflake security policies and user roles to allow our customers to only see their data through Power BI reports. The issue is when our users access the published report in ...
Chris S's user avatar
0 votes
0 answers
36 views

AuthenticationException when trying to Get-ADUser

Trying to get info about AD user from Jenkins Pipeline script (powershell plugin 2.0, i think), got an AuthenticationException That is my pipeline with powershell: #!/usr/bin/env groovy pipeline { ...
malltaf's user avatar
  • 11
1 vote
1 answer
106 views

How can I speed up the counting of matching entries between two large arrays in Powershell?

I am trying to count the number of matching elements between two large Powershell arrays/collections generated by capturing Active Directory ("AD") data. However, it is very slow. Concept ...
DIV's user avatar
  • 65
0 votes
0 answers
28 views

Active directory change first name size limit

I want to change the maxmium length allowed for first name to 5, how do I do it? I understand I can write more than it but when I press next/ok it should say error or something like that. Does ...
SomeGuy's user avatar
0 votes
0 answers
15 views

How to retrieve FQDN of ActiveDirectory domain from the workstation with node

How can I obtain the FQDN of the Active Directory domain a workstation is joined to, with nodejs? For example, if I'm running nodejs on a windows workstation joined to the example.com domain, how do I ...
Neobyte's user avatar
  • 386

1
2 3 4 5
325