[Samba] Problem editing sam.ldb

steve steve at steve-ss.com
Mon Oct 13 10:18:17 MDT 2014

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

Make sure the changed-schema DC is up well before the others.


More information about the samba mailing list