[Fedora-directory-users] set of attributes?

speedy zinc speedy_zinc at yahoo.com
Wed Oct 19 00:38:19 UTC 2005


Actually, I'm asking this not from a programming
language point of view, but from a schema point of
view. 

Right now, each attribute seems to be independent of
each other. I have to add them one at a time. I'm
looking to group related attributes into a higher
level object, and add it to an entry. So, when my app
is looking into the entry, it can look into that set
of attributes. 

For example, I have my HR app, let's say I create a
schema, and I want to call my set of attr hrApp, which
contains departmentnumber, manager, ...

So when I do ldapsearch, instead of using

  (manager=john)

I can do

  (hrApp.manager=john)

that would be used as "standard" ldap query syntax :)

I'm looking at the CoS, but really don't know how to
use it. The concept of CoS seems like aspect
programming to me, but my understanding from the
manual is that, the value of attributes in CoS is
shared by the entries, and not the definition.

How could I define a CoS, where the value of
attributes is not set, and apply it to entries, or set
of entries,
and each entry may set a different value to the CoS?

thanks

sz

--- Rich Megginson <rmeggins at redhat.com> wrote:

> What programming language are you using?
> 
> speedy zinc wrote:
> 
> >Hi,
> >
> >Is it possible to add a set of attribute to an
> entry,
> >instead of adding one by one? That would be like a
> >struct in C, for example
> >
> >myattr { departmentnumber, manager }
> >
> >and I would access it
> >
> >(myattr.manager=john)
> >
> >or something like that.
> >
> >thanks
> >
> >sz
> >
> >
> >
> >		
> >__________________________________ 
> >Yahoo! Music Unlimited 
> >Access over 1 million songs. Try it free.
> >http://music.yahoo.com/unlimited/
> >
> >--
> >Fedora-directory-users mailing list
> >Fedora-directory-users at redhat.com
>
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >  
> >
> > --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
>
https://www.redhat.com/mailman/listinfo/fedora-directory-users
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com




More information about the Fedora-directory-users mailing list