I was trying to do a search for members in a universal group containing users from multiple domains. After a lot of testing with LDAP-referrals, I found the simple solution. Connect to Global Catalog (port 3268) instead of LDAP (port 389).
$ldap = ldap_connect("ldap://domain.local:3268/");
WhenÂ working with Powershell and Active Directory dependent software like Microsoft Exchange, or Microsoft Lync andÂ others, you can sometimes get inconsistent result. If your running multiple commands after each other, which depends on the previous command it sometimes fails. There is a simple solution to solve this problem.
Recently I’ve been working with Lync and problems withÂ desktop/application sharing for a customer of my. After a lot of troubleshooting, we found together with Microsoft, that Citrix Edgesight is the cause or trigger of this problem.
I needed to enumerate some applications and their settings from RES Powerfuse. My first thought was to just query the mssql-database. I found that it shouldn’t be that easy. Here’s what I discovered and how to retrieve the information trough Powershell. Should be easy to port to .Net if needed.