Changes

/* S3 Bucket based Backup Account Example */
* '''x<sup>2</sup>''': Only show, if <code>sstBackupWarningOn</code> is set to <code>TRUE</code>.
* '''x<sup>3</sup>''': Either <code>sstBelongsToPersonUID</code> or <code>sstBelongsToServiceUID</code> must bei set. The attribute <code>sstBelongsToServiceUID</code> must be set for all the stoney cloud [[stoney_cloud:_OpenLDAP_directory_data_organisation#Units_.28instances.29 | units]] (instances).
 
=== S3 Bucket based Backup Account Example ===
Each (Online) Backup service account has it's own change root (chroot, jail) directory. The following example shows the OpenLDAP directory entry for the (online) backup account with the uid number 3723707:
<source lang="ldif">
dn: uid=3723707,ou=accounts,ou=backup,ou=services,dc=stoney-cloud,dc=org
objectclass: top
objectclass: account
objectclass: posixAccount
objectclass: shadowAccount
objectclass: sstS3Bucket
objectclass: sstProvisioning
objectclass: sstRelationship
uid: 3723707
userPassword: {SSHA}E/KLUgeAtApAPQ7mG2GMddCxTE9m9QOS
uidNumber: 3723707
gidNumber: 3723707
cn: Michael Eichenberger
gecos: Michael Eichenberger
homeDirectory: /home/3723707
loginShell: /bin/sh
shadowLastChange: 11108
shadowMax: 99999
shadowWarning: 7
shadowFlag: 134539460
sstBackupIntervalHourly: 0
sstBackupIntervalDaily: 7
sstBackupIntervalWeekly: 4
sstBackupIntervalMonthly: 3
sstBackupIntervalYearly: 0
sstBackupIterations: 99
sstBackupWarningDays: 1
sstBackupWarningNumbers: 0
sstBackupWarningOn: TRUE
sstNotificationWarningLevel: 85
preferredLanguage: de-CH
sstNotificationWarningMedium: mail
sstUseSelfcare: FALSE
sstUseSSH: TRUE
sstIsActive: TRUE
sstQuota: 10737418240
sstBackupSize: 0
sstIncrementSize: 0
sstBackupLastSuccessfulBackup: computer:20130923T063554Z
host: sst-int-054
sstProvisioningMode: add
sstProvisioningExecutionDate: 0
sstProvisioningState: 0
sstBelongsToResellerUID: 4000000
sstBelongsToCustomerUID: 4000001
sstBelongsToPersonUID: 4000002
sstBelongsToServiceUID: 4000003
</source>
 
The following table describes the different attributes:
{| border="1" style="border-collapse: collapse; font-size:80%;" width="100%" class="wikitable sortable"
! style="text-align:left; width: 180px" | Attribute
! style="text-align:left; width: 220px" | Objectclass
! style="width: 80px" | Existance
! style="width: 80px" | Mandatory
! style="text-align:left;" | Description
|-
 
| <!-- Attribute --> style="text-align: left;" | uid
| <!-- Objectclass --> style="text-align: left;" |
| <!-- Existance --> style="text-align: center;" | MUST
| <!-- Mandatory --> style="text-align: center;" | x
| <!-- Description --> style="text-align: left;" | A unique integer value with 7 digits or more. For example: <code>4000003</code>.
|-
 
| <!-- Attribute --> style="text-align: left;" | description
| <!-- Objectclass --> style="text-align: left;" |
| <!-- Existance --> style="text-align: center;" | MAY
| <!-- Mandatory --> style="text-align: center;" | x
| <!-- Description --> style="text-align: left;" | The description of the leaf.
|-
 
| <!-- Attribute --> style="text-align: left;" | sstCancellationDate
| <!-- Objectclass --> style="text-align: left;" | sstRelationship
| <!-- Existance --> style="text-align: center;" | MAY
| <!-- Mandatory --> style="text-align: center;" |
| <!-- Description --> style="text-align: left;" | The cancellation date of a reseller, customer or service in the form of [YYYY][MM][DD] (ISO 8601). For example: '''20201231'''.
 
The attribute <code>sstCancellationDate</code> is used in a logical AND combination with <code>sstIsActive</code>. With other words: Once the cancellation date has passed, it overrides the <code>sstIsActive</code> value.
|-
 
| <!-- Attribute --> style="text-align: left;" | sstBelongsToResellerUID
| <!-- Objectclass --> style="text-align: left;" | sstRelationship
| <!-- Existance --> style="text-align: center;" | MUST
| <!-- Mandatory --> style="text-align: center;" | x
| <!-- Description --> style="text-align: left;" | Stores the reseller UID the leaf belongs to. A unique value with 7 digits or more. For example: <code>4000000</code>.
|-
 
| <!-- Attribute --> style="text-align: left;" | sstBelongsToCustomerUID
| <!-- Objectclass --> style="text-align: left;" | sstRelationship
| <!-- Existance --> style="text-align: center;" | MUST
| <!-- Mandatory --> style="text-align: center;" | x
| <!-- Description --> style="text-align: left;" | Stores the customer UID the leaf belongs to. A unique value with 7 digits or more. For example: <code>4000001</code>.
|-
 
| <!-- Attribute --> style="text-align: left;" | sstBelongsToPersonUID
| <!-- Objectclass --> style="text-align: left;" | sstRelationship
| <!-- Existance --> style="text-align: center;" | MAY
| <!-- Mandatory --> style="text-align: center;" | x
| <!-- Description --> style="text-align: left;" | Stores the UID of the service the leaf belongs to. This UID can be used to look up other information. A unique value with 7 digits or more. <code>4000123</code>.
|-
 
| <!-- Attribute --> style="text-align: left;" | sstBelongsToServiceUID
| <!-- Objectclass --> style="text-align: left;" | sstRelationship
| <!-- Existance --> style="text-align: center;" | MAY
| <!-- Mandatory --> style="text-align: center;" | x
| <!-- Description --> style="text-align: left;" | Stores the UID of the service the leaf belongs to. This UID can be used to look up other information. A unique value with 7 digits or more. <code>4000123</code>.
|-
 
|}
== Backup Groups ==
SLB, editor, reviewer
3,407
edits