ldb_search returns LDB_ERR_NO_SUCH_OBJECT when searching for prefixMap from module

Andrew Bartlett abartlet at samba.org
Tue Jun 24 10:44:44 GMT 2008


On Tue, 2008-06-24 at 13:15 +0300, Anatoliy Atanasov wrote:
> Hi List, 
> 
> I added a module in dsdb/samdb/ldb_modules called prefix_map. All I need in my init function is to get the prefix map and store it, 
> but I fail when I do ldb_search with error LDB_ERR_NO_SUCH_OBJECT.
> I tried to copy/paste the code from schema_fsmo_init method and it doesn't work in my function also.
> I guess my module is not called when it should.
> 
> Here is what I have done so far.

Could you post that as a diff -u?  Say with 'git diff'?

That way, I can try out the code, and give you more useful feedback.
(it should also be easier than hand-composing it into a mail :-)

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080624/71a197a8/attachment.bin


More information about the samba-technical mailing list