+
    4Ssi                     H    R t ^ RIHt  ! R R]4      t ! R R]4      tR tR# )z+The main samba-tool command implementation.)SuperCommandc                   :   a  ] tR t^t o RtR tRR ltR tRtV t	R# )cache_loaderz
We only load subcommand tools if they are actually used.
This significantly reduces the amount of time spent starting up
samba-tool
c                   \         P                  W4      pVf]   RVP                  RR4      ,          pVR8X  d   RMTpVP                  RR4      p\        \	        RV,          V.R7      V4      ! 4       W&   \         P                  W4      # )Nzcmd_%s-_timenettimezsamba.netcmd.%s)fromlist)dict__getitem__replacegetattr
__import__)selfattritemcmdpackages   &&   3/usr/lib/python3/dist-packages/samba/netcmd/main.pyr   cache_loader.__getitem__   s    +<T\\#s33C#'6>itGooc3/G ,=,G69U"<=@B DDJ++    Nc                :     W,          #   \          d    Tu # i ; iN)KeyError)r   r   defaults   &&&r   getcache_loader.get(   s#    	: 	N	s   
 c              #  8   "   V  F  pWV,          3x  K  	  R # 5ir    )r   keys   & r   itemscache_loader.items.   s     CS	"" s   r   r   )
__name__
__module____qualname____firstlineno____doc__r   r   r!   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     
,# #r   r   c                   ,   ] tR t^3tRt]! 4       tR]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R	&   R]R
&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   RtR# )cmd_sambatoolzMain samba administration tool.Ncomputercontactdbcheck
delegationdnsdomaindrsdsaclforestfsmogpogroupldapcmpntaclrodcschemashellsitesspntestparmr   userou	processeszservice-account	visualizer   )r#   r$   r%   r&   r'   r   subcommandsr(   r   r   r   r,   r,   3   s   ).K"K
!K	!K	 $KK KKK KKKK!K	KK KKKK"K
KKK#K%)K!"#Kr   r,   c                      \        4       P                  ! R.V O5/ VB w  r#VP                  ! V!  pV#   \         d   pTP                  p Rp?T# Rp?i\
         d   pXP                  T4       ^p Rp?T# Rp?ii ; i)z^A single function that runs samba-tool, returning an error code on
error, and None on success.z
samba-toolN)r,   _resolve_run
SystemExitcode	Exceptionshow_command_error)argskwargsr   argvretes   *,    r   
samba_toolrR   T   s~    !O,,\KDKFK	hho J  ff J  q!Js&   04 A=AA=A=A88A=N)r'   samba.netcmdr   r   r   r,   rR   r   r   r   <module>rT      s-   $ 2 &#4 #6$L $Br   