Skip to content
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

authentication - ssh timeout #115

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/guides/index.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
How to guides
How-To Guides
#############

.. toctree::

check-sssd-functionality
using-roles
using-ssh
skipping-conditional-tests
testing-authentication
testing-autofs
testing-dbus
testing-gpo
testing-identity
testing-ipa-trust
testing-ldap-krb5
testing-local-overrides
testing-local-users
testing-netgroups
testing-sss_override
testing-offline
testing-passkey
testing-pam
testing-ipa-trust
testing-local-users
using-roles
using-ssh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Skipping tests if SSSD is missing feature
#########################################
Skipping Conditional Tests
##########################

On some situations, SSSD code base is providing specific functionality by
enabling it via a configure time flag. A typical example is a files provider
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/testing-authentication.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Testing authentication and sudo
Testing Authentication and Sudo
###############################

Class :class:`sssd_test_framework.utils.authentication.AuthenticationUtils`
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/testing-autofs.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Testing autofs / automount
##########################
Testing AutoFS and Automount
############################

Class :class:`sssd_test_framework.utils.automount.AutomountUtils` provides API
that can be used to test autofs / automount functionality. It can test that the
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/testing-gpo.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Testing AD GPO HBAC
###################
Testing GPOs
############

:class:`~sssd_test_framework.roles.ad.AD.GPO`
Class :class:`sssd_test_framework.roles.ad.GPO`
provides Group Policy Objects (GPO) management to configure GPO policies on AD. Allowing us
to manage Host Based Access Control(HBAC) from the domain controller. GPOs are windows policies,
consisting of computer and user configurations, registry keys, administrative template, security
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/testing-identity.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Testing identity
Testing Identity
################

Class :class:`sssd_test_framework.utils.tools.LinuxToolsUtils` provides access
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/testing-ipa-trust.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Testing IPA trust with AD and Samba
###################################
Testing IPA Trusts
##################

To test setup with IPA server and trusted Active Directory or Samba domain,
you can use the following topologies:
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/testing-ldap-krb5.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Testing LDAP with Kerberos
Testing LDAP With Kerberos
##########################

SSSD's LDAP provider can be configured to use Kerberos as the authentication
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Local override of users and groups
###################################
Testing Local Overrides
#######################

Class :class:`sssd_test_framework.utils.sss_override.SSSOverrideUtils` provides
an API to manage local overrides for users and groups. Also known as ID views,
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/testing-local-users.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Local users and groups
######################
Testing Local Users and Groups
##############################

Class :class:`sssd_test_framework.utils.local_users.LocalUsersUtils` provides
API to manage local users and groups. It shares the same generic API that is
Expand Down
3 changes: 1 addition & 2 deletions docs/guides/testing-netgroups.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Testing netgroups
Testing Netgroups
#################

Class :class:`sssd_test_framework.utils.tools.LinuxToolsUtils` provides access
Expand Down Expand Up @@ -122,7 +122,6 @@ For most simple cases, you can avoid comparing the domain part like this:

.. code-block:: python
:caption: Example with topology parametrization
:emphasize-lines: 15-16

@pytest.mark.topology(KnownTopologyGroup.AnyProvider)
def test_netgroup(client: Client, provider: GenericProvider):
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/testing-offline.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Testing SSSD in offline mode
Testing When SSSD is Offline
############################

In order to test SSSD in offline mode, we can use the firewall module from
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/testing-pam.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Pluggable Authentication Modules / PAM
######################################
Testing PAM Modules
###################

Class :class:`sssd_test_framework.utils.pam.PAMUtils` provides
an API to manage PAM module configuration. Currently pam_access and pam_faillock is supported.
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/testing-passkey.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Testing passkey authentication
##############################
Testing Passkeys
################

Passkey can be tested using passkey related methods from
:class:`sssd_test_framework.utils.sssctl.SSSCTLUtils` and
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/using-roles.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Using multihost roles
#####################
Using Roles
###########

Multihost role is the main object that gives you access to the remote host. Role
represents a service that runs on the host and the role object provides
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/using-ssh.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Connecting to host via SSH
##########################
Using SSH
#########

You can use :class:`pytest_mh.ssh.SSHClient` to connect to any host as any
user. It is not recommended to instantiate this class on yourself but you should
Expand Down
2 changes: 1 addition & 1 deletion sssd_test_framework/utils/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"SudoAuthenticationUtils",
]

DEFAULT_AUTHENTICATION_TIMEOUT: int = 60
DEFAULT_AUTHENTICATION_TIMEOUT: int = 120
"""Default timeout for authentication failure."""


Expand Down
Loading