+
    4Ssi                     6    ^ RI t ^ RIHtHt  ! R R]]4      tR# )    N)
gp_pol_extgp_misc_applierc                   B   a  ] tR t^t o R tR tR tRR ltR tRt	V t
R# )	gp_msgs_extc                   VR9  d   \        RV,          4      hV P                  V4      p\        P                  P	                  W#4      p\        P                  P                  V4      '       d/   \        VR4      ;_uu_ 4       pVP                  4       pRRR4       MRpRV9  g+   XP                  4       VR,          P                  4       8X  dQ   VR,          p	\        VR4      ;_uu_ 4       p
V	'       d   V
P                  V	4       MV
P                  4        RRR4       V P                  W4       R#   + '       g   i     L; i  + '       g   i     L6; i)	motd"%s" is not a message attributerN new_valold_valwr   issue)
ValueErrorparse_valueospathjoinexistsopenreadstripwritetruncatecache_remove_attribute)selfguidcdir	attributevaluedatamfilefcurrentmsgr   s   &&&&&      6/usr/lib/python3/dist-packages/samba/gp/gp_msgs_ext.pyunapplygp_msgs_ext.unapply   s    -->JKK&T-77>>%  eS!!Q&&( "! G D GMMOtI7L7L7N$Ny/CeS!!QGGCLJJL	 "
 	##D4 "! "!s   D3-+E3E	E	c                l   R pV EF  pVP                   V8X  g   K  VP                  P                  4       '       g   K9  VP                  R9  d   \	        RVP                  ,          4      h\
        P                  P                  W%P                  4      p\
        P                  P                  V4      '       d/   \        VR4      ;_uu_ 4       pVP                  4       pRRR4       MRpXP                  4       VP                  P                  4       8X  d    R# \        VR4      ;_uu_ 4       p	V	P                  VP                  4       RRR4       V P                  WP                  R7      p
V P                  WP                  V
4       EK  	  R#   + '       g   i     L; i  + '       g   i     Lb; i).Software\Policies\Samba\Unix Settings\Messagesr	   r
   Nr   r   )r   r   r   )keynamer"   r   	valuenamer   r   r   r   r   r   r   r   generate_valuecache_add_attribute)r   r   r   entriessection_nameer#   r$   r   r   r"   s   &&&&       r'   applygp_msgs_ext.apply*   s!   KAyyL(QVV\\^^;;&77$%FKK&( ) )T;;777>>%((eS))Q"#&&( *) !G==?afflln4%%%GGAFFO &**7FF*K(({{DA#  *) &%s   F-F#F #F3c                    R # )zUnix Settings/Messages )r   s   &r'   __str__gp_msgs_ext.__str__?   s    '    c                   V FR  w  rE\        V 4      V9   g   K  V\        V 4      ,          P                  4        F  w  rgV P                  WCWg4       K  	  KT  	  V F  pVP                  '       g   K  R p	Rp
\        P
                  P                  VP                  V
4      pV P                  V4      pV'       g   K`  V P                  VP                  W<P                  4       K  	  R# )r+   MACHINE/Registry.polN)stritemsr(   file_sys_pathr   r   r   parser3   namer0   )r   deleted_gpo_listchanged_gpo_listr   r   settingsr    r&   gpor1   pol_filer   pol_confs   &&&&         r'   process_group_policy gp_msgs_ext.process_group_policyB   s    .ND4yH$&.s4y&9&?&?&ANILLY< 'B /
 $C   S1ww||C$5$5x@::d+

388T+;+;< $r9   c                   / pVP                   '       d   R pRp\        P                  P                  VP                   V4      pV P	                  V4      pV'       g   V# VP
                   Fp  pVP                  V8X  g   K  VP                  P                  4       '       g   K8  \        P                  P                  RVP                  4      pVP                  W(&   Kr  	  V# )r+   r;   /etc)
r>   r   r   r   r?   r0   r,   r"   r   r-   )	r   rD   outputr1   rE   r   rF   r2   r#   s	   &&       r'   rsopgp_msgs_ext.rsopS   s    OL-H77<< 1 18<Dzz$'H%%99,GGLL=E$%FFFM & r9   r6   N)rJ   )__name__
__module____qualname____firstlineno__r(   r3   r7   rG   rL   __static_attributes____classdictcell__)__classdict__s   @r'   r   r      s$     5*B*(=" r9   r   )r   samba.gp.gpclassr   r   r   r6   r9   r'   <module>rV      s   " 
 8L*o Lr9   