summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-06 17:17:37 +0200
committerGünther Deschner <gd@samba.org>2010-05-08 01:45:27 +0200
commitb83ab96b16cd322d90bf84d8b71b523a2fda4aed (patch)
tree014313770634185b21ecaf35343bba1407c303bd
parent961993bc9126a85338303034718341576e783761 (diff)
downloadsamba-b83ab96b16cd322d90bf84d8b71b523a2fda4aed.tar.gz
samba-b83ab96b16cd322d90bf84d8b71b523a2fda4aed.tar.bz2
samba-b83ab96b16cd322d90bf84d8b71b523a2fda4aed.zip
s3-passdb: moving account_pol.c into passdb.
Guenther
-rw-r--r--source3/Makefile.in2
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/passdb/account_pol.c (renamed from source3/lib/account_pol.c)1
3 files changed, 2 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 3184d03ccb..c6986edc2b 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 a3ba7472a8..10c3d14fcb 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
index f4101e96bc..7a3e7de140 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;
}
-