+
    4Ssió  ã                   ó®   € ^ RI Ht ^ RIt^ RIHt ^ RIHt ^ RIH	t	 ^ RI
HtHtHtHt  ! R R]4      t ! R R	]4      t ! R
 R]4      t ! R R]4      tR# )é    N)ÚSamDB)Úsystem_session)Ú_get_user_realm_domain)ÚCommandÚCommandErrorÚSuperCommandÚOptionc            	       ó¢   a € ] tR t^ t o RtRtR]P                  R]P                  R]P                  /t
]! RRR]R	R
R7      .tR.tRR ltRtV tR# )Úcmd_spn_listzList spns of a given user.z%prog <user> [options]Ú	sambaoptsÚcredoptsÚversionoptsú-Hú--URLú%LDB URL for database or target serverÚURLÚH©ÚhelpÚtypeÚmetavarÚdestÚuserNc                óò  € VP                  4       pVP                  V4      p\        V\        4       WvR 7      p\	        W4      w  ršpV P
                  P                  V	R,           4       VP                  R\        P                  ! V	4      ,          \        P                  R.R7      p\        V4      ^ 8”  d²   V^ ,          P                  R4      pVea   V P
                  P                  RV^ ,          P                  ,          4       V F%  pV P
                  P                  RV,          4       K'  	  R# V P
                  P                  RV^ ,          P                  ,          4       R# \        R	V,          4      h)
©Úsession_infoÚcredentialsÚlpÚ
úsamaccountname=%sÚservicePrincipalName©Ú
expressionÚscopeÚattrsNz1User %s has the following servicePrincipalName: 
z	 %s
z$User %s has no servicePrincipalName
úUser %s not found)Úget_loadparmÚget_credentialsr   r   r   ÚoutfÚwriteÚsearchÚldbÚbinary_encodeÚSCOPE_SUBTREEÚlenÚgetÚdnr   )Úselfr   r   r   r   r   r   ÚcredsÚsamÚcleaneduserÚrealmÚdomainÚresÚspnsÚes   &&&&&&         Ú2/usr/lib/python3/dist-packages/samba/netcmd/spn.pyÚrunÚcmd_spn_list.run1   s3  € ð ×#Ñ#Ó%ˆØ×(Ñ(¨Ó,ˆÜ�A¤NÓ$4Ø %ô.ˆô (>¸dÓ'HÑ$ˆ˜VØ�	‰	�‰˜ dÕ*Ô+Ø�j‰jØ*¬S×->Ò->¸{Ó-KÕKÜ×#Ñ#Ð,BÐ+Cð ó Eˆô ˆs‹8�aŒ<Ø�q•6—:‘:Ð4Ó5ˆDØÒØ—	‘	—‘ØHØ˜•F—I‘Iõôó �AØ—I‘I—O‘O I°¥MÖ2ó ð —	‘	—‘Ð GØ # A¥§	¡	õ!*ö +ô Ð2°TÕ9Ó:Ð:ó    © ©NNNN©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚsynopsisÚoptionsÚSambaOptionsÚCredentialsOptionsÚVersionOptionsÚtakes_optiongroupsr	   ÚstrÚtakes_optionsÚ
takes_argsr<   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r;   r   r       sj   ø‡ € Ù$à'€Hð 	�W×)Ñ)Ø�G×.Ñ.Ø�w×-Ñ-ðÐñ 	ˆt�WÐ#JØ ¨Sô	2ð€Mð
 �€J÷;ò ;r>   r   c            	       ó¤   a € ] tR t^Ot o RtRtR]P                  R]P                  R]P                  /t
]! RRR]R	R
R7      .tRR.tRR ltRtV tR# )Úcmd_spn_addzCreate a new spn.z%prog <name> <user> [options]r   r   r   r   r   r   r   r   r   Únamer   Nc                ó(  € VP                  4       pVP                  V4      p\        V\        4       W‡R 7      p	V	P	                  R\
        P                  ! V4      ,          \
        P                  R7      p
\        V
4      ^ 8w  d   \        RV,          4      h\        W)4      w  r¼pV	P	                  R\
        P                  ! V4      ,          \
        P                  R.R7      p
\        V
4      ^ 8”  Ed   V
^ ,          P                   \
        P                  ! 4       pV
^ ,          P                  R4      p. pRp\
        P                  pVeF   V F/  p\        V4      V8X  d   R	pVP!                  \        V4      4       K1  	  \
        P"                  pVP!                  V4       V
^ ,          P                  Vn        \
        P$                  ! VVR4      VR&   V'       g   V	P'                  V4       R# \        R
