From: Günther Deschner Date: Thu, 6 May 2010 15:17:37 +0000 (+0200) Subject: s3-passdb: moving account_pol.c into passdb. X-Git-Tag: samba-3.6.0pre1~2171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b83ab96b16cd322d90bf84d8b71b523a2fda4aed;p=thirdparty%2Fsamba.git s3-passdb: moving account_pol.c into passdb. Guenther --- 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; } -