Bug 57505

Summary: Отсутствует информация о существующих пресетах расписания межсайтовой репликации
Product: Sisyphus Reporter: Vladislav Glinkin <glinkinvd>
Component: sambaAssignee: Evgeny Sinelnikov <sin>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: shevchenkodyu, sin
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Vladislav Glinkin 2026-01-15 19:25:01 MSK
Версия пакета: 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 <connection_name> <preset> [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'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