Quick Setup of using LDAP for authentication in Apache with .htaccess 1. Enable ldap modulea2enmod authnz_ldap
2. Enable .htaccess files to be readvi /etc/apache2/sites-enabled/000-default
Set 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=Facility
That's it. Documentation can be found on the Apache site.
The following OID value will let you know if your SLA is within the threshold value: 1 = True 2 = False$ snmpwalk -cpublic -v2c 18.104.22.168.22.214.171.124.126.96.36.199.1.7.<sla_number>
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.*
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Â
Use the following for the source:
Of course substitute eth1 with your wireless interface card.
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
To use a proxy on your debian install via 'apt-get' insert the following into '/etc/apt/apt.conf'
* Exclude the brackets [ ]
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
This is a good guide for new linux users to help and understand the FSH (File System Hierarchy) of the linux OS.
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!
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.
$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