Project

General

Profile

Actions

action #92209

closed

coordination #81028: [epic] Test YaST modules with OOP framework with yui-rest-client and validate its configuration

Automate with libyui REST API yast2 ldap-server

Added by JERiveraMoya almost 3 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
Start date:
2021-05-06
Due date:
% Done:

0%

Estimated time:

Description

We can reuse the information that is introduced in console/yast2_samba to automate the creation of a new directory instance for LDAP with libyui REST API and create corresponding validation.

For the validation we can check service and query ldap, for example:

my $ldapsearch = "ldapsearch -x -b \"$ldap_directives{dir_suffix}\" -H ldap://localhost " .
      "-D \"$ldap_directives{dir_manager_dn}\" \"objectclass=account\" -w $ldap_directives{dir_manager_passwd}";

Optionally we could research how to validate that the TLS certificates introduced in this module are correct.

Actions

Also available in: Atom PDF