debugging pdb backends

Paul Griffith paulg at cs.yorku.ca
Thu Jan 6 13:44:56 GMT 2005


Greetings,

I am testing Samba 3.0.10 with the pdb_test backend. I was able to
compile the backend but using pdbedit. 


./pdbedit -s /usr/local/samba3/lib/smb.conf
No builtin backend found, trying to load plugin
Module '/usr/local/samba3/lib/pdb/pdb_test.so' loaded
Plugin is available, but doesn't register passdb backend pdb_test
Loading pdb_test failed!


I notice in the pdb_test example (example/pdb/pdb_test.c) it uses
init_module to register the backend. I does Samba know  to call
init_module to register the backend module?

Any pointers or HOWTO on backends out there?

Thanks
Paul



More information about the samba-technical mailing list