[PATCH] fix for bug 12292

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Tue Sep 27 22:18:23 UTC 2016


On 28/09/16 10:33, Rowland Penny wrote:
>>>  python/samba/samdb.py | 15 ++++-----------
>>>  1 file changed, 4 insertions(+), 11 deletions(-)
>>>
>>> diff --git a/python/samba/samdb.py b/python/samba/samdb.py
>>> index 3d7ea3e..42b39f3 100644
>>> --- a/python/samba/samdb.py
>>> +++ b/python/samba/samdb.py
>>> @@ -463,22 +463,15 @@ member: %s
>>>          else:
>>>              self.transaction_commit()
>>>  
>>> +    def deleteobject(self, object_dn):
>>> +        """Deletes an AD object
>>>  
>>> -    def deleteuser(self, username):
>>> -        """Deletes a user
>>
>> Won't this also break python/samba/tests/samba_tool/rodc.py?
> 
> Why ?? can you point me to documentation that backs up this question.

It uses Samdb.deleteuser, which this patch removes. Documentation of
that would be a surprise.

`git grep` is useful in this situation (though not necessarily
sufficient, due to generated code).

cheers,
Douglas



More information about the samba-technical mailing list