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

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

    <bug>
          <bug_id>40812</bug_id>
          
          <creation_ts>2021-08-25 17:49:13 +0300</creation_ts>
          <short_desc>Проблема с шифрованием</short_desc>
          <delta_ts>2021-08-25 17:49:13 +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-dc</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="KALIBR-10">konsol1985ru</reporter>
          <assigned_to name="Evgeny Sinelnikov">sin</assigned_to>
          <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>202044</commentid>
    <comment_count>0</comment_count>
    <who name="KALIBR-10">konsol1985ru</who>
    <bug_when>2021-08-25 17:49:13 +0300</bug_when>
    <thetext>Альт СП с9
Роль: Контроллер домена AD
Если пароль для учетки задавать из RSAT, то всё задается хорошо
Если samba-tool setpassword user, то происходит проблема.

Приведу пример:
user1 - пароль задан в RSAT
user2 - samba-tool 

В krb5.conf (на клиенте):
 default_tkt_enctypes = arcfour-hmac-md5
 default_tgs_enctypes = arcfour-hmac-md5 

Билет удается получить на обе учетки
Смотрю тип шифрования (klist -e)
У обоих Etype (skey, tkt): arcfour-hmac, aes256-cts-hmac-sha1-96 

Правлю krb5.conf (на клиенте):
 default_tkt_enctypes = aes256-cts-hmac-sha1-96
 default_tgs_enctypes = aes256-cts-hmac-sha1-96 

user1 билет получает
user2 Password incorrect while getting initial credentials

Получается билет user2 как бы зашифрован алгоритмом aes256-cts-hmac-sha1-96, но расшифровать его не получается.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>