r12608: Remove some unused #include lines.
[kamenim/samba.git] / source4 / auth / auth_developer.c
index 57bda22910940e5521e48b078ec009483f831a6a..14e005efc9e54ca0b96886b0f191fae9642371d1 100644 (file)
@@ -22,9 +22,6 @@
 
 #include "includes.h"
 #include "auth/auth.h"
-#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_security.h"
-#include "pstring.h"
 
 /** 
  * Return an error based on username
@@ -46,9 +43,10 @@ static NTSTATUS name_to_ntstatus_check_password(struct auth_method_context *ctx,
 {
        NTSTATUS nt_status;
        struct auth_serversupplied_info *server_info;
-       fstring user;
        uint32_t error_num;
-       fstrcpy(user, user_info->client.account_name);
+       const char *user;
+
+       user = user_info->client.account_name;
 
        if (strncasecmp("NT_STATUS", user, strlen("NT_STATUS")) == 0) {
                nt_status = nt_status_string_to_code(user);