<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>51451</bug_id>
          
          <creation_ts>2024-09-11 13:59:00 +0300</creation_ts>
          <short_desc>GPT.INI поле Version не соответствует версии политики</short_desc>
          <delta_ts>2024-09-16 17:16:15 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>gpui</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Максим Агуреев">agureev</reporter>
          <assigned_to name="august@altlinux.org">august</assigned_to>
          <cc>alimektor</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>251518</commentid>
    <comment_count>0</comment_count>
    <who name="Максим Агуреев">agureev</who>
    <bug_when>2024-09-11 13:59:00 +0300</bug_when>
    <thetext>gpui 0.2.40-alt1
При внесении любых изменений в политику файл .../sysvol/&lt;domainname&gt;/Policies/{xxx}/GPT.INI остается без изменений
в нем должна быть sysvol версия политики.При работе с клиентами домена windows это приводит к предупреждению о несовпадении версий sysvol и AD.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>251574</commentid>
    <comment_count>1</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2024-09-12 15:06:33 +0300</bug_when>
    <thetext>Шаги воспроизведения

1.  На клиенте Открыть ADMC ($ kinit Administrator &amp;&amp; admc), выбрать
    групповую политику Default Domain Policy.

2.  Изменить какую-нибудь групповую политику, например, Разрешения для
    /bin/su (Компьютер - Административные шаблоны - Система ALT -
    Безопасность) с значения Отключено на Включено.

3.  Выполнить на контроллере домена:

        [dc]# DOMAINNAME=&quot;$(samba-tool domain info 127.0.0.1 | grep ^Domain | cut -d : -f 2 | xargs)&quot; &amp;&amp; \
        GPO_CONFIG_VERSION=&quot;$(grep -a -i v &quot;/var/lib/samba/sysvol/${DOMAINNAME}/Policies/$(samba-tool gpo listall | grep &quot;Default Domain Policy&quot; -A 1 | tail -n 1 | cut -d &apos;\&apos; -f 7)&quot;/GPT.INI | cut -f 2 -d &apos;=&apos;)&quot; &amp;&amp; \
        GPO_SAMBA_TOOL_VERSION=&quot;$(samba-tool gpo listall | grep &quot;Default Domain Policy&quot; -A 3 | grep version | cut -f &quot;2&quot; -d &quot;:&quot; | xargs)&quot; &amp;&amp; \
        echo &quot;GPO version in GPT.INI: ${GPO_CONFIG_VERSION}&quot; &amp;&amp; \
        echo &quot;GPO version in Samba: ${GPO_SAMBA_TOOL_VERSION}&quot; &amp;&amp; \
        [[ &quot;${GPO_CONFIG_VERSION}&quot; == &quot;${GPO_SAMBA_TOOL_VERSION}&quot; ]] &amp;&amp; echo &quot;OK&quot; || echo &quot;The GPO versions are not equal.&quot;

Ожидаемый результат:

    GPO version in GPT.INI: 65537
    GPO version in Samba: 65537
    OK

Фактический результат:

    GPO version in GPT.INI: 0
    GPO version in Samba: 65537
    The GPO versions are not equal.

Не воспроизводится в Sisyphus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>251670</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-09-16 17:16:15 +0300</bug_when>
    <thetext>gpui-0.2.53-alt1 -&gt; sisyphus:

 Mon Sep 16 2024 Vladimir Rubanov &lt;august@altlinux&gt; 0.2.53-alt1
 - 0.2.53-alt1
 - Fixes:
   + Fix add ascii ini file plugin (Closes: 51451, 51466, 47576).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>