V: RV: 24      h\        RV,          4      h)r   úservicePrincipalName=%s)r#   r$   z5Service principal %s already affected to another userr    r!   r"   FNTzService principal z already affected to r&   )r'   r(   r   r   r+   r,   r-   r.   r/   r   r   r1   ÚMessager0   ÚFLAG_MOD_ADDrM   ÚappendÚFLAG_MOD_REPLACEÚMessageElementÚmodify)r2   rV   r   r   r   r   r   r   r3   r4   r8   r5   r6   r7   Úmsgr9   ÚtabÚfoundÚflagr:   s   &&&&&&&             r;   r<   Úcmd_spn_add.run_   sÒ  € ð ×#Ñ#Ó%ˆØ×(Ñ(¨Ó,ˆÜ�A¤NÓ$4Ø %ô.ˆà�j‰jØ0´3×3DÒ3DÀTÓ3JÕJÜ×#Ñ#ð ó %ˆô ˆs‹8�qŒ=Üð  ;Ø=Aõ Bó Cð Cô (>¸dÓ'HÑ$ˆ˜VØ�j‰jØ*¬S×->Ò->¸{Ó-KÕKÜ×#Ñ#Ð,BÐ+Cð ó Eˆô ˆs‹8�a�<Ø��F�IŠIÜ—+’+“-ˆCØ�q•6—:‘:Ð4Ó5ˆDØˆCØˆEÜ×#Ñ#ˆDØÒÛ�AÜ˜1“v ”~Ø $˜Ø—J‘Jœs 1›vÖ&ñ ô ×+Ñ+�Ø�J‰J�tÔØ˜•V—Y‘YˆCŒFÜ*-×*<Ò*<¸SÀ$Ø=Só+UˆCÐ&Ñ'çØ—
‘
˜3–å"Û8<ºdð$Dó Eð Eô Ð2°TÕ9Ó:Ð:r>   r?   r@   rA   rR   s   @r;   rU   rU   O   sm   ø‡ € Ùà.€Hð 	�W×)Ñ)Ø�G×.Ñ.Ø�w×-Ñ-ðÐñ 	ˆt�WÐ#JØ ¨Sô	2ð€Mð ˜&Ð!€J÷*;ò *;r>   rU   c            	       ó¤   a € ] tR t^Œt o RtRtR]P                  R]P                  R]P                  /t
]! RRR]R	R
R7      .tRR.tRR ltRtV tR# )Úcmd_spn_deletezDelete a spn.z%prog <name> [user] [options]r   r   r   r   r   r   r   r   r   rV   zuser?Nc                óö  € VP                  4       pVP                  V4      p\        V\        4       W‡R 7      p	V	P	                  R\
        P                  ! V4      ,          \
        P                  RR.R7      p
\        V
4      ^ 8”  Edb   RpVeY   \        V4      w  rÍpV
 F,  p\        VR,          4      P                  4       V8X  g   K*  TpK.  	  Vf   \        RV: RV: 24      hMS\        V
4      ^8w  d;   RpV
 F  pV: R	\        VP                  4      : 2pK!  	  \        R
V: RV: 24      hV
^ ,          p\
        P                  ! 4       pVP                  R4      p. pVeF   V F/  p\        V4      V8w  g   K  VP!                  \        V4      4       K1  	  \
        P"                  pVP                  Vn        \
        P$                  ! VXR4      VR&   V	P'                  V4       R# \        RV,          4      h)r   rX   r!   ÚsamAccountNamer"   NzUnable to find user z
 with spn Ú r   zMore than one user has the spn zA and no specific user was specified, list of users with this spn:z!Service principal %s not affected)r'   r(   r   r   r+   r,   r-   r.   r/   r   rM   Úlowerr   r1   rY   r0   r[   r\   r]   r^   )r2   rV   r   r   r   r   r   r   r3   r4   r8   Úresultr5   r6   r7   ÚelemÚlistUserÚrr_   r9   r`   r:   rb   s   &&&&&&&                r;   r<   Úcmd_spn_delete.run�   sÓ  € à×#Ñ#Ó%ˆØ×(Ñ(¨Ó,ˆÜ�A¤NÓ$4Ø %ô.ˆà�j‰jØ0´3×3DÒ3DÀTÓ3JÕJÜ×#Ñ#Ø)Ð+;Ð<ð ó >ˆô ˆs‹8�a�<ØˆFØÒÜ/EÀdÓ/KÑ,� VÛ�DÜ˜4Ð 0Õ1Ó2×8Ñ8Ó:¸kÖIØ!%šñ  ð ’>Ý&Û48º$ð(@ó Að Að "ô �s“8˜q”=Ø!�HÛ ˜Û/7¼¸Q¿T¹T½Ð#Cšñ !å&ã>BÂHð(Nó Oð Oð ! �V�Fä—+’+“-ˆCØ—:‘:Ð4Ó5ˆDØˆCØÒÛ�AÜ˜1“v –~ØŸ
™
¤3 q£6Ö*ñ ô ×+Ñ+�Ø—Y‘YˆCŒFÜ*-×*<Ò*<¸SÀ$Ø=Só+UˆCÐ&Ñ'à�J‰J�sŽOäÐBÀTÕIÓJÐJr>   r?   )NNNNNrA   rR   s   @r;   re   re   Œ   so   ø‡ € Ùà.€Hð 	�W×)Ñ)Ø�G×.Ñ.Ø�w×-Ñ-ðÐñ 	ˆt�WÐ#JØ ¨Sô	2ð€Mð
 ˜'Ð"€J÷,Kò ,Kr>   re   c                   óZ   € ] tR t^ÌtRt/ t]! 4       ]R&   ]! 4       ]R&   ]! 4       ]R&   Rt	R# )Úcmd_spnz(Service Principal Name (SPN) management.ÚaddÚlistÚdeleter?   N)
rB   rC   rD   rE   rF   ÚsubcommandsrU   r   re   rP   r?   r>   r;   rp   rp   Ì   s/   † Ù2à€KÙ$›€K�ÑÙ&›.€K�ÑÙ*Ó,€K�Õr>   rp   )Úsamba.getoptÚgetoptrH   r,   Úsamba.samdbr   Ú
samba.authr   Úsamba.netcmd.commonr   Úsamba.netcmdr   r   r   r	   r   rU   re   rp   r?   r>   r;   Ú<module>r{      sU   ðõ& Û 
Ý Ý %Ý 6÷ó ô,;�7ô ,;ô^:;�'ô :;ôz=K�Wô =Kô@-ˆlö -r>   