r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd...
[kai/samba-autobuild/.git] / source / utils / ntlm_auth.c
index f7e3263fe0f7774fc2a425b441eff51c93d01936..2e879cc113250dd12249acf3486c133b849c04e8 100644 (file)
@@ -380,7 +380,7 @@ NTSTATUS contact_winbind_auth_crap(const char *username,
        }
 
        if (flags & WBFLAG_PAM_UNIX_NAME) {
-               *unix_name = SMB_STRDUP((char *)response.extra_data);
+               *unix_name = SMB_STRDUP((char *)response.extra_data.data);
                if (!*unix_name) {
                        free_response(&response);
                        return NT_STATUS_NO_MEMORY;