Unix Drive Cloning

Posted by on Jun 15, 2009, Categories: Featured

0

There are two schools of thought for how to clone drives under unix. The quick and dirty method is via the unix command dd. This is a bit for bit copy tool So it can even copy master boot records and partition tables. But it also copys empty space and kinda requires the drives be identical. Since it's rare to actually have identical drives I'm going to show you how to use other system tools available under IRIX and Solaris to accomplish this task ask well as even make the new cloned drives better. We start with Solaris. Not much has...

Read More

Debugging Unix

Posted by on Jun 14, 2009, Categories: Irix, linux, Solaris, Unix

0

When ever I come across a command or service in Unix that crashes or fails to run properly I quickly go to the trace tools to trace the system commands.  I often find that If I just follow the system trace i can usually see what was supposed to happen and didn't.  Unfortunatley not every unix flavor uses the same tracing commands. In linux it is very simple prefix any command with strace and it will give you lots of system trace info. In Solaris use the truss command. In Irix use the par...

Read More

LdapAuth component for CakePHP

Posted by on Jun 13, 2009, Categories: CakePHP, Featured, ldap

18

So I was looking for a way to authenticate against LDAP with cake but I've found that it doesn't support it by default. I found one that checks the auth against ldap then creates a local mysql account. This also didn't use a actual ldap data sourc e either, it just handeled it's own ldap connection. After I read through the standard cakphp auth component I saw that it wouldn't be that hard to write an LDAP based auth component. First you need to download this file ldap_auth.php to your 'app/controllers/components/' directory. Then just like the original auth...

Read More
60

I've been using CakePHP for a while now and I've been thinking for a while it was time to see if I could give something back. As an IT leader I'm in love with LDAP. It makes life so simple for me and my team. The big downside to LDAP is it's not very easy to learn how all the objectClasses and attributes work with various applications. Microsoft has eliminated this with the Microsoft Management Console (MMC). It amazes me that no open source project has developed a tools such as this before. ...

Read More