summaryrefslogtreecommitdiff
path: root/libcli/util/errmap_unix.c
AgeCommit message (Collapse)AuthorFilesLines
2025-04-18libcli/util: map EPROTONOSUPPORT to NT_STATUS_PROTOCOL_NOT_SUPPORTEDStefan Metzmacher1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2025-01-02libsamba-errors: eliminate dependency on samba-debugMichael Tokarev1-3/+0
libsamba-errors is a collection of error codes/descriptions like strerror(), - it is a set of simple functions converting error code to string or the like. However, in one single place there's a DBG_DEBUG() "call" in errmap_unix.c, in map_errno_from_nt_status(), which is here for a very long time (since before samba3, initially with debug level 10). Drop this debugging info, and eliminate extra dependency. This makes libsamba-errors independent and self-contained, with a well-known and stable ABI. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
2023-03-09lib: Fix whitespaceVolker Lendecke1-4/+4
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2021-07-08libcli: Move map_errno_from_nt_status from s3 lib to common libcliSamuel Cabrero1-0/+140
Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2020-11-30libcli: Align a few integer typesVolker Lendecke1-1/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-1/+1
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-20libcli/util Bring samba4 unix -> nt_status code in common.Andrew Bartlett1-0/+157
Due to library link orders, this is already the function that is being used. However we still need to sort out the duplicate symbol issues, probably by renaming things. Andrew Bartlett