Lines Matching full:ldap
2 Documentation Test Redfish LDAP user configuration.
12 Suite Teardown LDAP Suite Teardown Execution
26 Verify LDAP Configuration Created
27 [Documentation] Verify that LDAP configuration created.
30 Create LDAP Configuration
31 # Call 'Get LDAP Configuration' to verify that LDAP configuration exists.
32 Get LDAP Configuration ${LDAP_TYPE}
38 Verify Redfish LDAP Service Disable
39 [Documentation] Verify that LDAP is disabled and that LDAP user cannot
50 ... msg=LDAP user was able to login even though the LDAP service was disabled.
53 # Enabling LDAP so that LDAP user works.
60 Verify LDAP Login With ServiceEnabled
61 [Documentation] Verify that LDAP Login with ServiceEnabled.
64 Disable Other LDAP
70 # After update, LDAP login.
75 Verify LDAP Login With Correct AuthenticationType
76 [Documentation] Verify that LDAP Login with right AuthenticationType.
83 # After update, LDAP login.
88 Verify LDAP Config Update With Incorrect AuthenticationType
98 Verify LDAP Login With Correct LDAP URL
99 [Documentation] Verify LDAP Login with right LDAP URL.
102 Config LDAP URL ${LDAP_SERVER_URI}
105 Verify LDAP Config Update With Incorrect LDAP URL
106 [Documentation] Verify that LDAP Login fails with invalid LDAP URL.
108 [Teardown] Run Keywords Restore LDAP URL AND
111 Config LDAP URL ldap://1.2.3.4/ ${FALSE}
113 Verify LDAP Configuration Exist
114 [Documentation] Verify that LDAP configuration is available.
119 Should Not Be Empty ${resp} msg=LDAP configuration is not defined.
122 Verify LDAP User Login
123 [Documentation] Verify that LDAP user able to login into BMC.
130 Verify LDAP Service Available
131 [Documentation] Verify that LDAP service is available.
134 @{ldap_configuration}= Get LDAP Configuration ${LDAP_TYPE}
139 Verify LDAP Login Works After BMC Reboot
140 [Documentation] Verify that LDAP login works after BMC reboot.
148 Verify LDAP User With Admin Privilege Able To Do BMC Reboot
149 [Documentation] Verify that LDAP user with administrator privilege able to do BMC reboot.
153 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
156 # With LDAP user and with right privilege trying to do BMC reboot.
162 Verify LDAP User With Operator Privilege Able To Do Host Poweroff
163 [Documentation] Verify that LDAP user with operator privilege can do host
166 [Teardown] Restore LDAP Privilege
168 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
172 # Verify that the LDAP user with operator privilege is able to power the system off.
180 Verify AccountLockout Attributes Set To Zero By LDAP User
182 ... AccountLockoutThreshold are set to 0 by LDAP user.
191 # Create LDAP user and create session using LDAP user.
192 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
198 # Login using LDAP user.
201 # Set Account Lockout attributes using LDAP user.
210 Verify LDAP User With Read Privilege Able To Check Inventory
211 [Documentation] Verify that LDAP user with read privilege able to
214 [Teardown] Run Keywords FFDC On Test Case Fail AND Restore LDAP Privilege
220 Verify LDAP User With Read Privilege Should Not Do Host Poweron
221 [Documentation] Verify that LDAP user with read privilege should not be
224 [Teardown] Run Keywords FFDC On Test Case Fail AND Restore LDAP Privilege
230 Update LDAP Group Name And Verify Operations
231 [Documentation] Verify that LDAP group name update and able to do right
234 [Template] Update LDAP Config And Verify Set Host Name
235 [Teardown] Restore LDAP Privilege
246 Verify LDAP BaseDN Update And LDAP Login
247 [Documentation] Update LDAP BaseDN of LDAP configuration and verify
248 ... that LDAP login works.
257 Redfish Verify LDAP Login
260 Verify LDAP BindDN Update And LDAP Login
261 [Documentation] Update LDAP BindDN of LDAP configuration and verify
262 ... that LDAP login works.
271 Redfish Verify LDAP Login
274 Verify LDAP BindDN Password Update And LDAP Login
275 [Documentation] Update LDAP BindDN password of LDAP configuration and
276 ... verify that LDAP login works.
286 Redfish Verify LDAP Login
289 Verify LDAP Type Update And LDAP Login
290 [Documentation] Update LDAP type of LDAP configuration and verify
291 ... that LDAP login works.
294 Disable Other LDAP
299 Redfish Verify LDAP Login
302 Verify LDAP Authorization With Null Privilege
303 [Documentation] Verify the failure of LDAP authorization with empty
306 [Teardown] Restore LDAP Privilege
308 Update LDAP Config And Verify Set Host Name ${GROUP_NAME} ${EMPTY}
312 Verify LDAP Authorization With Invalid Privilege
313 [Documentation] Verify that LDAP user authorization with wrong privilege
316 [Teardown] Restore LDAP Privilege
318 Update LDAP Config And Verify Set Host Name ${GROUP_NAME}
322 Verify LDAP Login With Invalid Data
323 [Documentation] Verify that LDAP login with Invalid LDAP data and
324 ... right LDAP user fails.
328 ... Create LDAP Configuration
330 Create LDAP Configuration ${LDAP_TYPE} Invalid_LDAP_Server_URI
334 Redfish Verify LDAP Login ${False}
337 Verify LDAP Config Creation Without BASE DN
338 [Documentation] Verify that LDAP login with LDAP configuration
343 ... Create LDAP Configuration
345 Create LDAP Configuration ${LDAP_TYPE} Invalid_LDAP_Server_URI
348 Redfish Verify LDAP Login ${False}
351 Verify LDAP Authentication Without Password
352 [Documentation] Verify that LDAP user authentication without LDAP
361 Verify LDAP Login With Invalid BASE DN
362 [Documentation] Verify that LDAP login with invalid BASE_DN and
363 ... valid LDAP user fails.
367 ... Create LDAP Configuration
369 Create LDAP Configuration ${LDAP_TYPE} ${LDAP_SERVER_URI}
372 Redfish Verify LDAP Login ${False}
375 Verify LDAP Login With Invalid BIND_DN_PASSWORD
376 [Documentation] Verify that LDAP login with invalid BIND_DN_PASSWORD and
377 ... valid LDAP user fails.
381 ... Create LDAP Configuration
383 Create LDAP Configuration ${LDAP_TYPE} ${LDAP_SERVER_URI}
386 Redfish Verify LDAP Login ${False}
389 Verify LDAP Login With Invalid BASE DN And Invalid BIND DN
390 [Documentation] Verify that LDAP login with invalid BASE_DN and invalid
391 ... BIND_DN and valid LDAP user fails.
395 ... Create LDAP Configuration
397 Create LDAP Configuration ${LDAP_TYPE} ${LDAP_SERVER_URI}
400 Redfish Verify LDAP Login ${False}
404 [Documentation] Verify that LDAP group name and group privilege able to
407 [Setup] Update LDAP Configuration with LDAP User Role And Group
410 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
414 Verify LDAP Login With Invalid BIND DN
415 [Documentation] Verify that LDAP login with invalid BIND_DN and
416 ... valid LDAP user fails.
420 ... Create LDAP Configuration
422 Create LDAP Configuration ${LDAP_TYPE} ${LDAP_SERVER_URI}
425 Redfish Verify LDAP Login ${False}
428 Verify LDAP Authentication With Invalid LDAP User
429 [Documentation] Verify that LDAP user authentication for user not exist
430 ... in LDAP server and fails.
439 Update LDAP User Roles And Verify Host Poweroff Operation
440 [Documentation] Update LDAP user roles and verify host poweroff operation.
442 [Teardown] Restore LDAP Privilege
444 [Template] Update LDAP User Role And Host Poweroff
447 # Verify LDAP user with ReadOnly privilege not able to do host poweroff.
450 # Verify LDAP user with Operator privilege able to do host poweroff.
453 # Verify LDAP user with Administrator privilege able to do host poweroff.
457 Update LDAP User Roles And Verify Host Poweron Operation
458 [Documentation] Update LDAP user roles and verify host poweron operation.
460 [Teardown] Restore LDAP Privilege
462 [Template] Update LDAP User Role And Host Poweron
465 # Verify LDAP user with ReadOnly privilege not able to do host poweron.
468 # Verify LDAP user with Operator privilege able to do host poweron.
471 # Verify LDAP user with Administrator privilege able to do host poweron.
478 [Teardown] Restore LDAP Privilege
480 [Template] Update LDAP User Role And Configure IP Address
481 # Verify LDAP user with Administrator privilege is able to configure IP address.
484 # Verify LDAP user with ReadOnly privilege is forbidden to configure IP address.
487 # Verify LDAP user with Operator privilege is able to configure IP address.
494 [Teardown] Run Keywords Restore LDAP Privilege AND FFDC On Test Case Fail
496 [Template] Update LDAP User Role And Delete IP Address
497 # Verify LDAP user with Administrator privilege is able to delete IP address.
500 # Verify LDAP user with ReadOnly privilege is forbidden to delete IP address.
503 # Verify LDAP user with Operator privilege is able to delete IP address.
510 [Teardown] Restore LDAP Privilege
512 [Template] Update LDAP User Role And Read Network Configuration
519 Switch LDAP Type And Verify Login Fails
520 [Documentation] Switch LDAP type and verify login fails.
523 # Check Login with LDAP Type is working
524 Create LDAP Configuration
525 Redfish Verify LDAP Login
527 # Disable the LDAP Type from OpenLDAP to ActiveDirectory or vice-versa
532 # Enable the inverse LDAP type
533 Disable Other LDAP ${True}
534 …Create LDAP Configuration ${LDAP_TYPE_1} ${LDAP_SERVER_URI_1} ${LDAP_BIND_DN_1} ${LDAP_BIND_DN…
538 # Check if Login works via Inverse LDAP
543 # Login using LDAP type must fail
544 Redfish Verify LDAP Login ${False}
549 Redfish Verify LDAP Login
550 [Documentation] LDAP user log into BMC.
554 # valid_status Expected status of LDAP login ("True" or "False").
568 Update LDAP Config And Verify Set Host Name
569 [Documentation] Update LDAP config and verify by attempting to set host name.
582 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
586 # Verify that the LDAP user in ${group_name} with the given privilege is
591 Disable Other LDAP
592 [Documentation] Disable other LDAP configuration.
595 # First disable other LDAP.
596 ${inverse_ldap_type}= Set Variable If '${LDAP_TYPE}' == 'LDAP' ActiveDirectory LDAP
603 Config LDAP URL
604 [Documentation] Config LDAP URL.
608 # ldap_server_uri LDAP server uri (e.g. "ldap://XX.XX.XX.XX/").
614 # After update, LDAP login.
622 Restore LDAP URL
623 [Documentation] Restore LDAP URL.
625 # Restoring the working LDAP server uri.
646 Valid Value LDAP_TYPE valid_values=["ActiveDirectory", "LDAP"]
657 # Call 'Get LDAP Configuration' to verify that LDAP configuration exists.
658 Get LDAP Configuration ${LDAP_TYPE}
660 Disable Other LDAP
661 Create LDAP Configuration
665 LDAP Suite Teardown Execution
666 [Documentation] Restore ldap configuration, delete unused redfish session.
668 Restore LDAP Privilege
680 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
684 # Verify that the LDAP user with read privilege is able to read inventory.
699 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
708 Get LDAP Configuration
709 [Documentation] Retrieve LDAP Configuration.
713 # ldap_type The LDAP type ("ActiveDirectory" or "LDAP").
719 Update LDAP Configuration with LDAP User Role And Group
720 [Documentation] Update LDAP configuration update with LDAP user Role and group.
724 # ldap_type The LDAP type ("ActiveDirectory" or "LDAP").
734 # Provide adequate time for LDAP daemon to restart after the update.
738 Get LDAP Privilege
739 [Documentation] Get LDAP privilege and return it.
741 ${ldap_config}= Get LDAP Configuration ${LDAP_TYPE}
748 Restore LDAP Privilege
749 [Documentation] Restore the LDAP privilege to its original value.
754 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE}
772 Update LDAP User Role And Host Poweroff
773 [Documentation] Update LDAP user role and do host poweroff.
778 # ldap_type The LDAP type ("ActiveDirectory" or "LDAP").
786 Update LDAP Configuration with LDAP User Role And Group ${ldap_type}
798 Update LDAP User Role And Host Poweron
799 [Documentation] Update LDAP user role and do host poweron.
804 # ldap_type The LDAP type ("ActiveDirectory" or "LDAP").
812 Update LDAP Configuration with LDAP User Role And Group ${ldap_type}
824 Update LDAP User Role And Configure IP Address
825 [Documentation] Update LDAP user role and configure IP address.
830 # ldap_type The LDAP type ("ActiveDirectory" or "LDAP").
835 Update LDAP Configuration with LDAP User Role And Group ${ldap_type}
847 Update LDAP User Role And Delete IP Address
848 [Documentation] Update LDAP user role and delete IP address.
853 # ldap_type The LDAP type ("ActiveDirectory" or "LDAP").
860 # Configure IP address before deleting via LDAP user roles.
863 Update LDAP Configuration with LDAP User Role And Group ${ldap_type}
873 Update LDAP User Role And Read Network Configuration
874 [Documentation] Update LDAP user role and read network configuration.
879 # ldap_type The LDAP type ("ActiveDirectory" or "LDAP").
884 Update LDAP Configuration with LDAP User Role And Group ${ldap_type}