[Samba] Problem editing sam.ldb

Rowland Penny rowlandpenny at googlemail.com
Mon Oct 13 10:34:47 MDT 2014

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.


More information about the samba mailing list