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.
active-directory
16,321
questions
0
votes
0
answers
8
views
Batch get sessionname by logon to check if RDP or not
I am trying to check if a user who logs on is in an RDP session or not. On logon, the AD logon script in Batch for the user is triggered. If the user is in an RDP session, no printer and no Network ...
0
votes
0
answers
10
views
Remove schedule task from GPMC is troublesome
I have recently created a schedule task that runs a batch script but i ended up removing it because of the limitation of showing prompt window even for less than a sec (i know there are alternative ...
0
votes
0
answers
10
views
Delete SidHistory of AD Object from Domain Controller using c#
I am looking for a way to remove the SidHistory from Active Directory.
I have tried clearing the attribute using directory services with no success
I am able to achieve it using PowerShell, but I want ...
0
votes
2
answers
18
views
AD Group Vs Ldap Netgroup
i am trying to understand if there is any difference between AD group and LDAP netgroup
My understanding is ldap is used to access the ldap server which is active directory in this case.
How is sudo ...
1
vote
1
answer
25
views
extract specific string from the field returned
Class CustomAdInfo {
$UserName
$Group
$Email
$Manager
}
[char] 'y'..[char] 'z' | ForEach-Object {
$getADUserSplat = @{
Filter = "Name -like '$_*'"
...
0
votes
0
answers
20
views
filament login using azure active directory not working [closed]
I tried to use this plugin https://filamentphp.com/plugins/chrisreedio-socialment but after I logged in it redirected me to the login page without any notification or a sign that it was successful if ...
0
votes
0
answers
18
views
Users cant edit own personal info in AD
I faced such a problem that users cannot fill in the office and description fields in AD. Previously, a script worked to add the computer's name to the user when logging into the session. It stopped ...
0
votes
0
answers
18
views
How to filter active users in SQL dialect for ADSI search?
I tried to use SQL queries to get active users from ActiveDirectory, using SQL Dialect.
However, documentation about it seems incomplete to me.
For example, how can I get only active users? (Flag that ...
1
vote
1
answer
53
views
Pull of AD users managers name and email to existing script powershell script
I currently have a script which I am trying to alter, which is able to pull of from AD groups Usernames, Name, Email and Managers:
$ou = 'OU=OUoftheADgroups,OU=My,DC=Domain,DC=net'
Get-ADGroup -Filter ...
-1
votes
0
answers
26
views
How to Create a Custom passfilt.dll for Active Directory Password Policy Enforcement? [closed]
I need to create a custom passfilt.dll to enforce a more stringent password policy in our Active Directory (AD) environment. The default AD password policy is not sufficient for our security ...
1
vote
1
answer
73
views
Unknown value in PowerShell Custom Object
I'm a beginner to PowerShell and Active Directory. I have grabbed below PowerShell script from the internet, intending to get all AD Users of Users type (in the Organization) and his all AD Groups he ...
1
vote
0
answers
30
views
Getting Active Directory "SecurityDescriptor" attribute in .net core on linux machine
I'm using the following c# .net core code to get the ntSecurityDescriptor attribute from Active Directory server.
I'm using the Novell.Directory.Ldap library because I need this code to run on a Linux ...
0
votes
0
answers
25
views
LDAP Integration for Laravel Project
I am currently having a trouble when authenticating a default, non-modified AD user in my Laravel Project. I am using this extension called LdapRecord-Laravel
Before making this post I made sure that ...
0
votes
1
answer
103
views
CryptAcquireCertificatePrivateKey() fails with error CRYPT_E_NO_KEY_PROPERTY
This is the setup
AD CS (windows server 2019 Hyper-V VM)
Created a new template by duplicating smartcard logon template.
Changed provider to Microsoft Software Key Storage Provider.
Algorithm is RSA ...
0
votes
0
answers
29
views
OpenID Connect authentication in ASP.NET Core: filter by tenant ID
I am developing an ASP.NET Core MVC application that uses Microsoft Entra ID for authentication. The application is designed to support multiple tenants, and I want to restrict access so that only ...