Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.
This repository was archived by the owner on May 30, 2025. It is now read-only.

Unknown error NT_STATUS_OBJECT_NAME_INVALID #114

@q-wertz

Description

@q-wertz

Using smbclient v 4.13.17 and Win 10 as SMB server the server seems to reply with error NT_STATUS_OBJECT_NAME_INVALID which is not handled by the php wrapper.

The error is raised when requesting the allinfo. Here an example when connecting directly from the command line using the smbclient:

testuser@asterix:~$ smbclient -W WORKGROUP -U gpssim //123.456.789.12/test
Enter WORKGROUP\gpssim's password: 
Try "help" to get a list of possible commands.
smb: \> ls
  .                                   D        0  Mon Apr  4 15:29:33 2022
  ..                                  D        0  Mon Apr  4 15:29:33 2022

		131067391 blocks of size 4096. 130673114 blocks available
smb: \> allinfo /
NT_STATUS_OBJECT_NAME_NOT_FOUND getting alt name for \
smb: \> allinfo \
NT_STATUS_OBJECT_NAME_NOT_FOUND getting alt name for \

This behavior prevents me from connecting to a Win10 SMB share nextcloud/server#30751 (comment) (If I did not miss anything else 😅 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions