Bug 19570 - Selektive Replikationstests vereinfachen
Selektive Replikationstests vereinfachen
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: Wiki - Produkt Tests
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-22 14:06 CEST by Stefan Gohmann
Modified: 2016-10-21 18:51 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2010-08-22 14:06:15 CEST
Die Produkt Tests bzgl. der Selektiven Replikation sind relativ aufwendig beschrieben. Vom Prinzip her reicht folgendes aus:

ACL auf dem Master und Backup hinzufügen (am besten als vorletzte ACL):

access to attrs=description
  by dn.base="<LDAP DN des DC Slaves>" none
  by * read

access to dn.regex=".*,cn=x3,$ldap_base"
  by dn.base="<LDAP DN des DC Slaves>" none
   by dn.base="cn=admin,$ldap_base" write
   by set="user & [cn=Domain Admins,cn=groups,$ldap_base]/uniqueMember*" write
   by dn.base="uid=root,cn=users,$ldap_base" write
  by * read

Anschließend Container anlegen:


udm container/cn create --set name=x1
udm container/cn create --set name=x2 --set desciption=x2
udm container/cn create --set name=x3
udm container/cn create --set name=x4 --position cn=x3,$ldap_base
udm users/user create --position cn=x4,cn=x3,$ldap_base --set username=test1 --set lastname=test1 --set password=univention

x1 und x2 sind anschließend auf dem Slave vorhanden, allerdings ohne description. Der Container x4 und der Benutzer test1 sind nicht da.