diff options
author | Tim Potter <tpot@samba.org> | 2001-01-02 23:41:15 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-01-02 23:41:15 +0000 |
commit | e86cbff0a9f463eef7c3b92081908be4f83f595b (patch) | |
tree | c0aa06cc4d0e5a7243160fb2742a32e6452a3c34 /source3/libsmb | |
parent | 842589582bd8a1f631665d1410096f4571371643 (diff) | |
download | samba-e86cbff0a9f463eef7c3b92081908be4f83f595b.tar.gz samba-e86cbff0a9f463eef7c3b92081908be4f83f595b.tar.bz2 samba-e86cbff0a9f463eef7c3b92081908be4f83f595b.zip |
Return EACCES for bad password.
(This used to be commit 143006d32f0a0d339b870741b811ec49795b7099)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clierror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index 4c6d9a49f2..eb2ca624e8 100644 --- a/source3/libsmb/clierror.c +++ b/source3/libsmb/clierror.c @@ -202,7 +202,7 @@ int cli_error(struct cli_state *cli, uint8 *eclass, uint32 *num, uint32 *nt_rpc_ } if (rcls == ERRSRV) { switch (code) { - case ERRbadpw: return EPERM; + case ERRbadpw: return EACCES; case ERRaccess: return EACCES; case ERRnoresource: return ENOMEM; case ERRinvdevice: return ENODEV; |