Last change
on this file since 8 was 1, checked in by Paul Smedley, 19 years ago |
Initial code import
|
File size:
742 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.