Changes

Jump to: navigation, search

stoney storage: OpenLDAP directory data organisation

1,146 bytes added, 09:07, 12 July 2017
/* Storage Accounts */
== Storage Accounts ==
The sub tree for the accounts of the storage stoney storage service:
dn: ou=accounts,ou=storage,ou=services,dc=stoney-cloud,dc=org
objectclass: top
objectclass: organizationalUnit
ou: accounts
description: The sub tree for the accounts of the storage stoney storage service.
=== Storage Account Example ===
Each The stoney storage service account has itdirectory structure, owners, groups and permissions are as follows:* PHP-FPM process: user '''<UID>-app''', group '''<UID>'''* PHP-FPM unix socket: user '''s own change root (chroot''', jailgroup '''www-srv''', permission '''0660'''* Apache process: user '''apache''', group '''apache''' (part of '''www-srv''')  <source lang="text">Path Perms Owner Group Descriptions /var/storage/4/834/731/3731834/default Symbolic link to "app-0"/var/storage/4/834/731/3731834/app-0 0755 root root/var/storage/4/834/731/3731834/app-0/htdocs 0755 root root Web server document root/var/storage/4/834/731/3731834/app-0/htdocs/apps 2750 <UID>-app <UID> Nextcloud app directory. (PHP-FPM needs write permissions)/var/storage/4/834/731/3731834/app-0/htdocs/themes 2750 <UID>-app <UID> Nextcloud themes directory (PHP-FPM needs write permissions)/var/storage/4/834/731/3731834/app-0/tmp /var/storage/4/834/731/3731834/app-0/data Nextcloud data  </source> The following example shows the OpenLDAP directory entry for the storage storage account with the uid number 3723707: dn: uid=37237073730083,ou=accounts,ou=storage,ou=services,dc=stoney-cloud,dc=org
objectclass: top
objectclass: account
objectclass: posixAccount
objectclass: shadowAccount
objectclass: sstStoragesstBackup
objectclass: sstProvisioning
objectclass: sstRelationship
uid: 37237073730083
userPassword: {SSHA}E/KLUgeAtApAPQ7mG2GMddCxTE9m9QOS
uidNumber: 3723707
shadowWarning: 7
shadowFlag: 134539460
sstStorageIntervalHourlysstBackupIntervalHourly: 0 sstStorageIntervalDailysstBackupIntervalDaily: 7 sstStorageIntervalWeeklysstBackupIntervalWeekly: 4 sstStorageIntervalMonthlysstBackupIntervalMonthly: 3 sstStorageIntervalYearlysstBackupIntervalYearly: 0 sstStorageWarningDayssstBackupWarningDays: 1 sstStorageWarningNumberssstBackupWarningNumbers: 0 sstStorageWarningOnsstBackupWarningOn: TRUE
sstNotificationWarningLevel: 85
preferredLanguage: de-CH
sstIsActive: TRUE
sstQuota: 10737418240
sstStorageSizesstBackupSize: 0
sstIncrementSize: 0
sstStorageLastSuccessfulStoragesstBackupLastSuccessfulBackup: computer:20130923T063554Z
sstProvisioningMode: add
sstProvisioningExecutionDate: 0
3,368
edits