|
Last change
on this file since 162 was 39, checked in by Paul Smedley, 18 years ago |
|
Upgrade source to 3.0.25a
|
|
File size:
967 bytes
|
| Line | |
|---|
| 1 | README for Samba Password Database (PDB) examples
|
|---|
| 2 | ====================================================
|
|---|
| 3 | Jelmer Vernooij <jelmer@nl.linux.org>
|
|---|
| 4 | Stefan (metze) Metzmacher <metze@samba.org>
|
|---|
| 5 |
|
|---|
| 6 | The test.c file in this directory contains a very basic example of
|
|---|
| 7 | a pdb plugin. It just prints the name of the function that is executed using
|
|---|
| 8 | DEBUG. Maybe it's nice to include some of the arguments to the function in the
|
|---|
| 9 | future too..
|
|---|
| 10 |
|
|---|
| 11 | To debug passdb backends, try to run gdb on the 'pdbedit' executable. That's
|
|---|
| 12 | really much easier than restarting smbd constantly and attaching with your
|
|---|
| 13 | debugger.
|
|---|
| 14 |
|
|---|
| 15 | New passdb plugins should go into the samba lib directory, (/usr/lib/samba/pdb/
|
|---|
| 16 | for most distributions). An example would be: /usr/lib/samba/pdb/test.so
|
|---|
| 17 |
|
|---|
| 18 | Be aware that the SQL and XML based passdb modules have been removed since the
|
|---|
| 19 | 3.0.23 release. More information of external support for SQL passdb modules
|
|---|
| 20 | can be found at http://pdbsql.sourceforge.net/.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.