Questions tagged [adsi]

18 questions
3
votes
2 answers

How do I search AD Configuration partition for a given string?

I'm having an issue with installing/uninstalling an Exchange server. I suspect the server wasn't properly removed from AD and as a result I'm getting an error. (I've already wiped the machine, the only constant is the hostname, and AD) How do I…
makerofthings7
  • 8,821
  • 28
  • 115
  • 196
3
votes
3 answers

Insufficient access when trying to set machine OS attributes when joining Linux server to Active Directory

I am trying to join a Linux server to Active Directory. I want to set OS Name and OS Version attributes upon joining the domain using this command: /usr/bin/net ads join -k -S adserver.example.local osName=CentOS osVer=6.5 I've delegated permissions…
Python Novice
  • 341
  • 1
  • 4
  • 12
2
votes
1 answer

Active Directory Authentication Through a Trust and Querying For Users From Trusted Domain

Domain A (Forest Tree Root) (Primary Domain) Domain B (Direct Outbound) (Direct Inbound) There is a two way trust between the two Forests Domain A/B. This scenario is used to connect two companies together. Now, lets say we have an application that…
1
vote
1 answer

ADSI Call not giving me primary users from AD group

SELECT * FROM OpenQuery ( ADSI, 'SELECT displayName, telephoneNumber, mail, mobile, facsimileTelephoneNumber FROM ''LDAP://XXXXX/DC=XXXXX,DC=local'' WHERE objectClass = ''User'' and memberOf = ''CN=MyGroup,OU=PermissionGroups,OU=IT…
P3nnyw1se
  • 39
  • 1
1
vote
2 answers

Get full access to all properties in ADSI-Editor

I want to manipulate the properties of some users for testing puroposes with 'adsiedit.msc'. Is there a way to get full access to edit these values. For example i need to edit the lastLogon or userAccountControl values, but i am getting these…
w5e
  • 11
  • 2
1
vote
3 answers

PowerShell/ADSI Permission Issue with AD related tasks

I'm working on a PS script that will give users a GUI & a few buttons to click to do some basic tasks such as unlocking an account, enabling/disabling, changing passwords and killing processes / logging user off. The parts that do NOT work are :…
user2629636
  • 752
  • 5
  • 19
  • 38
1
vote
1 answer

ADSI Linked Server: Why can I query AD in VBA, but not as a Linked Server?

After all the reading and research I've done, this seems like the most logical place to post this question: Why can I query Active Directory using VBA, but not a Linked Server in SQL Management Studio 2012? First, I have been able to do this before,…
Chad Harrison
  • 6,960
  • 10
  • 28
  • 41
1
vote
0 answers

Handling Azure Accounts with WinNT ADSI provider for local computer

I'm having trouble finding good documentation that explains exactly how the AzureAD accounts are handled in local groups and I'm getting mixed results which makes it hard for me to write a reliable API that gives accurate results for determining…
this
  • 111
  • 2
1
vote
1 answer

Azure Active Directory Domain Services (AD DS) change permissions on ADSI Containers without Enterprise / Domain Admin Rights

I need to modify access rights in Azure Active Directory Domain Services (AD DS) for a specific container in ADSI. Usually in an on-prem Active Directory this is possible with having the correct access rights on an object and changing the Control…
Chris
  • 11
  • 2
0
votes
1 answer

listing users on remote windows PC tries to connect to all remote network interfaces

I am using Powershell and ADSI to enumerate users in local groups on remote computers. Well, to be honest, I also used Python and win32net, but result is the same, so I guess that choice of language doesn't matter here. What I do in Powershell,…
MariusM
  • 101
  • 1
0
votes
1 answer

Add or update exchange 2010 attributes

I have created a custom attribute in ADUC, for user account called "Employee ID". I want to add this field in outlook address book contacts and also make this visible in the Exchange attributes when I do a "Get-mailbox -identity user". there is also…
Pasha
  • 243
  • 4
  • 14
0
votes
0 answers

If an AD attribute appears in one LDAP tool, and not the other, what can be the cause?

I'm using the same userID, LDAP connection string to bind to an LDAP server and fetch information. Tool #1 exposes the msExchMailboxGuid consistently and reliably. Tool #2 (.NET) doesn't expose the msExchMailboxGuid. There are occasions where it's…
makerofthings7
  • 8,821
  • 28
  • 115
  • 196
0
votes
1 answer

linked mailbox ADSI Edit

I have a clean up task to do with my Exchange 2003/07 environment. The set-up is as follows: domain controllers - ( 2003, 2012, 2008) Domain Function Level is: Windows Server 2003 Server 2003, Exchange 2007 Ent ru15 Co-existence So some (1000…
JJJJNR
  • 860
  • 4
  • 20
  • 32
0
votes
0 answers

ADSI - What are Permissions and Properties?

In my test windows AD server I was checking out ADSI (adsiedit.msc). From this doc, I can make config changes to ADSI that allows me to monitor changes from Domains, OU deletions, etc. I decided to take a look ADSI. When I got to the Auditing Entry…
Nina G
  • 175
  • 6
0
votes
2 answers

Need to uninstall crashed Exchange 2013 server before installing new Exchange 2019

We have an old server that has suffered numerous hardware and software problems over the years. We want to simply get rid of the old Exchange 2013 server and start fresh with a new Windows 2019 + Exchange 2019 installation. As a precaution I tried…
TSG
  • 1,634
  • 6
  • 29
  • 51
1
2