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

(ITS#4860) Sets' enhancement

Full_Name: Raphael Ouazana
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/raphael-ouazana-070307.patch
Submission from: (NULL) (


This patch creates a new operator for sets : /-
It allows to get the nth parent of all the elements of a set.
For example, if user is cn=user,ou=people,dc=example,dc=com :
user/-1 : resolves to set {ou=people,dc=example,dc=com}
user/-2 : resolves to set {dc=example,dc=com}
Of course it works the same for sets of more than 1 element.

It is very useful when ACLs depends on hierarchy.

Legal notice :
This patch file is derived from OpenLDAP Software. All of the modifications to
OpenLDAP Software represented in this following patch were developed by Raphael
Ouazana raphael.ouazana@linagora.com. These modifications are not subject to
license of Linagora.

The attached modifications to OpenLDAP Software are subject to the following
Copyright 2007 Raphael Ouazana, Linagora
Redistribution and use in source and binary forms, with or without
are permitted only as authorized by the OpenLDAP Public License.