HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/sssd.cpython-39.opt-1.pyc
a

\��hT	�@sbddlmZddlmZmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�Z	d	S)
�)�glob)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin�SoSPredicatec@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*=)(.*))rz\2 ********z/etc/sssd/conf.d/*)Zdo_file_subZdo_path_regex_sub)rZregexprrr�postproc8sz
Sssd.postprocN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrrs rc@seZdZdS)�
RedHatSssdN)rrrrrrrr?srcseZdZ�fdd�Z�ZS)�
DebianSssdcst���|�d�dS)Nz/etc/default/sssd)�superrr)r��	__class__rrrEs
zDebianSssd.setup)rrrr�
__classcell__rrrrrCsrN)
rZsos.report.pluginsrrrrrrrrrrrr�<module>s/