r8701: Fix up auth_developer for recent changes.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 22 Jul 2005 04:18:16 +0000 (04:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:55 +0000 (13:29 -0500)
Andrew Bartlett

source/auth/auth_developer.c

index fe0eb12cdedd1008a88ddede483afd41b18765e0..57bda22910940e5521e48b078ec009483f831a6a 100644 (file)
@@ -48,7 +48,7 @@ static NTSTATUS name_to_ntstatus_check_password(struct auth_method_context *ctx,
        struct auth_serversupplied_info *server_info;
        fstring user;
        uint32_t error_num;
-       fstrcpy(user, user_info->account_name);
+       fstrcpy(user, user_info->client.account_name);
 
        if (strncasecmp("NT_STATUS", user, strlen("NT_STATUS")) == 0) {
                nt_status = nt_status_string_to_code(user);