About Terminal Server, Citrix, Delphi and other stuff
I have used the WP-Postviews WordPress plugin for a while to keep track of the number of times my blog posts are being read.
But after installing the W3 Total Cache plugin I noticed that the read counters weren’t properly updated anymore. I figured this was a consequence of using a cache.
In my previous post I wrote about a problem I had with duplicate RID Allocation pools.
But how do we get more insight into these RID Allocation pools?
The DCDIAG tool can display this information per domain controleler using the following syntax
Example output:
But where in Active Directory is this information stored and can we display it for all Domain Controllers at once for larger environments?
I encountered another interesting error during Exchange 2010 installation today. During the Organization Preparation I got the following error:
The setup.log doesn’t give us much more detailed info:
[06-22-2011 11:16:29.0630] [2] [ERROR] The server cannot handle directory requests.
[06-22-2011 11:16:29.0630] [2] Ending processing initialize-ExchangeUniversalGroups
[06-22-2011 11:16:29.0630] [1] The following 1 error(s) occurred during task execution:
[06-22-2011 11:16:29.0630] [1] 0. ErrorRecord: Active Directory operation failed on dc001.zorg.local. This error is not retriable. Additional information: The requested object has a non-unique identifier and cannot be retrieved.
Active directory response: 0000219D: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
[06-22-2011 11:16:29.0630] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Directory.ADOperationException: Active Directory operation failed on dc001.zorg.local. This error is not retriable. Additional information: The requested object has a non-unique identifier and cannot be retrieved.
Active directory response: 0000219D: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
I remembered from a Tweet by Helge Klein recently that the Active Directory schema has no mechanism for enforcing uniqueness of an attribute.
Today I was testing the installation of Exchange 2010 in a VMWare sandbox environment. We created the sandbox to test migration from a 2003 AD and Exchange environment to 2008 R2 with Exchange 2010.
We used a P2V to get real copies of the Active Directory and the AD upgrade to 2008 R2 was already tested.
But during the Exchange installation in the sandbox I got the following error:
I wanted to read the otherWellKnownObjects attribute from an Active Directory object.
In my case this was the Microsoft Exchange container in the Configuration partition:
The otherWellKnownObjects attribute is of type ADSTYPE_DN_WITH_BINARY which unfortunately cannot be viewed or edited with ADSI Edit:
In my SATA Controller Identification tool I was using the TSaveDialog (Delphi 2010) but I got a report that under Windows PE the dialog is never shown.
There’s no exception and I didn’t really bother to check why it fails. Instead I decided to replace it with the GetSaveFileName API which does work under Windows PE.
Example:
ZeroMemory(@ofn, SizeOf(ofn));
ofn.lStructSize := SizeOf(ofn);
ofn.hWndOwner := Form1.Handle;
ofn.lpstrFile := @Buf[0];
ofn.nMaxFile := Length(Buf);
ofn.lpstrInitialDir := PChar(GetCurrentDir);
ofn.lpstrFilter := ‘Any File’#0‘*.*’#0‘Registry file’#0‘*.reg’#0#0;
ofn.nFilterIndex := 0;
ZeroMemory(@Buf, SizeOf(Buf));
if GetSaveFileName(ofn) then
begin
// Buf now contains the filename
end;
Modern systems usually offer different SATA Operation Modes such as ATA, AHCI or IRRT.
The AHCI mode offers extra features such as hot swapping and native command queuing.
Many vendors set the SATA Operation Mode to ATA by default because it’s the most compatible mode but there are a few reasons why you might want to change it:
Please note that the IRRT (integrated raid) mode is supposed to support all functionality of AHCI but in my experience it doesn’t.
So the question is: how do we switch the SATA Operation Mode from ATA or IRRT to AHCI?
I think everybody knows that using WEP to encrypt your WiFi network is not very safe. To demonstrate this I will show you how easy it is to crack the WEP encryption in this post.
Note that I am using my own Access Point here so I am not actually cracking someone else’s WEP Key.
Requirements:
After starting the back track Virtual Machine you can login with username root and password toor
EDIT: See my followup article to learn how to reverse driver_auth.exe, decrypt and encrypt dell_wwan_sysID.dat.
I bought a Dell Wireless 5530 HSPA Mini PCI card for my Dell Precision M4500 laptop.
This is a small expansion card that works together with the built in SIM card slot that is present in most Dell (Business) laptops.
This SIM card slot is usually located near the battery compartment:
The card was installed in a few minutes since the antenna cables were present already and on my laptop I only needed to remove the backcover with just one screw.
Then I wanted to install the required software but this card is not officially supported in the M4500 (I bought this card because it was much cheaper on ebay).
So I took the driver from the M4400/Latitude E range, labeled R251153 but I got this error message when installing:
I just read an answer on StackOverflow with this code:
ShowMessage(IntToStr(eu));
end;
Unfortunately it lacked explanation, so what does this code do?
It reads offset $4 from the Thread Information Block (the top of stack) into eax and then offset $8 (stack base) into ebx.
Then it substracts the two and moves that into variable eu, that’s all!
Active Directory Altiris bug Citrix Dell Delphi Exchange Exchange2003 Exchange2010 Hewlett-Packard HP iOS Jailbreak Java LinkedIn Linux MSI MySQL Navigation Objects Office Outlook Passat PowerPoint PowerShell referall was returned RNS315 RNS510 SasLibEx script slow Terminal Server ThinApp TSAdmin TSAdminEx VBS VCDS Vista VMWare Volkswagen Windows PE WLAN Wordpress WTSWaitSystemEvent wts_event_flush
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.