Displaying 15 results from an estimated 15 matches for "add_remove_group_memb".
2017 Apr 26
2
Unable to add a particular member to group (Samba 4.6.3)
...-
Unable to find "foouser". Operation cancelled.
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/group.py",
line 239, in run
add_members_operation=True)
File "/usr/local/samba/lib64/python2.6/site-packages/samba/samdb.py",
line 275, in add_remove_group_members
raise Exception('Unable to find "%s". Operation cancelled.' % member)
[root at roquefort samba]# /usr/local/samba/bin/samba-tool group
removemembers foogroup foouser2
Removed members from group foogroup
[root at roquefort samba]# /usr/local/samba/bin/samba-tool group addm...
2017 May 30
2
samba-tool cannot add or remove group members
...oup12" - Unable to find "rowland". Operation cancelled.
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/group.py", line 239, in run
add_members_operation=True)
File "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line 278, in add_remove_group_members
raise Exception('Unable to find "%s". Operation cancelled.' % member)
Now just to think of a way around this.
Rowland
2017 Apr 26
2
Unable to add a particular member to group (Samba 4.6.3)
This is the case for this user too... Could it be that Samba is trying
to work with the old SID???
Le 2017-04-26 à 10:47, Dale Renton via samba a écrit :
> On Tue, Apr 25, 2017 at 3:31 PM, Luc Lalonde via samba <
> samba at lists.samba.org> wrote:
>
>> The user exists in AD:
>>
>> - I can see the user using 'wbinfo', 'samba-tool user list'
2017 Apr 25
2
Unable to add a particular member to group (Samba 4.6.3)
...-
Unable to find "foouser". Operation cancelled.
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/group.py",
line 239, in run
add_members_operation=True)
File "/usr/local/samba/lib64/python2.6/site-packages/samba/samdb.py",
line 274, in add_remove_group_members
raise Exception('Unable to find "%s". Operation cancelled.' % member)
However, it seems to work for another account:
[root at roquefort admin]# /usr/local/samba/bin/samba-tool group addmembers
foogroup foouser2
Added members to group foogroup
[root at roquefort admin]#...
2017 May 30
0
samba-tool cannot add or remove group members
...- Unable to find "rowland". Operation cancelled. File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/group.py",
> line 239, in run add_members_operation=True) File
> "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line
> 278, in add_remove_group_members raise Exception('Unable to find
> "%s". Operation cancelled.' % member)
>
> Now just to think of a way around this.
>
> Rowland
>
>
>
OK, I think I have a fix, find 'samdb.py' on your DC, open it in your
favourite editor and find this line:...
2023 Jul 04
1
Found multiple results for "tga":
...ed to add members ['tga'] to group "backup" - Found multiple
results for "tga":
CN=tga,CN=Users,DC=granmarmo,DC=intranet
CN=SERVER,CN=Computers,DC=empresa,DC=intranet
File "/usr/lib/python3/dist-packages/samba/netcmd/group.py", line 478,
in run
samdb.add_remove_group_members(groupname, groupmembers,
File "/usr/lib/python3/dist-packages/samba/samdb.py", line 425, in
add_remove_group_members
raise Exception('Found multiple results for "%s":\n%s' %
root at dc0:~#
root at dc0:~# samba-tool group list |grep tga
lpcfg_do_global_parame...
2017 May 29
2
samba-tool cannot add or remove group members
...;user" to group "stage" - Unable to find "user". Operation cancelled.
File "/usr/lib/python2.7/dist-packages/samba/netcmd/group.py", line 227, in run
add_members_operation=True)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 274, in add_remove_group_members
raise Exception('Unable to find "%s". Operation cancelled.' % member)
net rpc group addmem stage user -UAdministrator
>ok, user added
samba-tool group removemembers stage user
>error
net rpc group delmem stage user -UAdministrator
> ok user deleted
I remember t...
2017 Apr 28
0
Unable to add a particular member to group (Samba 4.6.3)
...quot;. Operation cancelled.
> File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/group.py",
> line 239, in run
> add_members_operation=True)
> File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/samdb.py", line
> 275, in add_remove_group_members
> raise Exception('Unable to find "%s". Operation cancelled.' % member)
> [root at roquefort samba]# /usr/local/samba/bin/samba-tool group
> removemembers foogroup foouser2
> Removed members from group foogroup
> [root at roquefort samba]# /usr/local/samba/b...
2023 Jul 04
1
Found multiple results for "tga":
On 04/07/2023 17:14, Edson Wolf via samba wrote:
> I only have a tga user. But it says it has multiple entries.
>
> ( ERROR: Failed to add members ['tga'] to group "backup" - Found
> multiple results for "tga": )
>
> root at dc0:~# samba-tool group list |grep backup
> lpcfg_do_global_parameter: WARNING: The "domain logons" option is
2017 Apr 25
0
Unable to add a particular member to group (Samba 4.6.3)
...uot;. Operation cancelled.
> File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/group.py",
> line 239, in run
> add_members_operation=True)
> File
> "/usr/local/samba/lib64/python2.6/site-packages/samba/samdb.py", line
> 274, in add_remove_group_members raise Exception('Unable to find
> "%s". Operation cancelled.' % member)
>
> However, it seems to work for another account:
>
> [root at roquefort admin]# /usr/local/samba/bin/samba-tool group
> addmembers foogroup foouser2
> Added members to group foogrou...
2017 May 29
0
samba-tool cannot add or remove group members
...oup "stage" -
> Unable to find "user". Operation cancelled. File
> "/usr/lib/python2.7/dist-packages/samba/netcmd/group.py", line 227,
> in run add_members_operation=True) File
> "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 274, in
> add_remove_group_members raise Exception('Unable to find "%s".
> Operation cancelled.' % member)
>
> net rpc group addmem stage user -UAdministrator
> >ok, user added
>
> samba-tool group removemembers stage user
> >error
>
> net rpc group delmem stage user -UAdminis...
2017 May 29
2
samba-tool cannot add or remove group members
samba-tool group addmembers domaingroup 'SAMDOM\user1'
ERROR(exception): Failed to add members "SAMDOM\user1" to group "domaingroup" - Unable to find "SAMDOM\user1". Operation cancelled.
samba-tool group addmembers 'SAMDOM\domaingroup' 'SAMDOM\user1'
ERROR(exception): Failed to add members "SAMDOM\user1" to group
2017 May 29
0
samba-tool cannot add or remove group members
...quot; - Unable to find "SAMDOM\suser1". Operation cancelled.
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/group.py", line 239, in run
add_members_operation=True)
File "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line 278, in add_remove_group_members
raise Exception('Unable to find "%s". Operation cancelled.' % member)
But if I do it without the domain:
root at dc1:~# samba-tool group addmembers unixgroup suser1
Added members to group unixgroup
Rowland
2017 May 30
2
samba-tool cannot add or remove group members
> Do you have users in /etc/passwd ?
I only have original debian system users
> If so, are you trying to add one of these users to an AD group ?
no
2017 Apr 25
3
Unable to add a particular member to group (Samba 4.6.3)
...t;> File
>> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/group.py",
>> line 239, in run
>> add_members_operation=True)
>> File
>> "/usr/local/samba/lib64/python2.6/site-packages/samba/samdb.py", line
>> 274, in add_remove_group_members raise Exception('Unable to find
>> "%s". Operation cancelled.' % member)
>>
>> However, it seems to work for another account:
>>
>> [root at roquefort admin]# /usr/local/samba/bin/samba-tool group
>> addmembers foogroup foouser2
>> Adde...