diff options
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/auth_sam.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c index 6b290360ec..56187a6d54 100644 --- a/source4/auth/auth_sam.c +++ b/source4/auth/auth_sam.c @@ -382,8 +382,7 @@ static NTSTATUS authsam_want_check(struct auth_method_context *ctx, } return NT_STATUS_OK; - case ROLE_DOMAIN_PDC: - case ROLE_DOMAIN_BDC: + case ROLE_DOMAIN_CONTROLLER: if (!is_local_name && !is_my_domain) { DEBUG(6,("authsam_check_password: %s is not one of my local names or domain name (DC)\n", user_info->mapped.domain_name)); @@ -413,8 +412,7 @@ static NTSTATUS authsam_check_password(struct auth_method_context *ctx, domain = lp_netbios_name(); break; - case ROLE_DOMAIN_PDC: - case ROLE_DOMAIN_BDC: + case ROLE_DOMAIN_CONTROLLER: domain = lp_workgroup(); break; |