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

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

    <bug>
          <bug_id>50124</bug_id>
          
          <creation_ts>2024-04-23 10:24:21 +0300</creation_ts>
          <short_desc>Станция не синхронизирует время  с доменом</short_desc>
          <delta_ts>2024-04-24 19:03:46 +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>gpupdate</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</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>0</everconfirmed>
          <reporter name="rsrs">rstaganrog</reporter>
          <assigned_to name="qa-team@altlinux.org">qa-team</assigned_to>
          <cc>zurabishvilinn</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>245188</commentid>
    <comment_count>0</comment_count>
    <who name="rsrs">rstaganrog</who>
    <bug_when>2024-04-23 10:24:21 +0300</bug_when>
    <thetext>Альт Рабочая станция К 10.3 (alt-kworkstation-10.2.1-install-x86_64.iso + dist-upgrade)

Здесь https://docs.altlinux.org/ru-RU/alt-workstation/10.2/html-single/alt-workstation/index.html#idm45465862062640 указано, что &quot;Синхронизация времени с контроллером домена производится автоматически&quot;.

Однако, после ввода станции в домен время с сервером автоматически так и не синхронизируется.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245191</commentid>
    <comment_count>1</comment_count>
    <who name="rsrs">rstaganrog</who>
    <bug_when>2024-04-23 10:40:23 +0300</bug_when>
    <thetext>Домен MS AD.

Команда для ввода в домен:

hostname=alt10
system-auth write ad DOMAIN.LOCAL $hostname USZN &apos;domainuser&apos; &apos;pa$$&apos; --gpo --createcomputer=Alt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245193</commentid>
    <comment_count>2</comment_count>
    <who name="rsrs">rstaganrog</who>
    <bug_when>2024-04-23 10:44:35 +0300</bug_when>
    <thetext>Ввод в домен по документации:
https://docs.altlinux.org/ru-RU/alt-workstation/10.2/html-single/alt-workstation/index.html#idm45465862036816</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245201</commentid>
    <comment_count>3</comment_count>
    <who name="rsrs">rstaganrog</who>
    <bug_when>2024-04-23 11:12:41 +0300</bug_when>
    <thetext>Прилагаю вывод команд:

root@alt10 etc]# cat /etc/chrony.conf
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (https://www.pool.ntp.org/join.html).

# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift

# Allow the system clock to be stepped in the first three updates
# if its offset is larger than 1 second.
makestep 1.0 3

# Enable kernel synchronization of the real-time clock (RTC).
rtcsync

# Enable hardware timestamping on all interfaces that support it.
#hwtimestamp *

# Increase the minimum number of selectable sources required to adjust
# the system clock.
#minsources 2

# Allow NTP client access from local network.
#allow 192.168.0.0/16

# Serve time even if not synchronized to a time source.
#local stratum 10

# Require authentication (nts or key option) for all NTP sources.
#authselectmode require

# Specify file containing keys for NTP authentication.
#keyfile /etc/chrony.keys

# Save NTS keys and cookies.
ntsdumpdir /var/lib/chrony

# Insert/delete leap seconds by slewing instead of stepping.
#leapsecmode slew

# Get TAI-UTC offset and leap seconds from the system tz database.
#leapsectz right/UTC

# Specify directory for log files.
logdir /var/log/chrony

# Select which information is logged.
#log measurements statistics tracking
pool domain.LOCAL iburst



[root@alt10 etc]# chronyc tracking
Reference ID    : 00000000 ()
Stratum         : 0
Ref time (UTC)  : Thu Jan 01 00:00:00 1970
System time     : 0.000000000 seconds fast of NTP time
Last offset     : +0.000000000 seconds
RMS offset      : 0.000000000 seconds
Frequency       : 0.000 ppm slow
Residual freq   : +0.000 ppm
Skew            : 0.000 ppm
Root delay      : 1.000000000 seconds
Root dispersion : 1.000000000 seconds
Update interval : 0.0 seconds
Leap status     : Not synchronised
[root@alt10 etc]#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245203</commentid>
    <comment_count>4</comment_count>
    <who name="rsrs">rstaganrog</who>
    <bug_when>2024-04-23 11:19:55 +0300</bug_when>
    <thetext>В этой же подсети 192.168.0.0/24 Windows-станции с время синхронизируют успешно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245207</commentid>
    <comment_count>5</comment_count>
    <who name="rsrs">rstaganrog</who>
    <bug_when>2024-04-23 11:22:39 +0300</bug_when>
    <thetext>*В этой же подсети 192.168.0.0/24 Windows-станции  синхронизируют  время с MS-доменом успешно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245354</commentid>
    <comment_count>6</comment_count>
    <who name="Nikolai Zurabishvili">zurabishvilinn</who>
    <bug_when>2024-04-24 19:03:46 +0300</bug_when>
    <thetext>(Ответ для rsrs на комментарий #3)
&gt; Прилагаю вывод команд:
&gt; 
&gt; ...
&gt; [root@alt10 etc]# chronyc tracking
&gt; Reference ID    : 00000000 ()
&gt; Stratum         : 0
&gt; Ref time (UTC)  : Thu Jan 01 00:00:00 1970
&gt; System time     : 0.000000000 seconds fast of NTP time
&gt; Last offset     : +0.000000000 seconds
&gt; RMS offset      : 0.000000000 seconds
&gt; Frequency       : 0.000 ppm slow
&gt; Residual freq   : +0.000 ppm
&gt; Skew            : 0.000 ppm
&gt; Root delay      : 1.000000000 seconds
&gt; Root dispersion : 1.000000000 seconds
&gt; Update interval : 0.0 seconds
&gt; Leap status     : Not synchronised
&gt; [root@alt10 etc]#

Не сумел воспроизвести ошибку, синхронизация происходит не сразу, в начале у меня тоже было Not synchronised но через некоторое время синхронизация начала работать корректно</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>