The Fun of LDAP - objectClass Attributes
OK - I actually like and enjoy LDAP, but do not allow that to cloud your judgment. LDAP took much more of my time and effort to learn than Bind and/or DNS. And I recall sitting in front of DNS chapters wondering why we needed another language to do something as easy as mapping a friendly name to an IP address. This jargon stuff has value though such as constraing insomnia.
So, if you need some sleep and don't care about writers who use phrases like "much more", then we can move along and discuss the notion of an objectClass. Are we having fun yet?
The entries in an LDAP directory, like the entries in a phone book or contact list require objectClass attributes which need at least one value. That's just common sense right?
Think of an objectClass value as a template for the information you wish to store in an entry or to make the jargon complete in the name space.
We haven't touched on distinguished names and relative distinguished names but pretend like you know what they mean, please. In the example below, think of an "organizational unit" as the top of a hierarchical file system with limbs below it.
The top of directory for our purpose is ou=computers,dc=centralsoft,dc=org. So, if you wanted to find a list of computers in centralsoft.org, you would have this area of the directory called computers. Computers would appear in your LDAP browser in plain English as simply "Computers" and below that one or more computers.
In LDAP parlance setting up the area of the directory for computers would look like this:
dn: ou=computers,dc=centralsoft,dc=org
objectclass: organizationalUnit
ou: computers
pc: wkst01
description: Container for all computers existing within the centralsoft.org domain
The objectClass attribute we used in this example was "pc". The only pc that the directory contains at the moment is "wkst01". You could just as easily used "srv01" for "server01". That's not the point though.
Technically speaking, of course, RFCs define many attributes we find in LDAP schemas. For example RFC 2256 defines the attribute for telephoneNumber, which intuitively makes total sense to the average user of a contact list (sic).
We just touched the surface of the objectClass discussion. Don't worry if it does not make much sense at this point. Just know that in the language or jargon of LDAP, you'll have to get it about objectClass attributes or you won't have much to do with constructing LDAP directories.
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- Fun with ethtool
- Parallel Programming with NVIDIA CUDA
- Readers' Choice Awards 2011
- 100% disappointed with the decision to go all digital.
- Linux-Based X Terminals with XDMCP
- Validate an E-Mail Address with PHP, the Right Way
- You Need A Budget
- The Linux powered LAN Gaming House
- Why Python?
- Python for Android
- BeOS was the best
1 hour 43 min ago - I use Wireshark on a daily
6 hours 13 min ago - buena información
11 hours 20 min ago - One important "bucket" that I didn't note (désolé si qqun deja d
12 hours 21 min ago - Gnome3 is such a POS. No one
21 hours 48 min ago - Gnome 3 is the biggest POS
21 hours 59 min ago - I didn't knew this thing by
1 day 4 hours ago - Author's reply
1 day 7 hours ago - Link to modlys
1 day 8 hours ago - I use YNAB because of the
1 day 8 hours ago





Comments
I actually like and enjoy
I actually like and enjoy LDAP, but do not allow that to cloud your judgment. LDAP took much more of my time and effort to learn than Bind and DNS
Gave Up
Started getting myself acquainted with LDAP but gave up as it's too longwinded and needed too much time. May be I should start again...
LDAP
I have been using LDAP as well, but no luck. I wish there was aforum with some help.
We think this is an
We think this is an inspiring article.
I choose my very sexy lades
I choose my very sexy lades and make sure their the best, just like this article.
I agree too.
I agree too.
LDAP
It kind of feels like one of those technet links that say -want to read the rest- you must be a member. or better yet lets look for driver info on the experts link.
Here's one - point to LDAP info instead of the GAL in your Outlook client for fun.
bookmarked
Technically speaking, of course, RFCs define many attributes we find in LDAP schemas. For example RFC 2256 defines the attribute for telephoneNumber, which intuitively makes total sense to the average user of a contact list (sic).
ow i have bookmarked that post
LDAP??? no substance
Dude,
Why did you bother writing that? Where's the rest of the article? Come on, we're smart. We can read and comprehend more than this.
RF
I totally agree with you.
I totally agree with you. The article just has the basic header. More info on this is really appreciated.
Totally agreed.
Totally agreed.
Count me too... what a waste
Count me too... what a waste of time...
And where is this leading to?
Please continue the LDAP fun... Are you going to tell us how to interpret and use objectClasses when set tingup LDAP?
Open LDAP
You can find out more about LDAP here: www.openldap.org.
Best regards.
swidnica u dummy
...observations from someone else’s point of view… it makes you think more...
Makes me want to throw up when I see your lazy post again and again..
How many times did you copy that stupid frase all over the net so far, a 1000 times? I know I have seen it 50 times already.
Quit slumping and get a new lines or new life u idiot.