summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-21 10:53:15 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:14 +0200
commit3f2c2c7c70c0cfbcc84c28526d9108e9ee8ed7d5 (patch)
treebf17cb9e07ca246d34b7d073d57e31bd559bf73b /source3
parent49dc713957593bc7b2b6a1704f2fcd0f8595a4fd (diff)
downloadsamba-3f2c2c7c70c0cfbcc84c28526d9108e9ee8ed7d5.tar.gz
samba-3f2c2c7c70c0cfbcc84c28526d9108e9ee8ed7d5.tar.bz2
samba-3f2c2c7c70c0cfbcc84c28526d9108e9ee8ed7d5.zip
s3-winbind: Rename common_lockout_policy to sam_lockout_policy.
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_samr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c
index 66228dc7e5..fd296e8489 100644
--- a/source3/winbindd/winbindd_samr.c
+++ b/source3/winbindd/winbindd_samr.c
@@ -779,9 +779,9 @@ done:
return status;
}
-static NTSTATUS common_lockout_policy(struct winbindd_domain *domain,
- TALLOC_CTX *mem_ctx,
- struct samr_DomInfo12 *lockout_policy)
+static NTSTATUS sam_lockout_policy(struct winbindd_domain *domain,
+ TALLOC_CTX *mem_ctx,
+ struct samr_DomInfo12 *lockout_policy)
{
struct rpc_pipe_client *samr_pipe;
struct policy_handle dom_pol;
@@ -789,7 +789,7 @@ static NTSTATUS common_lockout_policy(struct winbindd_domain *domain,
TALLOC_CTX *tmp_ctx;
NTSTATUS status;
- DEBUG(3,("samr: lockout policy\n"));
+ DEBUG(3,("sam_lockout_policy\n"));
tmp_ctx = talloc_stackframe();
if (tmp_ctx == NULL) {
@@ -1021,7 +1021,7 @@ struct winbindd_methods builtin_passdb_methods = {
.lookup_useraliases = sam_lookup_useraliases,
.lookup_groupmem = sam_lookup_groupmem,
.sequence_number = sam_sequence_number,
- .lockout_policy = common_lockout_policy,
+ .lockout_policy = sam_lockout_policy,
.password_policy = common_password_policy,
.trusted_domains = builtin_trusted_domains
};
@@ -1041,7 +1041,7 @@ struct winbindd_methods sam_passdb_methods = {
.lookup_useraliases = sam_lookup_useraliases,
.lookup_groupmem = sam_lookup_groupmem,
.sequence_number = sam_sequence_number,
- .lockout_policy = common_lockout_policy,
+ .lockout_policy = sam_lockout_policy,
.password_policy = common_password_policy,
.trusted_domains = sam_trusted_domains
};