From: Frank Brehm Date: Fri, 18 Jun 2021 11:49:39 +0000 (+0200) Subject: Renaming LFIF files X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=38128a84ef54316e4f7aa3b7ccf9f09b5da2f6fb;p=pixelpark%2Fldap-migration.git Renaming LFIF files --- diff --git a/schema/00.add.base_structure.ldif b/schema/00.add.base_structure.ldif new file mode 100644 index 0000000..ec5ad06 --- /dev/null +++ b/schema/00.add.base_structure.ldif @@ -0,0 +1,12 @@ +dn: ou=Groups,o=isp +description: All generic and not customer related groups. +objectClass: top +objectClass: organizationalUnit +ou: People + +dn: ou=People,o=isp +description: All generic and not customer related accounts. +objectClass: top +objectClass: organizationalUnit +ou: People + diff --git a/schema/00.base_structure.ldif b/schema/00.base_structure.ldif deleted file mode 100644 index ec5ad06..0000000 --- a/schema/00.base_structure.ldif +++ /dev/null @@ -1,12 +0,0 @@ -dn: ou=Groups,o=isp -description: All generic and not customer related groups. -objectClass: top -objectClass: organizationalUnit -ou: People - -dn: ou=People,o=isp -description: All generic and not customer related accounts. -objectClass: top -objectClass: organizationalUnit -ou: People - diff --git a/schema/01.add.dsadmin.ldif b/schema/01.add.dsadmin.ldif new file mode 100644 index 0000000..ac5e6d0 --- /dev/null +++ b/schema/01.add.dsadmin.ldif @@ -0,0 +1,15 @@ +dn: uid=dsadmin,ou=People,o=isp +description: Generic user to administrate Directory entries +objectClass: top +objectClass: inetUser +objectClass: account +uid: dsadmin +userPassword: Uaghoon&ier9reeghied + +dn: cn=Directory Administrators,ou=Groups,o=isp +cn: Directory Administrators +objectClass: top +objectClass: groupofUniqueNames +uniqueMember: cn=admin +uniqueMember: uid=dsadmin,ou=People,o=isp + diff --git a/schema/01.dsadmin.ldif b/schema/01.dsadmin.ldif deleted file mode 100644 index ac5e6d0..0000000 --- a/schema/01.dsadmin.ldif +++ /dev/null @@ -1,15 +0,0 @@ -dn: uid=dsadmin,ou=People,o=isp -description: Generic user to administrate Directory entries -objectClass: top -objectClass: inetUser -objectClass: account -uid: dsadmin -userPassword: Uaghoon&ier9reeghied - -dn: cn=Directory Administrators,ou=Groups,o=isp -cn: Directory Administrators -objectClass: top -objectClass: groupofUniqueNames -uniqueMember: cn=admin -uniqueMember: uid=dsadmin,ou=People,o=isp - diff --git a/schema/02.add.readonly.ldif b/schema/02.add.readonly.ldif new file mode 100644 index 0000000..12b6d64 --- /dev/null +++ b/schema/02.add.readonly.ldif @@ -0,0 +1,8 @@ +dn: uid=readonly,ou=People,o=isp +description: Generic user for readonly access. +objectClass: top +objectClass: inetUser +objectClass: account +uid: readonly +userPassword: eigh,oo9ookoo7Timiz4 + diff --git a/schema/02.readonly.ldif b/schema/02.readonly.ldif deleted file mode 100644 index 12b6d64..0000000 --- a/schema/02.readonly.ldif +++ /dev/null @@ -1,8 +0,0 @@ -dn: uid=readonly,ou=People,o=isp -description: Generic user for readonly access. -objectClass: top -objectClass: inetUser -objectClass: account -uid: readonly -userPassword: eigh,oo9ookoo7Timiz4 - diff --git a/schema/10-root-aci.ldif b/schema/10-root-aci.ldif deleted file mode 100644 index 546fdc7..0000000 --- a/schema/10-root-aci.ldif +++ /dev/null @@ -1,6 +0,0 @@ -dn: o=isp -changetype: modify -add: aci -aci: (targetattr!="userPassword || aci")(version 3.0; acl "Enable anonymous access"; allow (read, search, compare) userdn="ldap:///anyone";) -aci: (targetattr="carLicense || description || displayName || facsimileTelephoneNumber || homePhone || homePostalAddress || initials || jpegPhoto || labeledURI || mail || mobile || pager || photo || postOfficeBox || postalAddress || postalCode || preferredDeliveryMethod || preferredLanguage || registeredAddress || roomNumber || secretary || seeAlso || st || street || telephoneNumber || telexNumber || title || userCertificate || userPassword || userSMIMECertificate || x500UniqueIdentifier")(version 3.0; acl "Enable self write for common attributes"; allow (write) userdn="ldap:///self";) -aci: (targetattr ="*")(version 3.0;acl "Directory Administrators Group";allow (all) (groupdn = "ldap:///cn=Directory Administrators,o=isp");) diff --git a/schema/10.modify.root-aci.ldif b/schema/10.modify.root-aci.ldif new file mode 100644 index 0000000..546fdc7 --- /dev/null +++ b/schema/10.modify.root-aci.ldif @@ -0,0 +1,6 @@ +dn: o=isp +changetype: modify +add: aci +aci: (targetattr!="userPassword || aci")(version 3.0; acl "Enable anonymous access"; allow (read, search, compare) userdn="ldap:///anyone";) +aci: (targetattr="carLicense || description || displayName || facsimileTelephoneNumber || homePhone || homePostalAddress || initials || jpegPhoto || labeledURI || mail || mobile || pager || photo || postOfficeBox || postalAddress || postalCode || preferredDeliveryMethod || preferredLanguage || registeredAddress || roomNumber || secretary || seeAlso || st || street || telephoneNumber || telexNumber || title || userCertificate || userPassword || userSMIMECertificate || x500UniqueIdentifier")(version 3.0; acl "Enable self write for common attributes"; allow (write) userdn="ldap:///self";) +aci: (targetattr ="*")(version 3.0;acl "Directory Administrators Group";allow (all) (groupdn = "ldap:///cn=Directory Administrators,o=isp");)