[Date Prev][Date Next] [Chronological] [Thread] [Top]

Can there be any hierarchy in attributes (ITS#896)



This is a multi-part message in MIME format.
--------------EB9A28EC87D61DC9E06D41E6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hi,

  I am new to openldap .  As far as I understand the  attributes for an
object is stored in a flat manner.  Can the attributes be stored in an
hierarchal manner ??

Ex: Suppose I am storing information about hotels in my city, and I want

to check whether a double room is available in any hotel.  Can someone
please suggest a suitable way of doing this ??

As far as I understand the object hotel should have an attribue Rooms,
which should have two leaves say single and double, and then I store the

number of available rooms at each of the leaf.  got the idea??

 Please help me out !!  Any suggestion will be welcome

Regards,
Amit Rai
IIT kharagpur
India

--------------EB9A28EC87D61DC9E06D41E6
Content-Type: text/x-vcard; charset=us-ascii;
 name="arai.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Amit Rai
Content-Disposition: attachment;
 filename="arai.vcf"

begin:vcard 
n:Rai;Amit 
x-mozilla-html:FALSE
org:;CSE
adr:;;;;;;
version:2.1
email;internet:arai@cse.iitkgp.ernet.in
x-mozilla-cpt:;0
fn:Amit Rai
end:vcard

--------------EB9A28EC87D61DC9E06D41E6--