diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-04-10 14:33:35 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-14 13:18:44 +0200 |
commit | 7d404844474667e29bdac68273cb10f93a381c27 (patch) | |
tree | 1ea9421fe1259c99f2a0b4fe2b7d1b31ac6ea806 /m4 | |
parent | 840206fc30cd79411e749082d65e48eeecc4e749 (diff) | |
download | sssd-7d404844474667e29bdac68273cb10f93a381c27.tar.gz sssd-7d404844474667e29bdac68273cb10f93a381c27.tar.xz sssd-7d404844474667e29bdac68273cb10f93a381c27.zip |
SDAP: Do not set gid 0 twice
The gid o was added to sysdb attrs directly in sdap_save_group for 1st time
and for second time in the function sdap_store_group_with_gid,
which was called every time from function sdap_save_group
[sysdb_set_entry_attr] (0x0080): ldb_modify failed:
[Attribute or value exists](20)[attribute 'gidNumber': value #1
on 'name=domainlocalgroup1_dom2-493341@sssdad_tree.com,cn=groups,cn=sssdad_tree.com,cn=sysdb' provided more than once]
[sysdb_set_entry_attr] (0x0040): Error: 17 (File exists)
[sysdb_store_group] (0x1000): sysdb_set_group_attr failed.
[sysdb_store_group] (0x0400): Error: 17 (File exists)
[sdap_store_group_with_gid] (0x0040):
Could not store group domainlocalgroup1_dom2-493341@sssdad_tree.com
[sdap_save_group] (0x0080): Could not store group with GID: [File exists]
[sdap_save_group] (0x0080):
Failed to save group [domainlocalgroup1_dom2-493341@sssdad_tree.com]: [File exists]
[sdap_save_groups] (0x0040): Failed to store group 0. Ignoring.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 5d864e7a9d0e1e6fb7dd8158c5b8bfb71040b908)
(cherry picked from commit cf7047634308c431f4cfbff1d88564668d2a33c7)
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions