+
    4Ssi%                     T    ^ RI t ^ RIt^ RIt^ RIHt ^ RIHtHtH	t	  ! R R]4      t
R# )    N)CommandCommandErrorOptionc                     a  ] tR t^)t o RtRtR]P                  R]P                  /t	]
! R]RR7      ]
! R]R	R7      ]
! R
]RR7      ]
! R]RR7      ]
! RRRRR7      ]
! RRRRRR7      .t. tRR ltR tR tR tR tRtV tR# )cmd_testparmz$Syntax check the configuration file.z%prog [options]	sambaoptsversionoptsz--section-namez!Limit testparm to a named section)typehelpz--parameter-namez#Limit testparm to a named parameterz--client-namezHClient DNS name for 'hosts allow' checking (should match reverse lookup)z--client-ipz,Client IP address for 'hosts allow' checkingz--suppress-prompt
store_trueFzSuppress prompt for enter)actiondefaultr   z-vz	--verbosezShow default options tooNc	                   Ve   Vf   \        R4      h VP                  4       p	\        P                  ! 4       ^8  d   \        P
                  ! ^4       T P                  R4      pTP                  RT	P                  4       TP                  R4       T P                  Y4      pT;'       d    T P                  Y4      pTe   Te   T P                  YYe4       MTf   Te>   Tf'    Y,          pTP                  T	P                  T4       Me T	P!                  YC4       MRT'       g:   T P"                  P%                  R4       \&        P(                  P+                  4        T	P                  T4       T'       d   R # \        R4      h  \         d   p
\        T
4      hR p
?
ii ; i  \         d)    TR9   d   T	P                  4         LW\        RT 24      hi ; i  \         d   p\        T4      hR p?ii ; i)	NzHBoth a DNS name and an IP address are required for the host access checktestparmzLoaded smb config files from %szLoaded services file OK.zUnknown section z6Press enter to see a dump of your service definitions
zInvalid smb.conf)globalglobals)r   get_loadparmRuntimeErrorsambaget_debug_levelset_debug_level
get_loggerinfo
configfiledo_global_checksdo_share_checkscheck_client_accessdumpdefault_serviceKeyErrordump_globalsdump_a_parameteroutfwritesysstdinreadline)selfr   r	   section_nameparameter_name	client_ipclient_nameverbosesuppress_promptlperrloggervalidsectiones   &&&&&&&&&      7/usr/lib/python3/dist-packages/samba/netcmd/testparm.pyruncmd_testparm.runE   s    "y'8  D E E	$'')B
   "Q&!!!$,5r}}E./%%b1::$..r:"y'<$$RH'>+E!)B"$"2  R%7%7A.++NI 'IIOO$]^II&&( 122S  	$s##	$* $ R'+@@OO-".1A,/P"QQ	R ( .*1o-.sA   F 'F$ G F!FF!$"GGG5%G00G5c                   R pVP                  R4      p\        P                  ! V4      '       g   VP                  RV4       RpVP                  R4      p\        P                  ! V4      '       g   VP                  RV4       RpVP                  R4      p\        P
                  P                  V4      '       g   VP                  RV4       VP                  R4      p\        P
                  P                  V4      '       g   VP                  R	V4       VP                  R
4      p\        V4      ^8w  d   VP                  R4       RpVR8X  d   VP                  R4       RpVP                  R4      p	V	R9   d   VP                  R4      P                  4       p
V
R9  d   VP                  R4       VP                  R4      pV'       d1   R F*  pW9  g   K  VP                  RV,           R,           4       K,  	  VP                  R4      pVR8X  d   VP                  R4       VP                  R4      pVR9  d+   VP                  RV: R\        P                  : R24       RpV# )Tznetbios namez+netbios name %s is not a valid netbios nameF	workgroupz-workgroup name %s is not a valid netbios namelockdirz lock directory %s does not existzpid directoryzpid directory %s does not existzwinbind separatorz=the 'winbind separator' parameter must be a single character.+zC'winbind separator = +' might cause problems with group membership.zserver rolezunix charsetzXWhen acting as Active Directory domain controller, unix charset is expected to be UTF-8.zvfs objectsz3When acting as Active Directory domain controller, z should be in vfs objects.zldap server require strong authallow_sasl_over_tlszWARNING: You have not configured 'ldap server require strong auth = allow_sasl_over_tls'.
Please change to 'yes' (preferred) or 'allow_sasl_without_tls_channel_bindings' (if really needed).zclient use krb5 netlogonz0You have configured 'client use krb5 netlogon = z!'.
This is experimental in Samba z( and should not be used in production!

)z"active directory domain controllerzdomain controllerdc)zUTF-8UTF8)
dfs_samba4	acl_xattr)nor   )getr   valid_netbios_nameerrorospathisdirwarninglenupperversion)r(   r/   r1   r2   netbios_namer9   r:   piddirwinbind_separatorrolecharset
vfsobjectsentrystrong_authcli_krb5_netlogons   &&&            r5   r   cmd_testparm.do_global_checksy   s!   vvn-''55LLF%'EFF;'	''	22LLH"$E&&#ww}}W%%NN=wG(ww}}V$$NN<fEFF#67 !Q&LL & 'E#LL Evvm$TTff^,224G//<= .J8E.Q!"$@AB 9 ff>?//NN&' FF#=>$55LL
 #EMM	34 E    c                ,    \        V P                  4      h)N)NotImplementedErrorallow_access)r(   	deny_list
allow_listcnamecaddrs   &&&&&r5   rY   cmd_testparm.allow_access   s    !$"3"344rV   c                   R pVP                  4        F&  p\        V4      ^8  g   K  VP                  R4        M	  VP                  4        F  pVP                  RV4      pVP                  RV4      pV'       d.   V F'  pRV9   g
   RV9   g   K  VP	                  RWt4       RpK)  	  V'       g   Kf  V F'  pRV9   g
   RV9   g   K  VP	                  RWt4       RpK)  	  K  	  V# )	TzYou have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and not listed in smbclient in Samba 3.0.)
hosts denyhosts allow*?zBInvalid character (* or ?) in hosts deny list (%s) for service %s.FzCInvalid character (* or ?) in hosts allow list (%s) for service %s.)servicesrI   rH   rB   rD   )r(   r/   r1   r2   srZ   r[   rR   s   &&&     r5   r   cmd_testparm.do_share_checks   s    A1v{/0
   A|Q/Iq1J&Ee|se| &ABGL %	 ' z'Ee|se| &ABGL %	 (   rV   c                f   VP                  4        F  pV P                  VP                  R 4      VP                  R4      VV4      '       dO   V P                  VP                  R V4      VP                  RV4      W44      '       d   VP                  RW4V4       K  VP                  RW4V4       K  	  R# )r`   ra   z#Allow connection from %s (%s) to %sz"Deny connection from %s (%s) to %sN)rd   rY   rB   r   )r(   r/   r1   r\   r]   re   s   &&&&& r5   r    cmd_testparm.check_client_access   s    A!!"&&"6}8Mu"') )!!"&&q"9266-QR;S"'0 0A5QRS@%PQR rV    )NNNNFN)__name__
__module____qualname____firstlineno____doc__synopsisoptionsSambaOptionsVersionOptionstakes_optiongroupsr   strtakes_options
takes_argsr6   r   rY   r   r   __static_attributes____classdictcell__)__classdict__s   @r5   r   r   )   s     . H 	W))w-- 	c7	9!9	;S4	5 	}3B	D"</	1t[#=	?M  J23hJX5:	S 	SrV   r   )rE   r%   r   samba.getoptgetoptrp   samba.netcmdr   r   r   r   ri   rV   r5   <module>r}      s*   B 
 
   6 6ES7 ESrV   