Web lists-archives.com

Re: [Samba] Unable to add a particular member to group (Samba 4.6.3)

On Wed, 26 Apr 2017 11:47:03 -0400
Luc Lalonde via samba <samba@xxxxxxxxxxxxxxx> wrote:

> This is the case for this user too...   Could it be that Samba is
> trying to work with the old SID???

It doesn't work with SID.

Are you up to trying something ?

If so, first find a Samba python file 'samdb.py' this is usually in
this directory path 'python2.x/site-packages/samba/'

Backup your original file, then open the original in an editor and find
this line:

ldb.binary_encode(member), ldb.binary_encode(member)), attrs=[])

In my copy it is line 271 under 'def add_remove_group_members(self,
groupname, members,'

Change it to:

member, member), attrs=[])

Make sure the characters start at the same place as they do now.

close and save the file.

Now, try again.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba