Adding an user to a group causes unable to find user, but the user exists.
I have 32 users and the error only occurs with 3 specific users.
the error continues after recreating those users
The username that can not be added to any group are: eventos, mantenimiento, contabilidadd-i
System version
NethServer release 7.4.1708 (Final)
Kernel release
3.10.0-693.11.1.el7.x86_64
/var/log/messages:
Jan 2 14:45:21 nethserver esmith::event[19774]: ERROR(exception): Failed to add members “eventos” to group “prueba-grupo” - Unable to find “eventos”. Operation cancelled.
Jan 2 14:45:21 nethserver esmith::event[19774]: File “/usr/lib64/python2.7/site-packages/samba/netcmd/group.py”, line 239, in run
Jan 2 14:45:21 nethserver esmith::event[19774]: add_members_operation=True)
Jan 2 14:45:21 nethserver esmith::event[19774]: File “/usr/lib64/python2.7/site-packages/samba/samdb.py”, line 274, in add_remove_group_members
Jan 2 14:45:21 nethserver esmith::event[19774]: raise Exception(‘Unable to find “%s”. Operation cancelled.’ % member)
Jan 2 14:45:21 nethserver esmith::event[19774]: [ERROR] Failed to update the members list of group prueba-grupo at /etc/e-smith/events/group-modify line 86, line 30.
Jan 2 14:45:21 nethserver esmith::event[19774]: Action: /etc/e-smith/events/group-modify/S40nethserver-dc-group-modify FAILED: 1 [0.684069]
What do they have in common and different to the working ones? Long names, special non-ascii chars in name? Does it work after a reboot (at least once) ?
Giacomo, I think you are right. The three names that cause me the
problem are also machine names.
Next week I will rename the machines and I will confirm to you about the
solution.