Monday, January 12, 2009

This is why I run Ubuntu

Cause they are willing to take M$ head on and not like some other companies we know....

http://www.nytimes.com/2009/01/11/business/11ubuntu.html?pagewanted=1&_r=3

Wednesday, December 10, 2008

Novell iManager Missing Module Installation Option

Ran into this one again today.

When you try to install a NPM in iManager you can not even see the option for module installation under the configuration section.

When you install iManager you specify an Admin user that can install plug-ins and this must
match the user you login with.

Check out some of these:

http://www.novell.com/coolsolutions/feature/16129.html
Novell TID 10098023
http://www.novell.com/support/viewContent.do?externalId=7002140&sliceId=1

Tuesday, December 9, 2008

Windows Time Sync

Well I've been having time problems in Windows for a while, considering we are running it in VMware and we normally don't use AD. I'd thought I'd write a quick one on how to configure a NTP time source on Windows. This seems to work on both Windows XP and 2003.

Change the following registry settings:

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type : NTP
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer : IP Address of Time Server

If you use a DNS name you need to add the 0x1 suffix e.g. tock.usno.navy,0x1

Once you've changed the registry settings stop/start the W32 service:

net stop w32time
net start w32time

And then you can also force a resync with the command:

w32tm /resync

The output should say something like '...command successfully completed.'

Source: http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Time-Service.html?printversion

Friday, December 5, 2008

VMware Problem on SLES10 SP2

There seems to be a problem with VMware Server 1.0X on SLES10 SP2 i386.

When you try to browse for a VM the VMware interface seems to hang.

Easist way to fix this is to edit the vmware script /usr/bin/vmware

and add the line:

export VMWARE_USE_SHIPPED_GTK=yes

So the file looks something like this:

#!/bin/sh
#
# Copyright 2005 VMware, Inc. All rights reserved.
#
# Wrapper for the real 'vmware' binary. Ensure that the binary will find
# all the shared libraries it needs. If a shared library is not available from any
# of the standard system-wide locations, we provide it from the location where
# the VMware software is installed. --hpreg
#

export VMWARE_USE_SHIPPED_GTK=yes

# BEGINNING_OF_DB_DOT_SH
#!/bin/sh

#
# Manage an installer database
#

# Add an answer to a database in memory
db_answer_add() {


Reference:

http://communities.vmware.com/message/549774?tstart=0

Sunday, November 23, 2008

Keyboard Mapping Problems in VMware

This is the article to read:

http://nthrbldyblg.blogspot.com/2008/06/vmware-and-fubar-keyboard-effect.html

Basically create a ./vmware/config file with the following content

xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End

etc

Thursday, November 20, 2008

Jozi

This is how we park in Jozi



Sadly no more miracles either they're TO LET

Broken Lift


This lift has been broken for the last 6-7 months

Novell iManager Port 80 and 443 on Linux

As we all should know sadly you can not run iManager on port 80 or 433 due to Linux permissions design.

A quick way to get around this is to use iptables like this:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443

Now you can access you iManager server using https://servername/nps

How to run Yast via SSH

As we all know you install software via yast on SLES. But take it to the next level and install software via yast using SSH:

ssh root@servername_or_ip "export TERM=xterm; yast -i sysstat"

This can save a load of time if you have like 60 servers to install something on, especially if you are using ssh keys.

How to remote control VMware Server 2 without Web Browser

From your home directory run:

.mozilla/firefox/.default/extensions/VMwareVMRC@vmware.com/plugins/vmware-vmrc -h ":8333"

Please take note of the

Cute Game

I don't play alot of games but sometimes you just need to let your hair down.
Found this cute game http://www.ferryhalim.com/orisinal/g3/bells.htm
High score at the office so far is about 30000.

Been a while

Sadly its been a while since I've made a post. The new proxy blocking software they have at work very smartly blocks Blogging websites. Lucky for me I found a ssh tunnel out of the building. Now I'm free to blog again :-)

Friday, November 7, 2008

Novell IDM Code Examples

Just came across this site again, which has some very good IDM code examples:

http://ldapwiki.willeke.com/Wiki.jsp?page=IDMCodeSnippets

Posting it here, cause last to I lost it when my bookmarks when up in smoke.

Tuesday, November 4, 2008

Novell Identity Manager - Validate Usernames

Well, my lesson for today is how to use a simple regular expression to validate usernames in Novell Identity Manager (DirXML).

Using the Novell Designer tool I created a policy that reads:

Condition: operation attribute
Name: CN
Operator: equal
Mode: regular expression
Value: ^[0-9]{10}

What this rule does is checks the CN attribute to ensure it is numeric of 10 characters.

Here's the XML source:
<if-op-attr mode=\"regex\" name=\"CN\" op=\"equal\">^[0-9]{10}</if-op-attr>

What bothers me is that in Designer it changes the 'equal' display to 'match' which made no sense to me as there is no match operator.

I also must say as painful as some people may say regex is, I find it very useful for things like this.

Monday, November 3, 2008

Novell SecureLogin Variables

I have worked alot with Novell SecureLogin and it seems to be quite a flexible SSO tool. Only problem I had was that I needed a SSO script for an application that consisted of two separate EXEs so I needed a way to pass varibales between them. Here's a post on how I did it:

http://www.novell.com/communities/node/4850/global-variables-novell-securelogin

Followers