Hi,
I am wondering if it is possible to create a schema with a multi part attribute. In other words I want the value of the attribute to be a dictionary. For example I would have an attribute called "Application" which would have a value of:
{"name" : "Application Name", "active" : <True or False>}
The other way I was thinking about doing this was to just have a multi value string attribute that would be the names of the "applications" and if there was an entry then that "application" is active but the dictionary way just seems cleaner to me.
If this is possible an example of how to define the schema entry or a link to an RFC would be helpful.
Thanks,
--On Wednesday, September 25, 2013 5:01 PM -0400 Bram Cymet bcymet@cbnco.com wrote:
Hi,
I am wondering if it is possible to create a schema with a multi part attribute. In other words I want the value of the attribute to be a dictionary. For example I would have an attribute called "Application" which would have a value of:
What is it you are actually trying to accomplish via LDAP?
--Quanah
--
Quanah Gibson-Mount Lead Engineer Zimbra Software, LLC -------------------- Zimbra :: the leader in open source messaging and collaboration
On 2013-09-25 5:28 PM, Quanah Gibson-Mount wrote:
--On Wednesday, September 25, 2013 5:01 PM -0400 Bram Cymet bcymet@cbnco.com wrote:
Hi,
I am wondering if it is possible to create a schema with a multi part attribute. In other words I want the value of the attribute to be a dictionary. For example I would have an attribute called "Application" which would have a value of:
What is it you are actually trying to accomplish via LDAP?
--Quanah
--
Quanah Gibson-Mount Lead Engineer Zimbra Software, LLC
Zimbra :: the leader in open source messaging and collaboration
Hi,
I am looking to store whether or not a user's status is active or inactive for multiple programs. It could be zero, one, or many different programs and the list of what these programs are called is variable.
I suppose group membership might also work.
I am looking to store whether or not a user's status is active or inactive for multiple programs. It could be zero, one, or many different programs and the list of what these programs are called is variable.
I suppose group membership might also work.
Generally what I've done for something like that is create a multi-valued attribute like: myCompanyServices
Then I would add something to a user entry like:
myCompanyServices: fogger myCompanyServices: joust myCompanyServices: zork
etc.
I can then easily see what services any user has active. I can also trivially use this attribute to create dynamic groups via the dynlist overlay, so I also get group functionality, which in turn lets me easily see every user who has a particular service active.
--Quanah
--
Quanah Gibson-Mount Lead Engineer Zimbra Software, LLC -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org