[Samba] one day AD use -> samba-tool dbcheck reports "Normalisation error for attribute 'objectClass'"

mourik jan heupink - merit heupink at merit.unu.edu
Mon Jun 2 01:38:59 MDT 2014


Hi Rowland,

I didn't reply to your question, since I didn't understand it...perhaps 
I should have said so, but:

1. I think the problem was with the "securityPrincipal" and not 
posixAccount..?

2. I'm not sure what upgrade.py we're talking about.

But anyway, like Andrew said:

>
> In any case it is irrelevant.  If this is a legitimate set of
> objectclasses (it is) then we need a canonical way to represent it, so
> we don't fall foul of our own database checker.  It doesn't matter what
> tool or combination of tools creates the issue.

Kind regards,
Mourik Jan

On 05/30/2014 05:59 PM, Rowland Penny wrote:
> On 30/05/14 15:57, mourik jan heupink - merit wrote:
>> Hi Rowland, list,
>>
>> On 05/30/2014 12:42 PM, Rowland Penny wrote:
>>>>
>>> Are you sure ? the OP said this:
>>>
>>>   'This morning, right after the classicupgrade,'
>> True, I guess I should not have said RIGHT after the classicupgrade.
>> (though I don't remember exactly...)
>>
>> The error appears after editing/adding an account with LAM, I
>> determined later. So, I guess that when I first ran the sama-tool
>> dbcheck, I already edited something in LAM.
>>
>> MJ
> Again, are you sure LAM added the posixAccount object class ?
>
> Reason I ask is, if you find 'upgrade.py' on your system, open it in
> your favourite editor and go to line 141, you will find a block of code
> that I think adds users & groups to AD and amongst that block of code
> are the words 'posixAccount' & 'posixGroup'. Now I know very little
> about python, so if I am wrong in my assumption, then I am sorry and
> apologise for raising the subject.
>
> Rowland
>
>


More information about the samba mailing list