diff options
author | Tim Potter <tpot@samba.org> | 2000-08-04 06:13:05 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-08-04 06:13:05 +0000 |
commit | 553579bf6fd7c9dfecddddc1f6272b523bce69d9 (patch) | |
tree | a4917a53c068b5407a6f6428aa572b414acd5250 | |
parent | 06e4f11acd3aedd6c8e4adf365932a01eca902b8 (diff) | |
download | samba-553579bf6fd7c9dfecddddc1f6272b523bce69d9.tar.gz samba-553579bf6fd7c9dfecddddc1f6272b523bce69d9.tar.bz2 samba-553579bf6fd7c9dfecddddc1f6272b523bce69d9.zip |
In cli_error() return ENOENT when an ERROR_INVALID_NAME is received instead
of the generic EINVAL.
(This used to be commit a290107aee01a85ca1ef5565f23c8f00e18e98c2)
-rw-r--r-- | source3/libsmb/clierror.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index 314b343f25..66bf83cfc5 100644 --- a/source3/libsmb/clierror.c +++ b/source3/libsmb/clierror.c @@ -197,6 +197,7 @@ int cli_error(struct cli_state *cli, uint8 *eclass, uint32 *num, uint32 *nt_rpc_ case ERRrename: return EEXIST; case ERRbadshare: return EBUSY; case ERRlock: return EBUSY; + case ERROR_INVALID_NAME: return ENOENT; } } if (rcls == ERRSRV) { |