diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-05-26 05:40:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:18 -0500 |
commit | 8b3f08cefcd41e6f8005de84a2cc865c1011194d (patch) | |
tree | 77cd0b79d7721efe12fcf1a481df52d02727ecd0 /source4/libcli | |
parent | 406f345d889d7e804c5d861223fa66abb213bb23 (diff) | |
download | samba-8b3f08cefcd41e6f8005de84a2cc865c1011194d.tar.gz samba-8b3f08cefcd41e6f8005de84a2cc865c1011194d.tar.bz2 samba-8b3f08cefcd41e6f8005de84a2cc865c1011194d.zip |
r898: - remove some unused macros
- remove unused lib/smbpasswd.c
- don't set the pkt size twice when doing SMB signing
(This used to be commit 69a2942f7987647a32d43c71f41ac1a82a82ccda)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/util/errormap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c index 46290baa7c..e2aeded65d 100644 --- a/source4/libcli/util/errormap.c +++ b/source4/libcli/util/errormap.c @@ -1486,6 +1486,13 @@ WERROR ntstatus_to_werror(NTSTATUS error) /* Mapping between Unix, DOS and NT error numbers */ +struct unix_error_map { + int unix_error; + int dos_class; + int dos_code; + NTSTATUS nt_error; +}; + const struct unix_error_map unix_dos_nt_errmap[] = { { EPERM, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED }, { EACCES, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED }, |