summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-21 10:54:53 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:14 +0200
commitb8a0b95e74bf4e57d5ee5e15a91c7b27f7edd3c6 (patch)
tree1cab1f166cfa9c17b00e0f01ff93b16befbe4d52 /source3
parent3f2c2c7c70c0cfbcc84c28526d9108e9ee8ed7d5 (diff)
downloadsamba-b8a0b95e74bf4e57d5ee5e15a91c7b27f7edd3c6.tar.gz
samba-b8a0b95e74bf4e57d5ee5e15a91c7b27f7edd3c6.tar.bz2
samba-b8a0b95e74bf4e57d5ee5e15a91c7b27f7edd3c6.zip
s3-winbind: Rename common_password_policy to sam_password_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 fd296e8489..12298e1829 100644
--- a/source3/winbindd/winbindd_samr.c
+++ b/source3/winbindd/winbindd_samr.c
@@ -817,9 +817,9 @@ error:
return status;
}
-static NTSTATUS common_password_policy(struct winbindd_domain *domain,
- TALLOC_CTX *mem_ctx,
- struct samr_DomInfo1 *passwd_policy)
+static NTSTATUS sam_password_policy(struct winbindd_domain *domain,
+ TALLOC_CTX *mem_ctx,
+ struct samr_DomInfo1 *passwd_policy)
{
struct rpc_pipe_client *samr_pipe;
struct policy_handle dom_pol;
@@ -827,7 +827,7 @@ static NTSTATUS common_password_policy(struct winbindd_domain *domain,
TALLOC_CTX *tmp_ctx;
NTSTATUS status;
- DEBUG(3,("samr: password policy\n"));
+ DEBUG(3,("sam_password_policy\n"));
tmp_ctx = talloc_stackframe();
if (tmp_ctx == NULL) {
@@ -1022,7 +1022,7 @@ struct winbindd_methods builtin_passdb_methods = {
.lookup_groupmem = sam_lookup_groupmem,
.sequence_number = sam_sequence_number,
.lockout_policy = sam_lockout_policy,
- .password_policy = common_password_policy,
+ .password_policy = sam_password_policy,
.trusted_domains = builtin_trusted_domains
};
@@ -1042,6 +1042,6 @@ struct winbindd_methods sam_passdb_methods = {
.lookup_groupmem = sam_lookup_groupmem,
.sequence_number = sam_sequence_number,
.lockout_policy = sam_lockout_policy,
- .password_policy = common_password_policy,
+ .password_policy = sam_password_policy,
.trusted_domains = sam_trusted_domains
};