r4096: move the samdb code to source/dsdb/
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Dec 2004 08:21:35 +0000 (08:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:26 +0000 (13:06 -0500)
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)

source4/build/smb_build/main.pm
source4/dsdb/common/flag_mapping.c [moved from source4/rpc_server/samr/samr_utils.c with 100% similarity]
source4/dsdb/samdb/samdb.c [moved from source4/rpc_server/samr/samdb.c with 100% similarity]
source4/rpc_server/config.mk

index 12f132239b05d7c5794b1a7320ed31cc7f0b36cf..0f98b9fc9031c35030a537cb81195a417c415a5a 100644 (file)
@@ -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",
index 466d86a0c46077a02ba6611d6035feca6f6994d8..21c63282fe94a709ffa415cbffbebaceb3648fba 100644 (file)
@@ -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]