[Samba] Cannot add user to group in Samba AD DC

Rowland Penny rowlandpenny at googlemail.com
Wed Oct 15 06:37:54 MDT 2014

On 15/10/14 13:27, Андрей Черепанов wrote:
> 15.10.2014 14:46, Rowland Penny пишет:
>> There is a bug report: https://bugzilla.samba.org/show_bug.cgi?id=10871
>> about this problem, samba-tool reports that the user has been added to a
>> group, even if it hasn't been.
> Hmm. If user has same name of registered workstation, it cannot add to
> group (even computer has name with trailing $ - cn of computer is 'CAS',
> sAMAccountName is 'cas$').
> It's a bit confusing to me. :( I think Samba use sAMAccountName for names.
OK, I thought that this could be your problem, you are not allowed to 
use the same name for two 'objects' in AD, users, groups, computers etc 
are all objects as far as AD is concerned. You need to change one, 
either un-join the computer and rename etc and then join it again or 
probably better, delete your user and rename it.


More information about the samba mailing list