
I spent waaaay too much time figuring out this one and the web is full of half-answers to this problem.
To configure a Tomcat 5.5 server realm to work with Active Directory you can crib from the following setup.
Make the following changes to the %CATALINA_HOME%/conf/server.xml file.
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="0"
connectionURL="ldap://<AD SERVER ONE HOST NAME:PORT>"
alternateURL="ldap://<AD SERVER TWO HOST NAME:PORT>"
connectionName="<"DOMAIN"\"USER NAME TO BIND TO AD">" <!-- e.g. internal\serviceacct -->
connectionPassword="<YOUR PASSWORD FOR THE ABOVE ACCOUNT>"
userBase="<DN TO YOUR USERS IN AD>" <!-- e.g. OU=Users, dc=foo, dc=baz -->
userSearch="sAMAccountName={0}"
userSubtree="true"
roleBase="<DN TO YOUR GROUPS IN AD>" <!-- e.g. OU=Groups, dc=foo, dc=baz -->
roleName="CN"
roleSearch="member={0}"
roleSubtree="true"
/>
Then make the required security changes to your web.xml file for your application and you will be able to authenticate against your AD installation.
Wowsers!
The new beta of Parallels is just, um, amazing. It can mount a Boot Camp partition and let me virtually work in Windows (XP Home SP2) without needing to reboot!
The only downside to all of this is that you cannot "Pause" the virtual machine, but booting takes mere seconds on the i(ntel)Mac and the ability to drag and drop and copy files easily from OS X to the virtual XP box is a HUGE time saver.
This tool eliminates the need to have separate computers for OS X, Linux, XP, Solaris, etc. Simply virtualize and go!
This is definitely going on my list of handy to have tools. As a total tangent it runs Solaris 10 (x86) Update 3 perfectly well.
I would recommend you max out the RAM in your system before you start seriously using virtualization otherwise you may find your harddrive churning and slowing things down significantly.
I was surfing the web and came across this book and its excerpts on the Pragmatic Programmers site. (A great site by the way).
It has put me in a reflective mood. I have always tagged myself as a software generalist. I don't specialize in any particular platform or framework. I specialize in technology and in understanding that most of what technology is built up on is recycled from previous iterations. There really is nothing truly *new*.
The above article just reinforces my belief that you have to keep running fast, but at the same time relax. If you have the proper training and a good "network" one can always find work. Just remember to invest in yourself frequently via education, experimentation and conversations.
I have an ADSL modem at my house. Its rather slow on the ol' upload; brutally slow would be a nice way to put it. I have been slowly uploading a lot of pictures to a remote server during which time I have hit the 20KB/sec limit rather hard and repeatedly. Now, I understand an upload cap but the problem is when you use too much of your upstream data bandwidth for an upload it restricts the number of other things you can do at the same time (i.e. surf the web)!
I have come across a fantastic little script called WonderShaper that has you enter in a few simple data points and then enables traffic shaping so that users can still do other tasks while a majority of the upstream bandwidth is taken up by picture uploading.