Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [adsi]

The tag has no usage guidance.

2
votes
1answer
119 views

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 ...
0
votes
1answer
34 views

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 ...
1
vote
1answer
38 views

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 ...
0
votes
1answer
371 views

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 ...
0
votes
0answers
91 views

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 ...
-1
votes
1answer
176 views

Windows domain list users details where password never expires [closed]

I have a Windows domain, where I need to find users with option to never expire password enabled - as a part of an audit and for contacting them. I have no rights to install any fancy Powershell parts ...
1
vote
1answer
226 views

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 ...
0
votes
1answer
731 views

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, ...
3
votes
2answers
387 views

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 ...
2
votes
2answers
933 views

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 ...
1
vote
3answers
1k views

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 / ...
1
vote
1answer
10k views

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 ...