Bug 38946 - Ошибка создания пользователя
Summary: Ошибка создания пользователя
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: netcmdplus (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: manowar@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-16 10:42 MSK by pav@altlinux.org
Modified: 2020-09-21 12:50 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pav@altlinux.org 2020-09-16 10:42:47 MSK
Создать пользователя домена не удается.

c253 ~ # samba-tool-plus user create user2
New Password:
Retype Password:
ERROR(ldb): Failed to add user 'user2':  - setup_kerberos_keys: generation of a des-cbc-md5 key failed: Bad encryption type

Изменить пароль существующего пользователя невозможно.

c253 ~ # samba-tool-plus user setpassword user1
New Password: 
Retype Password: 
ERROR: Failed to set password for user 'user1': (1, 'setup_kerberos_keys: generation of a des-cbc-md5 key failed: Bad encryption type')

При использовании samba-tool подобных проблем не возникает.
Comment 1 manowar@altlinux.org 2020-09-21 12:50:41 MSK
Всё это довольно странно, потому что netcmdplus — это только обёртка над питоновской самбой. В частности, пароль устанавливается методом setpassword() из пакета python3(samba.samdb). Никаких опций, касающихся алгоритма шифрования при этом не передаётся.