s3-passdb: moving account_pol.c into passdb.
authorGünther Deschner <gd@samba.org>
Thu, 6 May 2010 15:17:37 +0000 (17:17 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 7 May 2010 23:45:27 +0000 (01:45 +0200)
Guenther

source3/Makefile.in
source3/include/proto.h
source3/passdb/account_pol.c [moved from source3/lib/account_pol.c with 99% similarity]

index 3184d03ccbb8d4349d936893b204db60bd143c5f..c6986edc2b1448e9c49857ca9e8fb374abb59918 100644 (file)
@@ -671,7 +671,7 @@ PASSDB_OBJ = $(PASSDB_GET_SET_OBJ) passdb/passdb.o passdb/pdb_interface.o \
                passdb/util_wellknown.o passdb/util_builtin.o passdb/pdb_compat.o \
                passdb/util_unixsids.o passdb/lookup_sid.o \
                passdb/login_cache.o @PDB_STATIC@ \
-               lib/account_pol.o $(PRIVILEGES_OBJ) \
+               passdb/account_pol.o $(PRIVILEGES_OBJ) \
                lib/util_nscd.o lib/winbind_util.o $(SERVER_MUTEX_OBJ)
 
 DEVEL_HELP_WEIRD_OBJ = modules/weird.o
index a3ba7472a809ee8c5f348020c3c177931fafe3c8..10c3d14fcb7bdc0d62d255cfcf088daf71224ae4 100644 (file)
@@ -313,7 +313,7 @@ bool allow_access(const char **deny_list,
                const char *caddr);
 bool check_access(int sock, const char **allow_list, const char **deny_list);
 
-/* The following definitions come from lib/account_pol.c  */
+/* The following definitions come from passdb/account_pol.c  */
 
 void account_policy_names_list(const char ***names, int *num_names);
 const char *decode_account_policy_name(enum pdb_policy_type type);
similarity index 99%
rename from source3/lib/account_pol.c
rename to source3/passdb/account_pol.c
index f4101e96bc59e920949331a865d834aba3c5d2ee..7a3e7de140994571dbe1f01509728b9729bc58f0 100644 (file)
@@ -451,4 +451,3 @@ struct db_context *get_account_pol_db( void )
 
        return db;
 }
-