kieranbarnes Independent PHP, WordPress & CubeCart Programmer

[Snippet] Manually reset a WordPress password

Posted on May 19, 2010

WordPress stores user passwords in MD5 checksums, so using your SQL admin tool of choice you can easily reset it.

  1. UPDATE `wp_users` SET `user_pass` = MD5('NEW PASSWORD') WHERE `wp_users`.`user_login` = "THE USER" LIMIT 1
Tagged as: , No Comments

Synchronizing time on a Windows 2003 domain controller

Posted on April 26, 2010

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…

Posted on April 26, 2010

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.

Daisy Duke

Posted on April 25, 2010

Filed under: Photography No Comments

How can I specify the Global Catalog (GC) that I want my Microsoft Exchange Server system to use?

Posted on April 21, 2010

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:

  1. Start the Microsoft Management Console (MMC) Exchange System Management (ESM) snap-in (Start, Programs, Microsoft Exchange, System Manager).
  2. In the treeview pane, navigate to Administrative Groups, &ltadministrative group name>, Servers.
  3. Right-click the server and select Properties.
  4. Select the Directory Access tab.
  5. From the Show drop-down list, select Global Catalog Servers.
  6. Clear the "Automatically discover servers" check box.
  7. Click Yes in the confirmation box.
  8. Click Add.
  9. Enter the name of the GC to use.
  10. 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”

Posted on March 25, 2010

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

Tagged as: No Comments

[Snippet] Allow mysql root access from anywhere

Posted on March 18, 2010

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

  1. mysql -u

Then,

  1. GRANT ALL ON *.* TO 'root'@'%' IDENTIFIED BY '[A PASSWORD]'

Exit and you're done.

Tagged as: No Comments

[Snippet] Checking a Global Catalog is really a Global Catalog

Posted on March 9, 2010

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)

Posted on March 9, 2010

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.

Tagged as: Continue reading

Installing mytop on cpanel

Posted on February 19, 2010

abstract computer network in 3d over a white b...

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.

Page 15 of 34« First...10...1314151617...2030...Last »