HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/sssd.cpython-39.pyc
a

^��c�	�@sbddlmZmZmZmZmZddlmZGdd�de�ZGdd�dee�ZGdd�deee�Z	d	S)
�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin�SoSPredicate)�globc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�SssdzSystem security service daemon�sssd)�servicesZsecurity�identity)r	zsssd-commoncCs�|�gd��|jtd�dd�|�gd��t|dgd�}|jd|d	�|jd
|d	�}|ddkr�|d
��D]}|�d|�qpdS)N)�/etc/sssd/sssd.confz/etc/sssd/conf.d/*.confz%/var/lib/sss/pubconf/krb5.include.d/*z/var/log/sssd/*log*Z	sssd_logs)�tags)z/var/lib/sss/mc/passwdz/var/lib/sss/mc/groupz/var/lib/sss/mc/initgroupsr	)r
zsssctl config-check)Zpredzsssctl domain-list�statusr�outputzsssctl domain-status -o )�
add_copy_specrrZadd_cmd_outputZcollect_cmd_output�
splitlines)�selfZ	sssd_pred�domainZdomain_name�r�;/usr/lib/python3.9/site-packages/sos/report/plugins/sssd.py�setups
z
Sssd.setupcCs$d}|�d|d�|�d|d�dS)Nz#(\s*ldap_default_authtok\s*=\s*)\S+rz
\1********z/etc/sssd/conf.d/*)Zdo_file_subZdo_path_regex_sub)rZregexprrr�postproc8sz
Sssd.postprocN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrrs rcseZdZ�fdd�Z�ZS)�
RedHatSssdcstt|���dS)N)�superrr�r��	__class__rrrAszRedHatSssd.setup�rrrr�
__classcell__rrrrr?srcseZdZ�fdd�Z�ZS)�
DebianSssdcstt|���|�d�dS)Nz/etc/default/sssd)rr"rrrrrrrGszDebianSssd.setupr rrrrr"Esr"N)
Zsos.report.pluginsrrrrrrrrr"rrrr�<module>s/