summaryrefslogtreecommitdiff
path: root/source3/auth/server_info_sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/server_info_sam.c')
-rw-r--r--source3/auth/server_info_sam.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/auth/server_info_sam.c b/source3/auth/server_info_sam.c
index 261e3de8f2..5d657f90c8 100644
--- a/source3/auth/server_info_sam.c
+++ b/source3/auth/server_info_sam.c
@@ -92,13 +92,6 @@ NTSTATUS make_server_info_sam(struct auth_serversupplied_info **server_info,
TALLOC_FREE(pwd);
- result->sanitized_username = sanitize_username(result,
- result->unix_name);
- if (result->sanitized_username == NULL) {
- TALLOC_FREE(result);
- return NT_STATUS_NO_MEMORY;
- }
-
if (IS_DC && is_our_machine_account(username)) {
/*
* This is a hack of monstrous proportions.