0

我有一台运行了一年多的 ipa 服务器。最近,当我尝试通过 https 或终端添加新用户时,它失败并显示以下错误消息。

 IPA-Fehler 4203: DatabaseError
 Server is unwilling to perform: Managed Entry Plugin rejected add operation (see errors log).

在错误日志中,我看到:

 [timestamp] [:warn] [pid 2731] [client xxx] failed to set perms (3140) on file (/var/run/ipa/ccaches/user@xxx)!, referer: xxx
 [timestamp] [:error] [pid 2727] ipa: INFO: [jsonserver_session] user@xxx: group_find(None, posix=True, version=u'2.230', no_members=True): SUCCESS
 [timestamp] [:warn] [pid 2731] [client xxx] failed to set perms (3140) on file (/var/run/ipa/ccaches/user@xxx)!, referer: xxx
 [timestamp] [:error] [pid 2726] ipa: INFO: [jsonserver_session] user@xxx: user_add(u'xxx', givenname=u'xxx', sn=u'xxx', userpassword=u'********', version=u'2.230'): DatabaseError

未创建用户,但我必须按照此处所述删除托管组: https ://www.redhat.com/archives/freeipa-users/2016-August/msg00092.html ,然后我才能重试。到底是怎么回事?任何帮助表示赞赏。

 $ cat /etc/os-release
 NAME="CentOS Linux"
 VERSION="7 (Core)"
 ID="centos"
 ID_LIKE="rhel fedora"
 VERSION_ID="7"
 PRETTY_NAME="CentOS Linux 7 (Core)"
 ANSI_COLOR="0;31"
 CPE_NAME="cpe:/o:centos:centos:7"
 HOME_URL="https://www.centos.org/"
 BUG_REPORT_URL="https://bugs.centos.org/"

 CENTOS_MANTISBT_PROJECT="CentOS-7"
 CENTOS_MANTISBT_PROJECT_VERSION="7"
 REDHAT_SUPPORT_PRODUCT="centos"
 REDHAT_SUPPORT_PRODUCT_VERSION="7"

 $ ipa --version
 VERSION: 4.6.4, API_VERSION: 2.230
4

1 回答 1

0

所以我设法解决了这个问题。在尝试其他设置时,我尝试添加没有私人组的用户并收到错误消息:

 Server is unwilling to perform: Automember Plugin update unexpectedly failed.

快速搜索显示,当用户被添加到一个不存在的组时,该错误正在发生,这是由于过时的 Auto-Membership-Rule 而发生的。更正这一点,可以添加用户。

于 2021-02-01T12:12:12.797 回答