ldbsearch -H /usr/local/samba/private/sam.ldb -b 'cn=Schema,cn=Configuration,dc=local,dc=local' -s base objectVersion # record 1 dn: CN=Schema,CN=Configuration,DC=local,DC=local objectVersion: 47