From 716f7245d99d17b7b3e6bda05dc2edf7334463a5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 9 Sep 2006 22:27:06 +0000 Subject: r18313: Nobody said "no" (yet.... gd?), so commit it: Remove the account_policy_migrated() thingy, and make cache_account_policy_set use gencache. Account policies are now handled like groups and users are with respect to "passdb backend". Volker (This used to be commit fa8b2e2a585ab0c00a5fbde7aa790043261caf2e) --- source3/utils/pdbedit.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 0a6fb7e8be..0ebe022e18 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -176,11 +176,6 @@ static int reinit_account_policies (void) } } - if (!remove_account_policy_migrated()) { - fprintf(stderr, "Can't remove marker from tdb\n"); - return -1; - } - return 0; } @@ -193,11 +188,6 @@ static int export_account_policies (struct pdb_methods *in, struct pdb_methods * { int i; - if (!account_policy_migrated(True)) { - fprintf(stderr, "Unable to set account policy marker in tdb\n"); - return -1; - } - for ( i=1; decode_account_policy_name(i) != NULL; i++ ) { uint32 policy_value; NTSTATUS status; @@ -206,7 +196,6 @@ static int export_account_policies (struct pdb_methods *in, struct pdb_methods * if ( NT_STATUS_IS_ERR(status) ) { fprintf(stderr, "Unable to get account policy from %s\n", in->name); - remove_account_policy_migrated(); return -1; } @@ -214,7 +203,6 @@ static int export_account_policies (struct pdb_methods *in, struct pdb_methods * if ( NT_STATUS_IS_ERR(status) ) { fprintf(stderr, "Unable to migrate account policy to %s\n", out->name); - remove_account_policy_migrated(); return -1; } } -- cgit