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

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

    <bug>
          <bug_id>57505</bug_id>
          
          <creation_ts>2026-01-15 19:25:01 +0300</creation_ts>
          <short_desc>Отсутствует информация о существующих пресетах расписания межсайтовой репликации</short_desc>
          <delta_ts>2026-03-11 18:53:41 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>samba</component>
          <version>unstable</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="Vladislav Glinkin">glinkinvd</reporter>
          <assigned_to name="Evgeny Sinelnikov">sin</assigned_to>
          <cc>shevchenkodyu</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>280299</commentid>
    <comment_count>0</comment_count>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2026-01-15 19:25:01 +0300</bug_when>
    <thetext>Версия пакета: samba-dc-4.21.9-alt2

Шаги воспроизведения:
1) # samba-tool sites connection schedule preset -h

Фактический результат:
В выводе отсутствует информация о пресетах, определённых в исходном коде /usr/lib64/samba-dc/python3.12/samba/schedule.py (business_hours, weekends, off_hours, all, none).

Usage: samba-tool sites connection schedule preset &lt;connection_name&gt; &lt;preset&gt; [options]

Apply predefined preset to current connection schedule.


Options:
  -h, --help            show this help message and exit
  --color=always|never|auto
                        use colour if available (default: auto)

  Credentials Options:
    --simple-bind-dn=DN
                        DN to use for a simple bind
    --password=PASSWORD
                        Password
    -U USERNAME, --username=USERNAME
                        Username
    -W WORKGROUP, --workgroup=WORKGROUP
                        Workgroup
    -N, --no-pass       Don&apos;t ask for a password
    --ipaddress=IPADDRESS
                        IP address of server
    -P, --machine-pass  Use stored machine account password
    --use-kerberos=desired|required|off
                        Use Kerberos authentication
    --use-krb5-ccache=KRB5CCNAME
                        Kerberos Credentials cache
    -A AUTHFILE, --authentication-file=AUTHFILE
                        Authentication file
    -k KERBEROS, --kerberos=KERBEROS
                        DEPRECATED: Migrate to --use-kerberos

  Host Options:
    -H URL, --URL=URL   LDB URL for database or target server

  Samba Common Options:
    -s FILE, --configfile=FILE
                        Configuration file
    -d DEBUGLEVEL, --debuglevel=DEBUGLEVEL
                        debug level
    --option=OPTION     set smb.conf option from command line
    --realm=REALM       set the realm name

  Version Options:
    -V, --version       Display version number</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>283647</commentid>
    <comment_count>1</comment_count>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2026-03-11 18:53:41 +0300</bug_when>
    <thetext>Версия пакета: samba-dc-4.22.8-alt2

Информация была добавлена в https://git.altlinux.org/gears/s/samba.git?p=samba.git;a=commitdiff;h=02dd53d300ff9c40f856b3b5482526c9a25e716d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>