o
    id                     @   sR   d dl mZmZmZmZ G dd deZG dd deeZG dd deeeZdS )	    )PluginRedHatPluginDebianPluginUbuntuPluginc                   @   s$   e Zd ZdZdZdZdZdd ZdS )Krb5a:  This plugin handles the collection of kerberos authentication config
    files and logging. Users should expect to see their krb5 config(s) in the
    final archive, along with krb5 logging and `klist` output.

    kdc configs and acls will also be collected from the distribution-spcecific
    kdc directory.
    zKerberos authenticationkrb5)identitysystemc                 C   sT   |  dd| j d| j ddg | j ddd | d	| j d
 | d d S )Nz/etc/krb5.confz/etc/krb5.conf.d/*z
/kadm5.aclz	/kdc.confz/var/log/kadmind.logz/var/log/krb5kdc.logkerberos_kdc_log)tagszklist -ket z/.k5*zklist -ket /etc/krb5.keytab)add_copy_speckdcdiradd_cmd_output)self r   9/usr/lib/python3/dist-packages/sos/report/plugins/krb5.pysetup   s   

z
Krb5.setupN)__name__
__module____qualname____doc__
short_descplugin_nameprofilesr   r   r   r   r   r      s    r   c                   @      e Zd ZdZdZdS )
RedHatKrb5)z	krb5-libszkrb5-serverz/var/kerberos/krb5kdcNr   r   r   packagesr   r   r   r   r   r   (       r   c                   @   r   )
UbuntuKrb5)zkrb5-kdczkrb5-configz	krb5-userz/var/lib/krb5kdcNr   r   r   r   r   r   .   r   r   N)sos.report.pluginsr   r   r   r   r   r   r   r   r   r   r   <module>   s   
