owncloud / user_ldap

📒
GNU Affero General Public License v3.0
17 stars 17 forks source link

[QA] 0.16.1 Testplan #763

Closed jnweiger closed 2 years ago

jnweiger commented 2 years ago

User_Ldap Test Plan

Template: https://github.com/owncloud/QA/blob/master/Server/Test_Plan_user_ldap.md FIXME:

Setup

Setup details (click to view) * vi tasks/user_ldap.sh -> ldap_server=95.217.210.161 (small server from below) * `bash ./oc10.sh user_ldap=0.16.0 windows_network_drive oauth2` (for testing old behaviour and upgrade testing) - https://oc10110-ldap-0160-20221107.jw-qa.owncloud.works * `bash ./oc10.sh user_ldap windows_network_drive oauth2` (for testing new features without upgrade) - https://oc10110-ldap-0161rc1-20221108.jw-qa.owncloud.works #### external storages: - windows_network_drive - SFTP #### Mircosoft AD: 1. Replacement server for fsweb.test.owncloud.works - available in a private 10.7.0.2 network at hetzner - there is also the corresponding WND server at 10.7.0.3 #### OpenLDAP: 3. small openldap server - less than 1000 users, less than 40 groups - two base DNs (we initially configure only one to owncloud) (outdated: https://github.com/owncloud/docker-servers/tree/owncloud-openldap)

Testing functionality

Upgrade

ldap:test-config

ldap:show-config

ldap:set-config

ldap:search

ldap:check-user

ldap:create-empty-config

ldap:delete-config

user:sync

LDAP quota

If both LDAP quota field and default LDAP quota are set

Several LDAP servers

Test LDAP properties

LDAP Scenarios integrated with external Storage

User account table integration

Wizard General

Wizard Configuration Server

Wizard Configuration Users

Wizard Configuration login

Wizard Configuration groups

Wizard Configuration Advanced

Wizard Configuration Chooser

Maintenance Commands

jnweiger commented 2 years ago

Changelog Testing

jnweiger commented 2 years ago

Performance with 2000 users

hetzner_deploy/openldap_server.sh creates ~/ldif/45-lem1000.ldif with 1000 lemmings and 1000 rabbits in two groups. time occ user:sync "OCA\User_LDAP\User_Proxy" --showCount --re-enable --missing-account-action=disable

AD Server with 1700 user via 10.7.0.2 internal hetzner network

jnweiger commented 2 years ago

QA passed.