diff options
-rw-r--r-- | source3/client/client.c | 3 | ||||
-rw-r--r-- | source3/libsmb/errormap.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index ed95fdf160..b355917013 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -399,8 +399,11 @@ NTSTATUS smbclient_cli_open(struct cli_state *cli, const char *fname, int flags, if (NT_STATUS_EQUAL(status,NT_STATUS_NOT_IMPLEMENTED) || NT_STATUS_EQUAL(status,NT_STATUS_INVALID_INFO_CLASS) || NT_STATUS_EQUAL(status,NT_STATUS_PROCEDURE_NOT_FOUND) || + NT_STATUS_EQUAL(status,NT_STATUS_INVALID_LEVEL) || NT_STATUS_EQUAL(status,NT_STATUS_INVALID_PARAMETER) || NT_STATUS_EQUAL(status,NT_STATUS_INVALID_DEVICE_REQUEST) || + NT_STATUS_EQUAL(status,NT_STATUS_INVALID_DEVICE_STATE) || + NT_STATUS_EQUAL(status,NT_STATUS_CTL_FILE_NOT_SUPPORTED) || NT_STATUS_EQUAL(status,NT_STATUS_UNSUCCESSFUL)) { goto try_openx; } diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c index 975de4f3c6..b80065dde0 100644 --- a/source3/libsmb/errormap.c +++ b/source3/libsmb/errormap.c @@ -166,6 +166,7 @@ static const struct { {ERRSRV, ERRnoroom, NT_STATUS_DISK_FULL}, {ERRSRV, ERRnoresource, NT_STATUS_REQUEST_NOT_ACCEPTED}, {ERRSRV, ERRtoomanyuids, NT_STATUS_TOO_MANY_SESSIONS}, + {ERRSRV, ERRunknownsmb, NT_STATUS_NOT_IMPLEMENTED}, {ERRSRV, 123, NT_STATUS_OBJECT_NAME_INVALID}, {ERRSRV, 206, NT_STATUS_OBJECT_NAME_INVALID}, {ERRHRD, 1, NT_STATUS_NOT_IMPLEMENTED}, |