slapo-unique(5)


NAME

   slapo-unique - Attribute Uniqueness overlay to slapd

SYNOPSIS

   /etc/ldap/slapd.conf

DESCRIPTION

   The  Attribute  Uniqueness  overlay can be used with a backend database
   such  as  slapd-bdb(5)  to  enforce  the  uniqueness  of  some  or  all
   attributes  within a scope. This subtree defaults to all objects within
   the subtree of  the  database  for  which  the  Uniqueness  overlay  is
   configured.

   Uniqueness  is  enforced  by  searching  the subtree to ensure that the
   values of all attributes  presented  with  an  add,  modify  or  modrdn
   operation are unique within the scope.  For example, if uniqueness were
   enforced for the uid attribute, the subtree would be searched  for  any
   other  records  which  also  have  a  uid attribute containing the same
   value. If any are found, the request is rejected.

   The search is performed using the rootdn  of  the  database,  to  avoid
   issues with ACLs preventing the overlay from seeing all of the relevant
   data. As such, the database must have a rootdn configured.

CONFIGURATION

   These slapd.conf options apply to  the  Attribute  Uniqueness  overlay.
   They should appear after the overlay directive.

   unique_uri <[strict ][ignore ]URI[URI...]...>
          Configure the base, attributes, scope, and filter for uniqueness
          checking.  Multiple URIs  may  be  specified  within  a  domain,
          allowing  complex  selections  of  objects.  Multiple unique_uri
          statements or olcUniqueURI attributes  will  create  independent
          domains,  each  with  their  own  independent  lists of URIs and
          ignore/strict settings.

          Keywords strict and ignore have to be  enclosed  in  quotes  (")
          together with the URI.

          The LDAP URI syntax is a subset of RFC-4516, and takes the form:

          ldap:///[base dn]?[attributes...]?scope[?filter]

          The   base  dn  defaults  to  that  of  the  back-end  database.
          Specified base dns must be within the subtree  of  the  back-end
          database.

          If  no  attributes  are  specified,  the URI applies to all non-
          operational attributes.

          The scope component is effectively mandatory, because LDAP  URIs
          default  to  base  scope,  which  is  not  valid for uniqueness,
          because groups of one object are always unique.  Scopes  of  sub
          (for subtree) and one for one-level are valid.

          The  filter  component  causes  the  domain  to apply uniqueness
          constraints     only     to     matching     objects.       e.g.
          ldap:///?cn?sub?(sn=e*)  would  require unique cn attributes for
          all objects in the subtree of the  back-end  database  whose  sn
          starts with an e.

          It  is  possible  to  assert uniqueness upon all non-operational
          attributes except those listed by prepending the keyword  ignore
          If not configured, all non-operational (e.g., system) attributes
          must be unique. Note that the attributes list of an  ignore  URI
          should   generally   contain  the  objectClass,  dc,  ou  and  o
          attributes, as these will generally not be unique, nor are  they
          operational attributes.

          It  is possible to set strict checking for the uniqueness domain
          by prepending the keyword strict.  By default, uniqueness is not
          enforced  for  null  values.  Enabling  strict  mode extends the
          concept of uniqueness to include null values, such that only one
          attribute within a subtree will be allowed to have a null value.
          Strictness applies to all URIs within a uniqueness  domain,  but
          some domains may be strict while others are not.

   It   is   not  possible  to  set  both  URIs  and  legacy  slapo-unique
   configuration  parameters  simultaneously.  In  general,   the   legacy
   configuration  options  control  pieces  of a single unfiltered subtree
   domain.

   unique_base <basedn>
          This legacy configuration parameter should be converted  to  the
          base dn component of the above unique_uri style of parameter.

   unique_ignore <attribute...>
          This  legacy  configuration  parameter  should be converted to a
          unique_uri parameter with ignore keyword as described above.

   unique_attributes <attribute...>
          This legacy configuration parameter should  be  converted  to  a
          unique_uri parameter, as described above.

   unique_strict <attribute...>
          This  legacy  configuration  parameter  should be converted to a
          strict keyword prepended to a unique_uri parameter, as described
          above.

CAVEATS

   unique_uri cannot be used with the old-style of configuration, and vice
   versa.  unique_uri can implement everything the older  system  can  do,
   however.

   Typical  attributes  for the ignore ldap:///...  URIs are intentionally
   not hardcoded into the overlay to  allow  for  maximum  flexibility  in
   meeting site-specific requirements.

   Replication  and  operations  with  manageDsaIt  control are allowed to
   bypass this enforcement. It is therefore  important  that  all  servers
   accepting  writes  have  this  overlay  configured in order to maintain
   uniqueness in a replicated DIT.

FILES

   /etc/ldap/slapd.conf
          default slapd configuration file

SEE ALSO

   slapd.conf(5), slapd-config(5).





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.