Friday , March 29 2024
Home - craig (page 5)

craig

PHP LDAPS Not Bind/Connecting

Had a few problems with coding a simple Activie Directory password reset web form.  It appears when coding in PHP the OpenLdap doesn’t trust the connecting Domain Controller’s SSL Certificate issuing CA. This can be fixed with PHP on either Apache or IIS with a simple file: Create a file named ‘ldap.conf’ in the directory ‘c:\openldap\sysconf’.  In the file the first line …

Read More »

Scripting Windows 2008 DHCP for ISP Failover

Having two ISP connections and switch between them automatically is more a hardware (or Software -TMG) solution.  But I found a way to script the Windows DHCP server using the netsh command. This allows for a site admin to run either of two scripts to change the default gateway on the server(s) and dhcp scope options for clients. An example of such …

Read More »

Web 2.0 Generator

An easy way to create Web 2.0 effects including mod_rewrite: Mod Rewrite Generator The Mod Rewrite Generator can be used to turn dynamic URLs into search engine friendly static URLs. Static URLs typically rank better in search engines than long complex dynamic URLs with lots of parameters, they are easier to index in the first place and they’re also friendlier …

Read More »

How to enable or disable ping in Windows Server 2008 R2 server?

To enable ping to the Windows Server 2008 R2, follow below steps Go to Start >> Administrative Tools >> Windows Firewall with advanced security >> Inbound Rules >> File and Printer Sharing (Echo Request – ICMPv4-IN) >> right click and select Enable Rule. To disable the ping select Disable Rule in the last step.

Read More »