Friday, September 23, 2011

Access and manage your LDAP data with Luma in Ubuntu/Fedora

 I’m going to show you how to install Luma on both Ubuntu and Fedora. It’s actually quite simple. Just follow these steps:
Fedora
  1. Open up a terminal window.
  2. Su to the root user.
  3. Issue the command yum install luma.
  4. Okay any dependencies (if necessary).
  5. Once installation is complete, you can close the terminal.
Ubuntu
  1. Open up a terminal window.
  2. Issue the command sudo apt-get install luma.
  3. Enter your sudo (user) password.
  4. Okay any dependencies (if necessary).
  5. Once the installation is complete, you can close the terminal.
  6. Now that you have Luma installed, let’s open it up and connect to a server.
 Usage
 To start up Luma you will not find a menu entry, so you will have to run Luma from command line (or create a menu entry). To do this click Alt-F and then enter luma in the run dialog. Or you can leave that terminal window open and then just issue the command from within there.
Once started you will see a simple window (see Figure 1) where you can choose from any one of the available plugins. In order to add a server you need to click Settings > Edit Server List. From this window click the Add button to create a new server.
The first step is to give this new server a name. This is a human readable name so it does not need to be a hostname or IP address.  After you create a name click OK to move on to the real work.
 
Once you have created the server you have three configurations to take care of (see Figure 2):
Network options: Hostname, Port, Encryption type.
Authentication: Mechanism for authentication (simple, or SASL type), Bind as (login authentication), and Password.
LDAP options: Follow aliases and/or Use Base DNs provided by the server.
The trickiest option for most is going to be the Authentication “Bind as” setting. You do not just log in with a plain username. Instead (as you can see in Figure 2), you log in with username and domain in the form of cn=USERNAME,dc=DOMAIN, dc=NAME. In the case of my example it’s cn=admin,dc=wallen,dc=local.
 
Once you have logged in you can then use the plugins like Browse (see Figure 3). This examples illustrates how you can manage the various aspects of your LDAP entries.
Final thoughts
In upcoming articles we will deal with more LDAP administration with Luma as it is, by far, one of the easiest front ends for the LDAP server I have come across.

No comments:

Post a Comment