diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-09-09 22:27:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:19 -0500 |
commit | 716f7245d99d17b7b3e6bda05dc2edf7334463a5 (patch) | |
tree | bffe40d4b062e12f395aee13bd20e4049b1e4b96 /source3/utils | |
parent | eab60e2bb13e0197f3771ab6d60da48a72fb311d (diff) | |
download | samba-716f7245d99d17b7b3e6bda05dc2edf7334463a5.tar.gz samba-716f7245d99d17b7b3e6bda05dc2edf7334463a5.tar.bz2 samba-716f7245d99d17b7b3e6bda05dc2edf7334463a5.zip |
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)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/pdbedit.c | 12 |
1 files changed, 0 insertions, 12 deletions
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; } } |