Current File : //usr/lib/python2.7/site-packages/sos/plugins/ldap.pyc
�
u��ec@sqddlmZmZmZmZdefd��YZdeefd��YZdeeefd��YZdS(	i����(tPlugintRedHatPlugintDebianPlugintUbuntuPlugintLdapcBs2eZdZdZdZdZd�Zd�ZRS(	sLDAP configuration
    tldaptidentitytsysmgmttsystems/etc/openldap/ldap.confcCs$tt|�j�|jd�dS(Ns/etc/ldap.conf(tsuperRtsetupt
add_copy_spec(tself((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyR
scCs|jddd�dS(Ns/etc/ldap.confs(\s*bindpw\s*)\S+s\1******(tdo_file_sub(R((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pytpostprocs(RRssystem(t__name__t
__module__t__doc__tplugin_nametprofilest	ldap_confR
R(((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyRs	t
RedHatLdapcBs&eZdZdZd�Zd�ZRS(topenldaps
nss-pam-ldapds/etc/ldap.confs/etc/pam_ldap.confcCs_tt|�j�|jdddddg�|j|jdddd	g�|jd
�dS(Ns/etc/openldap/certs/passwords/etc/openldap/certs/pwfile.txts/etc/openldap/certs/pin.txts/etc/openldap/certs/*passw*s/etc/openldap/certs/key3.dbs/etc/openldap/certs/cert8.dbs/etc/openldap/certs/secmod.dbs/etc/nslcd.confs/etc/pam_ldap.confscertutil -L -d /etc/openldap(R	RR
tadd_forbidden_pathRRtadd_cmd_output(R((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyR
!s

cCs=tt|�j�|jddd�|jddd�dS(Ns/etc/nslcd.confs(\s*bindpw\s*)\S+s
\1********s/etc/pam_ldap.conf(R	RRR
(R((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyR4s(Rs
nss-pam-ldapd(s/etc/ldap.confs/etc/pam_ldap.conf(RRtpackagestfilesR
R(((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyRs	t
DebianLdapcBs&eZdZdZd�Zd�ZRS(s/etc/ldap/ldap.conftslapds
ldap-utilscCs�tt|�j�d}|j|jdddg�|jd�|j|ddd�|j|d	dd
�|j|ddd�dS(
Ns,ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// s/etc/slapd.confs/etc/ldap/slapd.ds/etc/nslcd.confs+ldapsearch -x -b '' -s base 'objectclass=*'s/-b cn=config '(!(objectClass=olcSchemaConfig))'tsuggest_filenametconfiguration_minus_schemass-b cn=schema,cn=config dntloaded_schemass0-b cn=config '(olcAccess=*)' olcAccess olcSuffixtaccess_control_lists(R	RR
RRR(Rtldap_search((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyR
Gs"




cCs=tt|�j�|jddd�|jddd�dS(Ns/etc/nslcd.confs(\s*bindpw\s*)\S+s
\1********t
ldapsearchs(olcRootPW\: \s*)\S+(R	RRR
tdo_cmd_output_sub(R((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyR^s(Rs
ldap-utils(RRRRR
R(((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyRBs	N(tsos.pluginsRRRRRRR(((s4/usr/lib/python2.7/site-packages/sos/plugins/ldap.pyt<module>	s"&