Displaying 13 results from an estimated 13 matches for "add_members_operation".
2017 Apr 25
2
Unable to add a particular member to group (Samba 4.6.3)
...group addmembers
foogroup foouser
ERROR(exception): Failed to add members "foouser" to group "foogroup" -
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]# /u...
2017 May 29
2
samba-tool cannot add or remove group members
Hi
samba-tool group addmembers stage user
ERROR(exception): Failed to add 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 removemem...
2017 May 30
2
samba-tool cannot add or remove group members
...samba-tool group addmembers group12 rowland
ERROR(exception): Failed to add members "rowland" to group "group12" - 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)
...group addmembers
foogroup foouser
ERROR(exception): Failed to add members "foouser" to group "foogroup" -
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
removemember...
2017 Apr 25
0
Unable to add a particular member to group (Samba 4.6.3)
...oouser
> ERROR(exception): Failed to add members "foouser" to group "foogroup"
> - 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:
>...
2017 May 29
0
samba-tool cannot add or remove group members
...>
> samba-tool group addmembers stage user
> ERROR(exception): Failed to add 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
>...
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
...oup "SAMDOM\suser1"
ERROR(exception): Failed to add members "SAMDOM\suser1" to group "unixgroup" - 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 uni...
2017 May 30
0
samba-tool cannot add or remove group members
...up addmembers group12 rowland
> ERROR(exception): Failed to add members "rowland" to group "group12"
> - 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 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 28
0
Unable to add a particular member to group (Samba 4.6.3)
...foouser
> ERROR(exception): Failed to add members "foouser" to group "foogroup"
> - 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-...
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
3
Unable to add a particular member to group (Samba 4.6.3)
...ception): Failed to add members "foouser" to group "foogroup"
>> - 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...