I was quite surprised when one of my designated graduates told me he wouldn’t start working for our Institute instead following the offer of a young entrepreneur (also originated from or Institute). This offer aims for work at no payment for several months, but receiving shares of the yet to be founded software company instead. Whow, think about! Remember when Hewlet and Packard started with 536 Dollar in their pocket 60 years ago in an old garage. Despite the fact all our graduates are decoyed with lots of salary promises form countless head hunters, though, for me this is all good news. Who want’s to work for dreams these days? Who want’s to work for nothing (and the chicks for free)? Not one, not two, no wait a moment…., there are 3 of them. This class (or should I say “age cohort”) where those 3 young software engineers have emerged was always my favourite class. To remember, I told them how to build Enterprise Applications and I told them Unix too. Makes me proud a little bit too. Hey Guys, I wish you all the best, I wish you luck and remember the Institute likes guys like you.
[Enterprise Lab] public_html now ready
Hello
I’m proud to announce, that it is now possible to create your public_html to be displayed on the web.
It’s really easy to get it work:
Just create a directory named public_html in your home directory on enterpriselab. There you can put your web page (html, php possible). Your page should now be accessible through:
http://user.enterpriselab.ch/~<yourusername>
If you encounter any problems, feel free to contact me.
[Enterprise Lab] Spam protect your blog
Hi folks!
There’s now the possibility to activate a Spam Plugin for your blog(s) if you encounter problems with comment spam.
Please see our wiki for more information.
Spam Spam Spam
Maybe we have to see if we get a better spam protection for the blog on the Enterprise Lab. In the beginning i got about 1 spam message per month but now I get almost every day at least one. Since I moderate all the comments I usually just have to remove them, but this is still annoying.
Well lets see if the others get the same problem or if it is a problem i got my self with the popularity of certain posts. Since I only get spam to one post.
Some papers released to the web
I wanted to put some of my work online for a long time now, but always put it off. But today beeing my last day at Hochschule Luzern, I finally can’t put it off anymore. So, here are three of the documents I wrote during my time here. (Sorry, all in German)
Authorization in Enterprise
In this project we are having a closer look at authentication and authorization technologies. We started with Suns Access Manager and later switched to OpenSSO to gather hands-on experience with some of the new technologies. This resulted in documents so far:
- In the document “Federated Identity Management” we look closer at federation technology itself and try to explain what this term means. We also shade some light on SAML, SAML 2.0 and the Liberty Alliances ID-FF.
- In “Praktischer Einsatz von OpenSSO” we dive into OpenSSO. First, we have a look at its functionality and architecture. This rather theoretical part is followed by a step-by-step guide on how OpenSSO can be used, for example how an Apache Webserver can be protected using OpenSSO.
Security in Mobile Applications
This project was more or less done by the time I joined it. But there was still some time left to have a closer look at GSM and UMTS. This resulted in the document “GSM und UMTS – Eine Übersicht“, which tries to describe a bit of the history of the standards, how the networks are structured, what security features are implemented and how the communication protocols work.
Migrate and split a subversion repository
In the course of consolidating our services on Enterprise Lab resources I had to move my SVN-Repos to a new host. Not a problem by itself, simply executing the following two commands usually does the trick:
# dump repos on old host
svnadmin dump /path/to/repo > repo.dump
# load dump into the new repo
svnadmin load /path/to/repo < repo.dump
However, I decided to use this opportunity to change the layout of the repos, namly to split the projects into separate repositories. This is also not to difficult and is very well documented in the subversion book. svndumpfilter can be used to filter a dump-stream based on paths. So, in order to get a dump only containing files in the folder AuthE and below, I’d use something like the following:
svndumpfilter include AuthE < repo.dump > authe_repo.dump
So far, so good. The new dump-file contains now only the folder AuthE and its content. It will still contain the top level folder AuthE, as it has been in repos.dump. In order to change this, e.g. move the content of AuthE to the Repos top level, we need to hack the dump file itself (also described in the subversion book). If you are not up to speed with regular expressions and don’t feel like hacking up your own script to edit the dump-file, you might like the perl script svn-dump-reloc posted on the svn-dev mailing list. So, to remove the AuthE folder in the authe_repo.dump, we would do the following (something like mv /AuthE/* ./):
./svn-dump-reloc AuthE/ / < authe_repo.dump > authe_reloc.dump
Now we need to remove the directive that creates the AuthE path. It got emptied by the above command, but it’s should be about the only directive with an empty Node-path. In my repos, the passage in question looks as follows:
Node-path:
Node-action: add
Node-kind: dir
Prop-content-length: 10
Content-length: 10
PROPS-END
Remove this whole section. Pay attention to not use an editor which changes anything else on the dump file (like line ending). To test if all went OK you can create a repo, load the dump and then list the repositories root content.
# svnadmin create /home/isis/test_repo
# svnadmin load /home/isis/test_repo < authe_reloc.dump
# svn list file:///home/isis/test_repo
branches/
tags/
trunk/
[Campus Report] Students providing services on Solaris
At Lucerne University of Applied Sciences and Arts, we built a team of students providing services for other students on Solaris OS.
A need of urgent action
In the past, some students I was leading, provided different services like svn, wiki, forum, webserver, etc. for other students on a single server
called the iServer. As this server was not firewalled by our IT Service and not officially supported by them, we had to take urgent action as
the IT Services told us that they will take down the server in this summer because it didn’t fit their SLA and IT rules.
So we had to hurry building a new team of fresh students (most of the students in the old team are leaving this summer).
Why not using existent infrastructure?
We came up with the idea, that our Enterprise Lab (www.enterpriselab.ch) could be the best place to provide such services. With the agreement
of the labs head Bruno Joho, we could easily keep the services up. Of course he agreed, as this finally could be a big improvement on the
visibility of our lab. So we decided to migrate all the services to the Enterprise Lab.
That is hours of work! Who can the whole task until summer?
As the idea was up we started to think on who could do all the work. And we came to the great idea: Why not let do the students the work?
It’s a win-win situation for both: the students and the Enterprise Lab staff. Students can improve their knowledge on Solaris and on how
to keep a service up and running. So we decided, the whole task from planning, over migrating to actually providing the service should be
done by individual students who are interested in such topics. As we couldn’t expect the students having much knowledge of Solaris and
the infrastructure of our lab, we decided to assign mentors to each service. A mentor is a person which has knowledge on Solaris and on a specific
Service. So the students could ask them if they run into problems.
Whats next?
Finally, after 3 weeks of recruitment of new members we had built a team with 20 students. Now we started to migrate the following services which
can be used by students, staff and professors:
- a forum with user authentication over ldap (in the past we had to set up each user separately) – forum.enterpriselab.ch
- a blog space with ldap auth (blog.enterpriselab.ch)
- a place for subversion repositories
- a place for public/or private wikis (students mostly use this for learning for their finals)
- a web space (public_html of users home will be available to the world)
- a bug tracking system (where students can maintain their projects)
- a database server (where students, staff, etc. can play with databases, mainly mysql)
- and maybe much more services to come
The goal is, that we can start providing those services this summer. Some services are already up and running.
The second goal is to let the students improve their knowledge in Solaris and other Sun technology as their services
all run in our lab. So they have to deal with zfs, zones, ldap, apache, php, mailman, wordpress, dokuwiki, bugtrak, svn, mysql,
ssh, … and much much more.
This way I hope we can build a big Solaris community on our campus.
Kind regards from Switzerland
[Campus Report] Successful month May in Switzerland
Hi all
Within the month may I could hold 3 demos. I mainly focused on the Solaris OS and on Sun Spots.
Here some facts:
9.5.08 17:00 -> SUN Spot. 20 people attended despite it was bbq weather outside on this lovely friday evening.
The students showed much interest in this new technology and wanted to know how they could be ordered.
We set up a system on which our 4 spots we have could be lend out.
16.5.08 17:00 -> Solaris Zones. Only 11 people attended (it was a hot day again). But the students asked a lot of interesting questions
(eg. one asked me to do a rm -rf / on the root FS of one zone. You can see what happens if you try it in one of your test zones, too)
30.5.08 17:00 -> Solaris ZFS. 13 people attended. (once again, bbq weather
. The presentation only took about 5 minutes. But afterwards I did a live demo
which took until 18:00
As always, the students showed a lot of interest.
So the month May was of great success for me and for my university. I hope I will attract even more people the next semester. Now I’m out of Solaris CDs and
SUN pens. I still have loads of T-Shirts because I don’t give them away for free. They always have to answer a tricky question.
Much changed since I held the presos. Everyone knows (and greets) me on the hallway now and I’m always asked a lot of questions during the breaks and in
the evening (by mail, IM, etc.) on different Solaris, Java, SunSPOTs questions. It simply rockz to be an ambassador.
Thank you Sun and thank you University of Applied Sciences and Arts of Central Switzerland.
I wish all of you a great summer time and hope to see you again next semester.
Regards from the “Football Country” Switzerland