Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Uuid = Ldap?

Zonax Delorean
Registered User
Join date: 5 Jun 2004
Posts: 767
02-15-2005 09:24
Hi!

I don't really know where this thread should go, so maybe it's good in off-topic, even though it's a bit technical.

Did anyone notice the object UUIDs (keys) are like LDAP UUIDs?

eg. f4ba7166-a068-4079-a855-3905b288d3f7

LDAP uses the ISO 11578 for encoding a 128 bit unique number to string. It's just my small observation, as I just worked with LDAP at my work. It might or might not indicate Linden Labs is using LDAP to store 'something' about objects... Or maybe not, maybe they just use the same encoding strategy.

Any ideas, thoughts, observations, tech people?
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
02-15-2005 11:41
LDAP as a unique key to an SQL database, I'd imagine...
_____________________
~ Tiger Crossing
~ (Nonsanity)
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
02-15-2005 15:22
The asset system works over HTTP. It's all stored on an XFS filesystem, handed out to the simulators via apache, and cached with squid.
No SQL database in there.
Siobhan Taylor
Nemesis
Join date: 13 Aug 2003
Posts: 5,476
02-15-2005 15:55
From: Eggy Lippmann
No SQL database in there.

Except the MySQL database that controls it all...
_____________________
http://siobhantaylor.wordpress.com/
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
02-16-2005 05:57
Whats LDAP?

*has lost all ability to use google*
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
Zonax Delorean
Registered User
Join date: 5 Jun 2004
Posts: 767
02-16-2005 11:50
From: Oz Spade
Whats LDAP?

*has lost all ability to use google*


LDAP = Lightweight Directory Access Protocol

I think it started out before any Active Directory (maybe even Novell Directory Services) were out there. The concept of LDAP is to have a central directory (it can hold almost anything) and then the clients can do search, add, modify operations to it.

The hierarchy is tree-shaped:
Just an example:
Organization: ACME Ltd.
Under this, you can have an:
Organizational unit: Mechanics Division
Under this:
Employee: Name=John Doe Telephone: 555-1111
Employee: Name=Jane Doe Telephone: 555-2222

You can fit very big hierarchies in LDAP directories, too. But it can hold almost anything, not just personal data. It can even hold serialized JAVA classes, passwords for systems, user account information, or just that regular shared (email) directory for an organization, containing partners, etc.

It if, for example, very convenient to have many machines with the same setup and have the users and passwords stored on one main directory server, so you need to only change a password or add a user at one place, not on all the machines.

During my 3rd day of using LDAP :-) I made the observation that LDAP UUID's (a unique ID, a number on the server) are written the same as the UUID's (of objects, avatars, etc) in second life.

On second thought, this might not indicate that LDAP is used, maybe they just 'borrowed' (copied) the ISO standard encoding scheme.

f4ba7166-a068-4079-a855-3905b288d3f7

must be a lot nicer to read for humans and debug than just a bit 128 bit number, like:

9781234104237087423

At least i think it should be :-)
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
02-17-2005 01:57
Ah, neato, thank you :)

Very good observation!
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad