summaryrefslogtreecommitdiffstats
path: root/source4/ntptr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-09 19:55:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:56:49 -0500
commit306b12ad4943737f6810df9237ab93b64c931fbd (patch)
tree4a026777c67ee04ffe4e6fc0d6473599d0473b22 /source4/ntptr
parent906d3fd22ab224780f155c04e32facb884f6afb5 (diff)
downloadsamba-306b12ad4943737f6810df9237ab93b64c931fbd.tar.gz
samba-306b12ad4943737f6810df9237ab93b64c931fbd.tar.xz
samba-306b12ad4943737f6810df9237ab93b64c931fbd.zip
r14094: Use saner module directory names, fix loading of server service modules.
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)
Diffstat (limited to 'source4/ntptr')
-rw-r--r--source4/ntptr/config.mk10
-rw-r--r--source4/ntptr/ntptr_base.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/source4/ntptr/config.mk b/source4/ntptr/config.mk
index b2300c22b2d..c4bccd7a68a 100644
--- a/source4/ntptr/config.mk
+++ b/source4/ntptr/config.mk
@@ -1,10 +1,10 @@
-# NTPTR Server subsystem
+# ntptr server subsystem
################################################
# Start MODULE ntptr_simple_ldb
[MODULE::ntptr_simple_ldb]
INIT_FUNCTION = ntptr_simple_ldb_init
-SUBSYSTEM = NTPTR
+SUBSYSTEM = ntptr
OBJ_FILES = \
simple_ldb/ntptr_simple_ldb.o
REQUIRED_SUBSYSTEMS = \
@@ -13,12 +13,12 @@ REQUIRED_SUBSYSTEMS = \
################################################
################################################
-# Start SUBSYSTEM NTPTR
-[SUBSYSTEM::NTPTR]
+# Start SUBSYSTEM ntptr
+[SUBSYSTEM::ntptr]
PRIVATE_PROTO_HEADER = ntptr_proto.h
OBJ_FILES = \
ntptr_base.o \
ntptr_interface.o
#
-# End SUBSYSTEM NTPTR
+# End SUBSYSTEM ntptr
################################################
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c
index c55e9832e68..ccd29b4ca34 100644
--- a/source4/ntptr/ntptr_base.c
+++ b/source4/ntptr/ntptr_base.c
@@ -71,7 +71,7 @@ NTSTATUS ntptr_register(const void *_ops)
NTSTATUS ntptr_init(void)
{
- init_module_fn static_init[] = STATIC_NTPTR_MODULES;
+ init_module_fn static_init[] = STATIC_ntptr_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "ntptr");
run_init_functions(static_init);