403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3.9/site-packages/ipalib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/ipalib/__pycache__/facts.cpython-39.opt-1.pyc
a

�ji��@sTdZddlZddlZddlmZddlmZe�e�Z	gd�Z
dd�Zdd
d�ZdS)
z
Facts about the installation
�N�)�
sysrestore)�paths)ZhttpdZkadminZdirsrvzpki-tomcatd�installZkrb5kdcZnamedcCs�t�tj�}|�d�r"|�dd�Sd}t�tj�}tD],}|�|�rVt�	d|�d}q6t�	d|�q6|�
�r|t�	d�d}n
t�	d�|S)	z@
    Use the state to determine if IPA has been configured.
    �installation�completeFz%s is configuredTz%s is not configuredzfilestore has fileszfilestore is tracking no files)r�	StateFilerZ
SYSRESTOREZ	has_state�	get_state�	FileStore�IPA_MODULES�logger�debug�	has_files)Zsstore�	installed�fstore�module�r�0/usr/lib/python3.9/site-packages/ipalib/facts.py�is_ipa_configureds



rFcCsPt�tj�}t�tj�}|�dd�}|dur0|S|��pJ|oJtj�	tj
�}|S)a
    Consider IPA client not installed if nothing is backed up
    and default.conf file does not exist. If on_master is set to True,
    the existence of default.conf file is not taken into consideration,
    since it has been already created by ipa-server-install.
    rrN)rr
rZIPA_CLIENT_SYSRESTORErr	r�os�path�existsZIPA_DEFAULT_CONF)Z	on_masterrZ
statestorerrrr�is_ipa_client_configured3s�r)F)
�__doc__Zloggingr�rZipaplatform.pathsrZ	getLogger�__name__rrrrrrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit