+
    Û1jƒ  ã                   óv   € ^ RI t ^ RIt^ RIHtHtHtHt  ! R R]4      t ! R R]]4      t ! R R]]]4      t	R# )	é    N)ÚPluginÚRedHatPluginÚDebianPluginÚUbuntuPluginc                   ó@   a € ] tR t^t o RtRtRtRtRtR t	R t
RtV tR# )	Ú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Úkrb5Nc                ó  € V P                  R RV P                   R2V P                   R2R.4       V P                  4        V P                  RRR7       V P                  RV P                   R	24       V P                  R
4       R# )z/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.keytabN)Úadd_copy_specÚkdcdirÚcollect_kinitÚadd_cmd_output)Úselfs   &Ú9/usr/lib/python3/dist-packages/sos/report/plugins/krb5.pyÚsetupÚ
Krb5.setup   s‡   € Ø×ÑØØ Ø�{‰{ˆm˜:Ð&Ø�{‰{ˆm˜9Ð%Ø"ð
ô 	ð 	×ÑÔØ×ÑÐ1Ð8JÐÔKØ×Ñ˜k¨$¯+©+¨°eÐ<Ô=Ø×ÑÐ9Ö:ó    c                óD  € \         P                  ! 4       pRpV P                  V4      '       dÞ   \        VRRR7      ;_uu_ 4       pV F¶  p\        P
                  ! RV\        P                  4      '       dE   VP                  R4      ^ ,          R,          P                  4       pV P                  RV R	24        MG\        P
                  ! R
V\        P                  4      '       g   K¡  V P                  RV R24        M	  RRR4       R# R#   + '       g   i     R# ; i)zù
Collect the kinit command output for the system with id_provider "AD"
or "IPA" domains.

While integrating the Linux M/c with AD the realmd will create a
computer object on the AD side. The realmd and AD restrict the
Hostname/SPN to 15 Characters.
z/etc/sssd/sssd.confÚrzutf-8)Úencodingz\s*id_provider\s*=\s*adÚ.:Né   NzMKRB5_TRACE=/dev/stdout                                             kinit -k 'z$'z\s*id_provider\s*=\s*ipaÚ'N)
ÚsocketÚgetfqdnÚpath_isfileÚopenÚreÚmatchÚ
IGNORECASEÚsplitÚupperr   )r   ÚhostnameÚ	sssd_confÚfÚlines   &    r   r   ÚKrb5.collect_kinit+   sû   € ô —>’>Ó#ˆØ)ˆ	Ø×Ñ˜I×&Ò&Ü�i ¨w×7Õ7¸1Û�DÜ—x’xÐ :Ø $¤b§m¡m÷5ò 5à#+§>¡>°#Ó#6°qÕ#9¸#Õ#>×#DÑ#DÓ#F˜Ø×+Ñ+ð /7Ø7?°jÀð-Dô EáÜ—x’xÐ ;Ø $¤b§m¡m÷5ô 5à×+Ñ+ð /7Ø7?°jÀð-Cô Dáñ ÷ 8Ñ7ñ 'ß7×7Ð7ús   ÁBDÃ)DÄD	© )ÚidentityÚsystem)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú
short_descÚplugin_nameÚprofilesr   r   r   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s/   ø‡ € ñð +€JØ€KØ%€HØ€Fò;÷ð r   r   c                   ó   € ] tR t^GtRtRtRtR# )Ú
RedHatKrb5z/var/kerberos/krb5kdcr*   N)z	krb5-libszkrb5-server©r-   r.   r/   r0   Úpackagesr   r5   r*   r   r   r9   r9   G   s   † à+€HØ$„Fr   r9   c                   ó   € ] tR t^MtRtRtRtR# )Ú
UbuntuKrb5z/var/lib/krb5kdcr*   N)zkrb5-kdczkrb5-configz	krb5-userr:   r*   r   r   r=   r=   M   s   † à7€HØ„Fr   r=   )
r    r   Úsos.report.pluginsr   r   r   r   r   r9   r=   r*   r   r   Ú<module>r?      s>   ðó 
Û ß OÓ Oô4ˆ6ô 4ôn%��|ô %ô ��| \ö  r   