LDAP
From UA Wiki
The UA keeps information about their employees (such as e-mail addresses and phone numbers) in an MS Active Directory structure. This makes it easy for Microsoft users to access this information, but leaves users of other operating system out in the cold.
Luckily, part of the information is being made available through the standard LDAP protocol. One can use this access to check username and passwords against the UA's database (such as done on this wiki, for example), or simply look up information about other employees. This article explains how to do that.
Contents |
Groupware clients
Mozilla Thunderbird
- Go to the 'Addressing' tab (Edit->Preferences->Composition->Addressing) and Check 'Directory Server'.
- Click 'Edit Directories' and add one with the following data:
- Name: Choose one, e.g., UA LDAP.
- Hostname: ldap.ua.ac.be
- Base DN: OU=Employees,OU=UA-Users,DC=ad,DC=ua,DC=ac,DC=be
- Port number: 3268
- Bind DN: <your_ua_username>@ad.ua.ac.be
- Uncheck 'Use secure connection (SSL)'.
Now Tools->Addressbook should contain the entry 'UA LDAP' and you can go ahead and look up information on all the employees of the UA and more.
Microsoft Entourage for Mac
- Go to the 'Advanced' tab in 'Account Settings' (Entourage->Account Settings->Directory Service->UA Exchange->Edit->Advanced) and Check 'Directory Server'.
- Add the following data:
- LDAP server: ldap.ua.ac.be
- Check 'This server requires me to log on'
- Uncheck 'This LDAP server requires a secure connection (SSL)'
- Uncheck 'Override default LDAP port' (Use default portnumer 3268)
- Set 'Maximum results to return' to 10000
- Set 'Search base'to OU=Employees,OU=UA-Users,DC=ad,DC=ua,DC=ac,DC=be
KAddressBook
Go to Settings->Configure Addressbook...->LDAP Lookup and add a host with following configuration:
- Authentication: Simple
- Bind DN: <your_ua_username>@ad.ua.ac.be
- Password: <your_ua_password>
- Host: ldap.ua.ac.be
- Port: 3268
- LDAP version: 3
- DN: OU=Employees,OU=UA-Users,DC=ad,DC=ua,DC=ac,DC=be
- Security: No
Now, you'll have an 'LDAP lookup' button which gives you access to the search interface.
LDAP browsers
LDAP browsers can be useful for getting the big picture of an LDAP directory structure. It enables you to click through the whole structure, and inspect every item of every entry. It can be quite interesting to find out what LDAP know about you!
LdapMiner
Luma
Luma is a LDAP browser and editor based on the (cross-platform) interface kit Qt.
JXplorer
JXplorer is a GUI for browsing and editing LDAP settings any any particular server; because it's Java-based, it run in Windows, Mac OS, Linux and any other Java-supporting operating system.
- Host: ldap.ua.ac.be
- Port: 389
- Protocol: LDAP v3
- Base DN: OU=UA-Users,DC=ad,DC=ua,DC=ac,DC=be
- Security
- Level: User + Password
- User DN: <your_ua_username>@ad.ua.ac.be
- Password: <your_ua_password>
You can also save these options as a template for later use.
LDAP Browser\Editor
LDAP Browser\Editor is a nice and ancient Java-based LDAP browser.
Because it is so old, LDAP Browser\Editor's website has actually disappeared, but the tool itself is still quite popular and circulates on the web; search for Browser282b2.tar.gz and pick a download location.
The configuration for a session on the UA's LDAP server is:
- Host: ldap.ua.ac.be
- Port: 389
- Version: 3
- Base DN: OU=UA-Users,DC=ad,DC=ua,DC=ac,DC=be
- Uncheck 'SSL'
- Uncheck 'Anonymous bind'
- User DN: <your_ua_username>@ad.ua.ac.be
- Password: <your_ua_password>
If everything has been entered correctly, you should be greeted with a tree-structured overview over the information available on the server.
More
More browsers and editors are to be found in the FAQ's of openldap.