How to process schemaUpdateNow ldap request

Michael Ströder michael at
Mon Jun 30 15:41:34 GMT 2008

Anatoliy Atanasov wrote:
> I am trying to make schema cache in dsdb_schema to reload with newly added mappings from ldb.
> This is done by the following ldap request which is valid command for Win2003
> dn:
> changetype: modify
> add: schemaUpdateNow
> schemaUpdateNow: 1
> I want to process this in rootdse module .modify function, but it's never called and the return message says:
>> ldap_modify_ext: Invalid DN syntax (34)
>>        additional info: Invalid DN (1 components needed for 'dn')

FWIW your DN line in your e-mail above is "dn:". Maybe try it with
"dn: " instead. The space is part of the separator between attribute 
type and attribute value.

See declaration of dn-spec and FILL in RFC 2849.

Ciao, Michael.

More information about the samba-technical mailing list