[Snippet] Manually reset a WordPress password
WordPress stores user passwords in MD5 checksums, so using your SQL admin tool of choice you can easily reset it.
- UPDATE `wp_users` SET `user_pass` = MD5('NEW PASSWORD') WHERE `wp_users`.`user_login` = "THE USER" LIMIT 1
Synchronizing time on a Windows 2003 domain controller
In a Windows domain environment its incredibly important that all clients & servers share the correct time. Its also important that this time is correct, otherwise your users go home early.
Here we'll set your domain controller to get the time via NTP. Windows clients will then automatically collect the right time from their domain controller.
The currently selected KDC certificate was once valid…
Description:The currently selected KDC certificate was once valid, but now is invalid and no suitable replacement was found. Smartcard logon may not function correctly if this problem is not remedied. Have the system administrator check on the state of the domain’s public key infrastructure. The chain status is in the error data.
I had this error on a domain controller that shouldn't have this error. Theres pretty much no documentation for KDC or certificate debugging.
How can I specify the Global Catalog (GC) that I want my Microsoft Exchange Server system to use?
If you want to force the Exchange server to use a specific GC instead of letting the server automatically choose a GC, you can perform the following steps:
- Start the Microsoft Management Console (MMC) Exchange System Management (ESM) snap-in (Start, Programs, Microsoft Exchange, System Manager).
- In the treeview pane, navigate to Administrative Groups, <administrative group name>, Servers.
- Right-click the server and select Properties.
- Select the Directory Access tab.
- From the Show drop-down list, select Global Catalog Servers.
- Clear the "Automatically discover servers" check box.
- Click Yes in the confirmation box.
- Click Add.
- Enter the name of the GC to use.
- Click OK.
Microsoft recommends that you don't manually set the GC that Exchange Server uses; therefore, you should manually set the GC only when it's absolutely necessary.
“anyone know kieran barnes”
i know kieran from back in the day... what about him - yep
Great guy! Works at a bank up in Louisville. See him at the clubs up there also. He's a good dancer! Lives down here though. - sweetstuff
who in etown doesn't know kieran? what are you wanting to know? - who doesnt
what do u know - MISS c baby
[Snippet] Allow mysql root access from anywhere
A small annoyance of mine is on local development servers, I can't login to the MySQL server as root.
Simply connect the mysql shell
mysq
- mysql -u
Then,
- GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY '[A PASSWORD]'
Exit and you're done.
[Snippet] Checking a Global Catalog is really a Global Catalog
Use an LDAP browser or ADSI Editor to connect to the port 3268 Global Catalog communication is performed over TCP port 3268, regular LDAP lookups are sent to TCP port 389.
After assigning a GC role to a server, check its Directory Services event log for event number 1119, which indicates successful obtaining a role of a Global Catalog server
Ridiculously simple NTLM Authentication for Apache (Ubuntu)
We all know Ubuntu makes things amazingly simple. This is the best I've found so far. NTLM authentication in Apache used to take a while to setup, it used to be tricky, fiddly - generally a bit hit and miss.
Installing mytop on cpanel

MyTop is one of the best MySQL monitoring tools available, written by a MySQL guru, Jeremy Zawodny.
Its vital for monitoring your MySQL health, especially in a shared hosting environment.




