Apache LDAP Authentication
Quick Setup of using LDAP for authentication in Apache with .htaccess 1. Enable ldap modulea2enmod authnz_ldap2. Enable .htaccess files to be read
vi /etc/apache2/sites-enabled/000-defaultSet AllowOverride from 'none' to 'All' for your web directory.
3. Create a .htaccess file within the directory your trying to set passwords on and enter the following into the file.
AuthType Basic AuthBasicProvider ldap AuthName "My LDAP Auth" AuthLDAPURL "ldap://<serverIP>/o=<root>?cn" Require ldap-group cn=<group_name>, o=<root>Following is a real world example with secondary LDAP server:
AuthType Basic AuthBasicProvider ldap AuthName "My LDAP Auth" AuthLDAPURL "ldap://192.168.1.10 192.168.1.11/ou=People, o=Facility?cn" Require ldap-group cn=Administrators, ou=People, o=FacilityThat's it. Documentation can be found on the Apache site.
Cisco SLA snmp OID
The following OID value will let you know if your SLA is within the threshold value: 1 = True 2 = False$ snmpwalk -cpublic -v2c 1.3.6.1.4.1.9.9.42.1.2.9.1.7.<sla_number>
Scan your network for conficker
You can now scan your network for conficker with nmap using version 4.85 BETA 6 or newer.
nmap -PN -T4 -p139,445 -n -v --script=smb-check-vulns 192.168.1.*
PHP w/ IIS6 on x64
To run php which is a 32bit app you need to set Enable32bitAppOnWin64 to 1.
To do this create a batch file with the following:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1Â
Kistmet and Cisco 350 Wireless
Use the following for the source:
source=cisco_wifiX,eth1:wifi0,cisco
Of course substitute eth1 with your wireless interface card.
jedit Stuck Install
Tried installing jEdit today only to come to a conclusion that I will be using Kate instead. But after trying to install jEdit through the use of binaries and apt I was un-successful. I then started to remove all traces of the jEdit install that I tried to do. Once I felt I had finished I moved on to the next project only to get struck by jEdit once again. After trying to install a new package via apt I came up with this error:
E: The package jedit needs to be reinstalled, but I can't find an archive for it.
To make a long story short the following fixed the problem:
sudo dpkg --remove --force-depends --force-remove-reinstreq jedit
apt-get Proxy
To use a proxy on your debian install via 'apt-get' insert the following into '/etc/apt/apt.conf'
Acquire::http::Proxy "http://[proxyname]:[port]";
* Exclude the brackets [ ]
PHP5 IIS6 Install Guide
While setting up php5 there is few tricks for the new version that I wasn't aware of. I found a good guide at the following location. PHP5 IIS6 Install Guide
Guide to The Linux FSH
This is a good guide for new linux users to help and understand the FSH (File System Hierarchy) of the linux OS.
Server Deployment
Well just got done deploying my business server to the Equinix IBX datacenter in Chicago. Can't beleive how many servers where in this place. Servers, upon servers, upon servers, upon servers. It was just truly an amazing site to see.
So far all pings and transfer rates are what I was hoping for!
Defcon 13
Looking forward to attending this. I plan on leaving July 28th and return on the 31st from Las Vegas!

- What, where and when:
DefCon 13 will be held at the Alexis Park in Las Vegas, Nevada, July 29-31, 2005.
- Admission:
$80 CASH ONLY at the door.
There is no pre-registration for the event. All persons on the property will be required to have a badge.
More information can be retrieved on their site @ defcon.org