-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testplan for user_ldap 0.16.0 #682
Comments
Changlog Testing
|
Testplan completed with minor issues (but more complete than ever before) QA passed. |
jnweiger
added a commit
to owncloud/QA
that referenced
this issue
Jan 18, 2022
Release done. Testplan updates merged back to template. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
User_Ldap Test Plan
Setup
Setup details (click to view)
bash ./make_oc10_apps.sh user_ldap=0.16.0-rc2 windows_network_drive oauth2
bash ./make_oc10_apps.sh user_ldap=0.15.4 windows_network_drive oauth2
(for upgrade testing!)OpenLDAP:
Prepare one LDAP backends for testing either of:
big server
small ldap server
(outdated: https://github.com/owncloud/docker-servers/tree/owncloud-openldap)
Testing functionality
Upgrade
ldap:test-config
ldap:test-config
with a valid configIDldap:test-config
with a wrong hostldap:test-config
with empty passwordldap:test-config
with invalid configIDldap:show-config
ldap:show-config
with no parametersldap:show-config
with valid configIDldap:show-config
with invalid configIDldap:show-config
with show-password flagldap:show-config
without show-password flagldap:set-config
ldap:set-config
with invalid configIDldap:set-config
with valid configIDldap:search
ldap:search
with valid configuration and longer limitldap:search
with offset multiple of limit (both positive)ldap:search
name (default configuration)ldap:search
name (fixed configuration – added “displayName” and/or other attributes in the User Search Attributes field in the wizard)ldap:search --group
group (fixed configuration – added “displayName” and/or other attributes in the Group Search Attributes field in the wizard)occ ldap:search --group ''
ldap:check-user
ldap:check-user
with a good oC user id (the lengthy guuid string)ldap:check-user
with a wrong oC user idldap:check-user
with a good oC user id + disabled "Configuration Active" in Advanced->Connection settingsldap:check-user
Good oc user id + all disabled configuration + force option; then enable the configuration and recheckldap:create-empty-config
ldap:create-empty-config
ldap:delete-config
ldap:delete-config
user:sync
sudo -u www-data ./occ user:sync "OCA\User_LDAP\User_Proxy"
ldap:update-group
Run occ commandXXX Command no longer exists. obsoleted by user:syncldap:update-group
Test LDAP properties
User account table integration
occ user:sync -l
occ user:sync "OCA\User_LDAP\User_Proxy"
occ user:sync "OCA\User_LDAP\User_Proxy"
choosing disabling accounts optionocc user:sync "OCA\User_LDAP\User_Proxy"
choosing deleting accounts optionWizard General
occ app:enable oauth2
-> The tabs do not overlap with user_ldapWizard Configuration Users
2. The input field for manually writing LDAP filter is shown
(“raw mode”)
3. Click on “Edit LDAP Query”
2. Subsqeuent action is coherent with button click (either switch or stay)
1b. or “Manually enter LDAP filters” is disabled
3. Click on “Edit LDAP Query”
2. If assisted mode is activated for the first time, object class and groups detection is run once
2. Open object class multiselect
3. Change values up to your choice and close it
2. The filter contains exactly all selected object classes
2. Perform search with the search input field
2. Select one or more groups in the “available groups” list
3. Click the “>” / "<" buttons
2. Click on “Verify settings and count users”
2. When done, a label appears saying “xx users found”, if more then 1000 users are available “> 1000 users found“ is shown
2. Click on “Verify settings and count users”
2. When done, a label appears saying “0 users found”
Wizard Configuration groups
2. “Manually enter LDAP filters” is disabled
3. Move to Groups tab
2.If more than 40 groups available, a different group selection tool is presented (not the known multiselect)
3. No filter is created initially, no text next to “LDAP Filter:”
2. “Manually enter LDAP filters” is enabled
3. Move to Groups tab
2. The multi select box elements are disabled
3. i.e. Neither object classes nor groups are being detected
2. The input field for manually writing LDAP filter is shown
(“raw mode”)
3. Click on “Edit LDAP Query”
2. Subsequent action is coherent with button click (either switch or stay)
1b. or “Manually enter LDAP filters” is disabled
3. Click on “Edit LDAP Query”
2. If assisted mode is activated for the first time, object class and groups detection is run once
2. Click on “Verify settings and count groups”
2. When done, a label appears saying “0 groups found”
Wizard Configuration Advanced
2. Go to Advanced Tab
3. Be in Connection Settings
2. Go to Advanced Tab
3. Open Directory Settings
2. Group-Member-Associtation should be correct (depends on OpenLDAP, AD typically has “member (AD)”)
2. Go to Advanced Tab
3. Open Special Attributes
Maintenance Commands
occ ldap:invalidate-cache
XXX take no parameter<user name>
occ group:list-members <group name>
occ user:list-groups <user id>
occ file:scan --group <group>
occ background:queue:ex ...
TODO: find expected behacviourocc ldap:search --group ''
The text was updated successfully, but these errors were encountered: