summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-08 08:21:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:26 -0500
commit8d0c3eefbc49bffdf73d90a1d1f89db4f7977dab (patch)
treeaeb94029726e83c094c631ff74504b034c2c98cc
parent071439c1e1c5a7e6deb7866ff9716977e527e826 (diff)
downloadsamba-8d0c3eefbc49bffdf73d90a1d1f89db4f7977dab.tar.gz
samba-8d0c3eefbc49bffdf73d90a1d1f89db4f7977dab.tar.bz2
samba-8d0c3eefbc49bffdf73d90a1d1f89db4f7977dab.zip
r4096: move the samdb code to source/dsdb/
the idea is to have a directory service db layer which will be used by the ldap server, samr server, drsuapi server authentification... I plan to make different implementations of this interface possible - current default will be the current samdb code with sam.ldb - a compat implementation for samba3 (if someone wants to write one) - a new dsdb implementation which: - understands naming contexts (directory parrtitions) - do schema and acl checking checking - maintain objectGUID, timestamps and USN number, maybe linked attributes ('member' and 'memberOf' attributes) - store metadata on a attribute=value combination... metze (This used to be commit 893a8b8bca2f020fbbe6f469aaa8dd4478249eb8)
-rw-r--r--source4/build/smb_build/main.pm3
-rw-r--r--source4/dsdb/common/flag_mapping.c (renamed from source4/rpc_server/samr/samr_utils.c)0
-rw-r--r--source4/dsdb/samdb/samdb.c (renamed from source4/rpc_server/samr/samdb.c)0
-rw-r--r--source4/rpc_server/config.mk16
4 files changed, 2 insertions, 17 deletions
diff --git a/source4/build/smb_build/main.pm b/source4/build/smb_build/main.pm
index 12f132239b..0f98b9fc90 100644
--- a/source4/build/smb_build/main.pm
+++ b/source4/build/smb_build/main.pm
@@ -22,7 +22,8 @@ sub smb_build_main($)
);
my @mkfiles = (
- "gtk/config.mk",
+ "dsdb/config.mk",
+ "gtk/config.mk",
"smbd/config.mk",
"smbd/process_model.mk",
"libnet/config.mk",
diff --git a/source4/rpc_server/samr/samr_utils.c b/source4/dsdb/common/flag_mapping.c
index 30c5b0cf13..30c5b0cf13 100644
--- a/source4/rpc_server/samr/samr_utils.c
+++ b/source4/dsdb/common/flag_mapping.c
diff --git a/source4/rpc_server/samr/samdb.c b/source4/dsdb/samdb/samdb.c
index 7501d94ae6..7501d94ae6 100644
--- a/source4/rpc_server/samr/samdb.c
+++ b/source4/dsdb/samdb/samdb.c
diff --git a/source4/rpc_server/config.mk b/source4/rpc_server/config.mk
index 466d86a0c4..21c63282fe 100644
--- a/source4/rpc_server/config.mk
+++ b/source4/rpc_server/config.mk
@@ -30,22 +30,6 @@ REQUIRED_SUBSYSTEMS = \
# End MODULE dcerpc_dcom
################################################
-
-
-################################################
-# Start SUBSYSTEM SAMDB
-[SUBSYSTEM::SAMDB]
-INIT_OBJ_FILES = \
- rpc_server/samr/samdb.o
-ADD_OBJ_FILES = \
- rpc_server/samr/samr_utils.o
-REQUIRED_SUBSYSTEMS = \
- DCERPC_COMMON \
- LIBLDB
-#
-# End SUBSYSTEM SAMDB
-################################################
-
################################################
# Start SUBSYSTEM SCHANNELDB
[SUBSYSTEM::SCHANNELDB]