
    bd                     N    d dl Zd dlZd dlZ G d dej        j                  ZdS )    Nc                       e Zd Zd ZdS )PamChauthtokTestsc                 D   t           j        d         }t           j        d         }t           j        d         }|dk    r|d|}nd|z  }d}t          j        t          j        |          }t          j        t          j        |          }t          j        t          j        |          }	 t          j        |d|||g|g          }	n3# t          j        $ r!}
t          t          |
                    d }
~
ww xY w|                     |	d u           |j        d	         }||                    d
          dz   d          }|                     t           j                            |                     |j        }t          j        t          j        |t          j                  }	 t          j        |d|g|          }	n3# t          j        $ r!}
t          t          |
                    d }
~
ww xY w|                     t           j                            |                     d S )NDOMAINUSERNAMEPASSWORD /z%sr   samba
KRB5CCNAME:   )handle)osenviron	pypamtestTestCasePAMTEST_AUTHENTICATEPAMTEST_GETENVLISTPAMTEST_KEEPHANDLErun_pamtestPamTestErrorAssertionErrorstr
assertTruepam_envindexpathexists
pam_handlePAMTEST_SETCREDPAMTEST_FLAG_DELETE_CREDassertFalse)selfdomainusernamepasswordunix_usernameexpected_rctctc1tc2reseccacher   tc3s                 A/usr/lib/python3/dist-packages/samba/tests/pam_winbind_setcred.pytest_setcred_delete_credz*PamChauthtokTests.test_setcred_delete_cred   s   H%:j):j)R<<'-vvxx8MM 8OM	 >LL !={KK !={KK	)'wS#QYPZ[[CC% 	) 	) 	) Q(((	) 	4(((\*S))A-../v../// !:KIkll	)'wfUUUCC% 	) 	) 	) Q(((	) 	//00000s0   *C C6C11C6!F; ;G+
G&&G+N)__name__
__module____qualname__r2        r1   r   r      s#         1  1  1  1  1r7   r   )samba.testsr   r   r   testsr   r   r6   r7   r1   <module>r:      sa   &         				!1 !1 !1 !1 !1, !1 !1 !1 !1 !1r7   