[Samba] one day AD use -> samba-tool dbcheck reports "Normalisation error for attribute 'objectClass'"
rowlandpenny at googlemail.com
Mon Jun 2 02:51:59 MDT 2014
On 02/06/14 08:38, mourik jan heupink - merit wrote:
> Hi Rowland,
> I didn't reply to your question, since I didn't understand
> it...perhaps I should have said so, but:
No problem, I have been mis-understood all my life ;-)
> 1. I think the problem was with the "securityPrincipal" and not
AH, but IMHO posixAccount shouldn't be there, so if it wasn't there,
would you still have the problem?
> 2. I'm not sure what upgrade.py we're talking about.
upgrade.py is the python script that samba-tool runs when you do a
> 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.
Yes, I know Andrew said that, and that is why I asked if the problem
could be fixed by NOT adding the posixAccount objectClass, I am still
awaiting an answer.
> 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.
>> 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.
More information about the samba