# samba-tool group addmembers abcdefghijklmnop user ERROR: Failed to add members ['user'] to group "abcdefghijklmnop" - (32, "Base-DN '<GUID=64636261-6665-6867-696a-6b6c6d6e6f70>' not found") This is a regression caused by commit 21a88df032c6e481b547fad2c48d14243a514035. add_remove_group_members() now tries to interpret the group name as GUID first, which eventually succeeds in GUID_from_data_blob() and GUID_from_ndr_blob() for arbitrary strings with 16 characters.
Does add_remove_group_members() need to support SIDs and GUIDs in the first place when it also supports '<SID=>' and '<GUID=>' DN syntax?
Richard, thanks for debugging this. I think this patch https://gitlab.com/samba-team/samba/-/merge_requests/4081.patch should work.
This bug was referenced in samba master: 3150d103bb2990e005d70c90f3f9c316c5353005 f545a77a3c466e2be37e0c453861566d42b1a01d 7c99658e22c6761ccf9abbdea588553a46af7453
Created attachment 18651 [details] v4.22 fix cherry-picked from master
Comment on attachment 18651 [details] v4.22 fix cherry-picked from master CI passed: https://gitlab.com/samba-team/devel/samba/-/pipelines/1873760609
This bug was referenced in samba v4-22-test: d80ff2e1e58dab4ee1c7de7f05fb3275c2a25239 de43d8e305da2a87792ee4dbd807895c039e4e14 76d1b6b180790b20b54265e4798e8cbaf899b405
Closing out bug report. Thanks!
This bug was referenced in samba v4-22-stable (Release samba-4.22.3): d80ff2e1e58dab4ee1c7de7f05fb3275c2a25239 de43d8e305da2a87792ee4dbd807895c039e4e14 76d1b6b180790b20b54265e4798e8cbaf899b405