[Samba] Problem editing sam.ldb

steve steve at steve-ss.com
Mon Oct 13 10:40:47 MDT 2014


On 13/10/14 18:34, Rowland Penny wrote:
> On 13/10/14 17:18, steve wrote:
>> On 13/10/14 09:15, Christian Felsing wrote:
>>> Hello,
>>>
>>> on Samba 4.1.12 server ip6.test.lan I tried to correct a mistake in
>>> schema,
>>> because there is a wrong OID:
>>>
>>> # ldbedit -e vim -H /usr/local/samba/private/sam.ldb -b
>>> 'cn=Schema,cn=Configuration,dc=test,dc=lan' '(cn=myxxxAllowSend)'
>>
>> If you want to try, take the domain down totally: make sure that all
>> samba process are dead, everywhere. Make an ldif with your changes and
>> then add it using ldbmodify with the:
>> --option="dsdb:schema update allowed"=true
>> switch.
>>
>> Make sure the changed-schema DC is up well before the others.
>>
>> HTH,
>> Steve
>>
> It also might help if the OP was tell us just what he is trying to do, I
> think that he must have extended the schema and if one OID is wrong,
> then surely there must be other wrong ones.
>
> Rowland
+1
Do NOT try this at home;)




More information about the samba mailing list