Web lists-archives.com

Re: [Samba] corrupted db after upgrading to 4.7




Hello everyone.

So i also tried to removemembers & ldbmodify/ldbedit to remove the duplicate link but unfortunately it's not working 

"objectclass_attrs: attribute 'memberOf' on entry 'CN=Gerard Vraux,OU=CPAS,OU=MUSERS,DC=contoso,DC=com" must not be modified directly, it is a linked attribute"

So even if i want to fix everything manually, i can't.

Do you have any solutions/scripts to fix the situation ?

Have a good day.

Thanks.

----- Mail original -----
De: "Denis Cardon" <dcardon@xxxxxxxxxxx>
À: "Maxence Sartiaux" <msartiaux@xxxxxxxxxxxxx>, "Andrew Bartlett" <abartlet@xxxxxxxxx>
Cc: "samba" <samba@xxxxxxxxxxxxxxx>
Envoyé: Vendredi 3 Novembre 2017 11:02:18
Objet: Re: [Samba] corrupted db after upgrading to 4.7

Hi Maxence,

> Fyi, i've updated to 4.7.1, the dbcheck still not fix the broken links,
> is the fix you talk about planned for a future release ?
>
> Our customer reported me, some users have issues when their logon server
> is DC1 but not when it's DC2.
>
> On DC1 some users have access to all shares, some doesn't have any
> access at all.

actually this last symptom was the one that got us to hack quickly a 
solution for the issue with orphaned backlink attribute 'memberOf'. 
You'll probably have to do some cleanup as I pointed out in my last mail.

The bugzilla entry [1] you mentioned and corresponding patch prevents 
the problem from happening, but I don't think it fixes it.

Cheers,

Denis

[1] https://bugzilla.samba.org/show_bug.cgi?id=13095

>
>
>
> On 11/02/2017 04:38 PM, Andrew Bartlett wrote:
>> On Thu, 2017-11-02 at 16:19 +0100, Maxence Sartiaux via samba wrote:
>>>
>> No worries.
>>
>> Andrew Bartlett
>>
>

-- 
Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint Sébastien sur Loire
tel : +33 (0) 2.40.97.57.55
http://www.tranquil-it-systems.fr

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