diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-09 03:51:06 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-09 03:51:06 +0000 |
commit | edb6755f4591cdab4ce2eb5cbec158191807dcd3 (patch) | |
tree | 7a4951013fde7e3f7a12eb3da47984c7fe174c60 /examples/sam/README | |
parent | 9d2a516f0617747d4af2bbe9667c71766da2b7f4 (diff) | |
download | samba-edb6755f4591cdab4ce2eb5cbec158191807dcd3.tar.gz samba-edb6755f4591cdab4ce2eb5cbec158191807dcd3.tar.bz2 samba-edb6755f4591cdab4ce2eb5cbec158191807dcd3.zip |
syncing examples
(This used to be commit d31b5df82648767203ecee6ecb10030caa477250)
Diffstat (limited to 'examples/sam/README')
-rw-r--r-- | examples/sam/README | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/examples/sam/README b/examples/sam/README deleted file mode 100644 index 9e9fbb26db..0000000000 --- a/examples/sam/README +++ /dev/null @@ -1,29 +0,0 @@ -README for Samba SAM Database examples -==================================================== -26-08-2002 Stefan (metze) Metzmacher <metze@metzemix.de> - -Every module MUST have a sam_version() function. - -this is defined in include/sam.h: -#define SAM_MODULE_VERSIONING_MAGIC \ -int sam_version(void)\ -{\ - return SAM_INTERFACE_VERSION;\ -} - -You MUST add this line inside a module: -SAM_MODULE_VERSIONING_MAGIC - - -The sam_skel.c file in this directory contains a very basic example of -a SAM plugin. It just prints the name of the function that is executed using -DEBUG. Maybe it's nice to include some of the arguments to the function in the -future too.. - -New SAM plugins should go into the samba lib directory, (/usr/lib/samba/ -for most distributions) and should be prefixed with 'sam_' and should go into the -subdir sam/. The SAM subsystem will search in /usr/lib/samba/sam and fall back to -/usr/lib/samba/ . -An example path would be: -/usr/lib/samba/sam/sam_skel.so - |