From b83ab96b16cd322d90bf84d8b71b523a2fda4aed Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Thu, 6 May 2010 17:17:37 +0200 Subject: [PATCH] s3-passdb: moving account_pol.c into passdb. Guenther --- source3/Makefile.in | 2 +- source3/include/proto.h | 2 +- source3/{lib => passdb}/account_pol.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) rename source3/{lib => passdb}/account_pol.c (99%) diff --git a/source3/Makefile.in b/source3/Makefile.in index 3184d03ccbb..c6986edc2b1 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -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 diff --git a/source3/include/proto.h b/source3/include/proto.h index a3ba7472a80..10c3d14fcb7 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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); diff --git a/source3/lib/account_pol.c b/source3/passdb/account_pol.c similarity index 99% rename from source3/lib/account_pol.c rename to source3/passdb/account_pol.c index f4101e96bc5..7a3e7de1409 100644 --- a/source3/lib/account_pol.c +++ b/source3/passdb/account_pol.c @@ -451,4 +451,3 @@ struct db_context *get_account_pol_db( void ) return db; } - -- 2.47.2